/* 1. TEMEL AYARLAR VE SIFIRLAMA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 2. NAVBAR (ÜST MENÜ) TASARIMI */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px; /* Logonun büyüklüğünü buradan ayarlayabilirsin */
    width: auto;
}

/* Ana Linkler */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 20px;
    position: relative; /* Dropdown için gerekli */
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2d5ea7; /* Ecoplas mavisi tonu */
}

/* 3. AÇILIR MENÜ (DROPDOWN) MANTIĞI */
.dropdown-menu {
    display: none; /* Varsayılan olarak gizli */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    border-radius: 4px;
    border-top: 3px solid #2d5ea7;
}

.dropdown:hover .dropdown-menu {
    display: block; /* Fareyle üzerine gelince göster */
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 5px 0;
}

/* 4. SAĞ TARAF (DİL VE BUTON) */
.nav-right {
    display: flex;
    align-items: center;
}

.lang-selector {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    margin-right: 20px;
}

.lang-menu {
    min-width: 130px;
    right: 0; /* Sağ tarafa yasla */
    left: auto;
}

.btn-contact {
    background-color: #4a90e2; /* Görseldeki mavi tonu */
    color: white !important;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-contact:hover {
    background-color: #357abd;
}

/* 5. HERO SECTION (ANA GÖRSEL ALANI) */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: #9acd32; /* Görseldeki yeşil (Resim yüklenene kadar görünür) */
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* --- ABOUT PAGE ÖZEL AYARLARI --- */

/* Genel kapsayıcı (container) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sayfa başlığı alanı */
.page-header {
    background-color: #f8f9fa; /* Hafif gri arka plan */
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2d5ea7; /* Ecoplas mavisi */
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Metin ve Görsel Izgarası */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: flex;
    align-items: center; /* Dikeyde ortala */
    gap: 50px; /* Metin ve resim arasındaki boşluk */
}

/* Sütunlar mobil cihazlarda alt alta gelsin */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
}

.about-text {
    flex: 1; /* %50 genişlik */
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #555;
    text-align: justify; /* Metni iki yana yasla */
}

.about-image {
    flex: 1; /* %50 genişlik */
}

.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Köşeleri hafif yuvarla */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Hafif gölge */
}

/* --- MISYON-VİZYON-DEĞERLER (Values Section) ÖZEL AYARLARI --- */

.values-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('../images/values-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-top: 50px; /* Hakkımızda metninden biraz boşluk */
}

/* Genel ızgara düzeni (Üst satır için) */
.values-grid {
    display: flex;
    gap: 50px;
    margin-bottom: 50px; /* Alt satırla boşluk */
}

/* Üç sütunlu alt satır düzeni */
.values-grid.grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .values-grid, .values-grid.grid-three {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .value-item h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .values-grid.grid-three ul {
        text-align: left; /* Listeler sola hizalı kalsın */
    }
}

/* Başlıklar ve İçerik */
.value-item h3 {
    font-size: 2.2rem;
    color: #4a90e2; /* Koyu tema başlık mavisi */
    margin-bottom: 25px;
    position: relative;
    font-weight: 700;
}

/* Başlık altındaki küçük çizgi */
.value-item h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #4a90e2;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.value-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #eee;
    font-weight: 600;
}

.value-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #ccc;
}

.value-item strong {
    color: white; /* Kalın metinler daha beyaz */
}

.value-item ul {
    list-style-type: none; /* Standart yuvarlakları kaldır */
    padding-left: 0;
}

.value-item ul li {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px; /* Çizgi için boşluk */
    line-height: 1.5;
}

/* Liste maddelerinin başındaki küçük çizgi */
.value-item ul li::before {
    content: '—'; /* Uzun çizgi */
    position: absolute;
    left: 0;
    color: #4a90e2;
}

/* JavaScript ile aktif edilen menü (Mobil için) */
.dropdown.active .dropdown-menu {
    display: block;
}

/* Sayfa aşağı kaydığında Navbar'ın görünümü */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 10px 5% !important; /* Biraz daralır ve şıklaşır */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border-bottom: 2px solid #2d5ea7;
}

/* --- POLICY PAGE --- */
.policy-main-img {
    max-width: 100%;
    height: auto;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.policy-text-section {
    padding: 40px 0 80px 0;
}

.policy-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.policy-item {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #4a90e2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.policy-item p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.revision-date {
    margin-top: 40px;
    text-align: right;
    font-style: italic;
    color: #888;
}

.text-center { text-align: center; }
/* --- SERVICE PAGE --- */
.service-detail {
    padding: 80px 0;
}

.service-features {
    list-style: none;
    margin-top: 25px;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #555;
}

.service-features li strong {
    color: #2d5ea7;
}

/* Kapasite Kartları */
.capacity-section {
    background-color: #f4f7fa;
    padding: 60px 0;
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.capacity-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.capacity-card:hover {
    transform: translateY(-10px);
}

.capacity-card h3 {
    color: #2d5ea7;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .capacity-grid {
        grid-template-columns: 1fr;
    }
}
/* DİL SEÇENEĞİ KESİN ÇÖZÜM */

/* Parent konteynerin konumu */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

/* Üzerine gelince (Hover) Listeyi Göster */
.lang-dropdown:hover .lang-menu {
    display: block !important; /* Görünür yap */
    opacity: 1;
    visibility: visible;
}

/* Dil Listesinin Tasarımı ve Konumu */
.lang-menu {
    display: none; /* Başlangıçta gizle */
    position: absolute;
    top: 100%; /* Butonun hemen altından başla */
    right: 0;   /* Sağ tarafa yasla */
    left: auto;
    background-color: #ffffff;
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-top: 3px solid #4a90e2; /* Ecoplas mavisi çizgi */
    list-style: none;
    padding: 10px 0;
    z-index: 9999; /* Sayfadaki her şeyin üstünde görünsün */
    border-radius: 0 0 4px 4px;
}

/* Liste elemanları */
.lang-menu li a {
    padding: 8px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.lang-menu li a:hover {
    background-color: #f1f1f1;
    color: #4a90e2;
}
/* --- CONTACT PAGE --- */
.contact-section {
    padding: 80px 0;
}

.contact-info-card {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid #2d5ea7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-info-card h3 {
    color: #2d5ea7;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-info-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}
/* --- SUSTAINABILITY PAGE --- */
.sustain-intro { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2d5ea7;
    font-size: 2.2rem;
}

.pillar-number {
    background: #4a90e2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.code-conduct-box {
    background: #fdfdfd;
    padding: 50px;
    border: 1px solid #eee;
    border-radius: 15px;
}

.code-conduct-box h2 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #9acd32; /* Yeşil vurgu */
    display: inline-block;
    padding-bottom: 10px;
}