body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #FFFDE7; /* Genel arka plan, index.html hero section kendi gradient'ini kullanır */
    overflow-x: hidden;
    display: flex; /* Footer'ı aşağıya itmek için */
    flex-direction: column; /* Footer'ı aşağıya itmek için */
    min-height: 100vh; /* Footer'ı aşağıya itmek için */
}

/* === ANA SAYFA HERO SECTION === */
.hero-section {
    min-height: 100vh; /* Bu sayfanın tam ekran olması için */
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #FFFACD 20%, #FFF59D 60%, #FFEB3B 100%);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.logo-container {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
}
.logo-container a img.logo,
img.logo { /* Hem index hem de alt sayfalardaki logo için */
    max-width: 200px;
    display: block; /* a etiketi içindeyse gereksiz boşlukları engeller */
}


.main-content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative; /* hero-section içindeki diğer öğelere göre konumlanır */
}

.hero-text-content {
    margin-bottom: 20px;
}

.hero-text-content h1 {
    font-size: 2.7rem;
    color: #006400;
    margin-top: 0;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.hero-text-content p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 0;
}

.product-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.product-image {
    display: block;
    height: auto;
}

.center-bottle {
    max-width: 380px;
    width: 40%;
    z-index: 5;
    filter: drop-shadow(0px 15px 25px rgba(0,0,0,0.3));
}

.side-bottle {
    max-width: 300px;
    width: 30%;
    opacity: 0.85;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.25));
    animation: subtle-bob 5s ease-in-out infinite;
}

#bottle-right {
    animation-delay: 0.5s;
}

.cta-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0px 5px 18px rgba(0,0,0,0.2);
    display: inline-block; /* Metin dışına taşmaları engellemek için */
}

.cta-button:hover {
    background-color: #388E3C;
    transform: translateY(-3px);
}

@keyframes subtle-bob {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.floating-element {
    position: absolute;
    opacity: 0.65;
    pointer-events: none;
    z-index: 1;
}

.lemon { width: 70px; }
.mint { width: 50px; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes floatReverse {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-8deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

#lemon1 { top: 28%; left: 15%; transform: rotate(-20deg); animation: float 7.5s ease-in-out infinite; }
#lemon2 { top: 72%; left: 82%; transform: rotate(25deg); animation: floatReverse 8.5s ease-in-out infinite 0.5s; }
#mint1 { top: 25%; left: 80%; transform: rotate(15deg); animation: float 7s ease-in-out infinite 0.3s; }
#mint2 { top: 75%; left: 18%; transform: rotate(-30deg); animation: floatReverse 8s ease-in-out infinite 0.7s; }


/* === GENEL SAYFA STİLLERİ (ANASAYFA DIŞI İÇİN HEADER VE CONTENT) === */
.page-header { /* Anasayfa dışındaki sayfaların header'ı */
    background: #fdf5e6; /* Açık bej tonu */
    padding: 15px 0; /* Üstten ve alttan padding, sağdan soldan nav içinden ayarlanacak */
    position: relative; /* Logo container için */
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    display: flex; /* Logo ve nav'ı yan yana getirmek için */
    align-items: center; /* Dikeyde ortalamak için */
    justify-content: space-between; /* Logo sola, nav sağa yaslamak için (veya ortalamak) */
    padding-left: 40px; /* Soldan logo için boşluk */
    padding-right: 40px; /* Sağdan nav için boşluk */
}

.page-header .logo-container { /* .page-header içindeki logo için */
    position: static; /* hero-section'daki gibi absolute değil */
    /* margin-right: auto; Eğer nav'ı sağa yaslamak istiyorsak */
}

.page-content { /* Anasayfa dışındaki sayfaların ana içeriği */
    flex-grow: 1; /* Footer'ı aşağı itmek için */
    padding: 40px 20px;
    background-color: #ffffff; /* İçerik alanı için beyaz arka plan */
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
}

.container h1 {
    color: #006400;
    margin-bottom: 20px;
    text-align: center;
}
.container p, .container ul, .container .iletisim-bilgileri p {
    line-height: 1.7;
    margin-bottom: 15px;
}
.container ul {
    list-style-position: inside;
    padding-left: 0;
}
.container li {
    margin-bottom: 8px;
}
.container .iletisim-bilgileri a {
    color: #006400;
    text-decoration: none;
}
.container .iletisim-bilgileri a:hover {
    text-decoration: underline;
}

/* === NAVİGASYON MENÜSÜ (TÜM SAYFALAR İÇİN ORTAK) === */
/* .page-header içindeki .main-nav için özel ayar gerekirse: */
.page-header .main-nav {
    width: auto; /* Otomatik genişlik, justify-content ile ayarlanacak */
    text-align: right; /* Ya da center, isteğe bağlı */
}

.main-nav {
    width: 100%; /* hero-section'da tam genişlik kaplar */
    text-align: center; /* hero-section'da ortalar */
    padding: 10px 0; /* hero-section için */
    z-index: 5; /* Üstte kalması için */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; /* Ortalamak için */
}

.main-nav ul li {
    display: inline-block;
    margin: 0 15px;
    position: relative; /* Alt menü için kritik */
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 5px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex; /* Ok ile hizalamak için */
    align-items: center; /* Ok ile hizalamak için */
}

/* JavaScript ile kontrol edilecek dropdown toggle linki */
.main-nav ul li a.dropdown-toggle-link {
    cursor: pointer;
}

.main-nav ul li a:hover,
.main-nav ul li a.active, /* Aktif ana sayfa linki */
.main-nav ul li a.active-sub, /* Aktif alt menü linki */
.main-nav ul li .dropdown-toggle-link.active { /* Aktif dropdown ana linki */
    color: #4CAF50;
}

.main-nav ul li a::after { /* Alt çizgi efekti */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #4CAF50;
    transition: width 0.3s ease, left 0.3s ease;
}
.main-nav ul li a:hover::after,
.main-nav ul li a.active::after,
.main-nav ul li a.active-sub::after,
.main-nav ul li .dropdown-toggle-link.active::after {
    width: 100%;
    left: 0;
}

.main-nav .arrow {
    font-size: 0.7em;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle; /* Zaten inline-flex ile hizalı ama kalsın */
    transition: transform 0.3s ease;
}
.main-nav .dropdown-toggle-link.open .arrow { /* JS 'open' sınıfını eklediğinde */
    transform: rotate(180deg);
}


/* ALT MENÜ TEMEL STİLLERİ (JS İLE KONTROL EDİLECEK) */
.dropdown-menu {
    display: none; /* BAŞLANGIÇTA KESİNLİKLE GİZLİ */
    position: absolute;
    top: calc(100% + 8px); /* Ana linkin altından başla + biraz boşluk */
    left: 50%;
    transform: translateX(-50%); /* Ortala */
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0; /* İç boşluklar */
    min-width: 180px; /* Minimum genişlik */
    z-index: 1000; /* Diğer öğelerin üzerinde kalsın */
    border-radius: 5px;
    border: 1px solid #eee;
}

.dropdown-menu li {
    display: block; /* Alt alta sıralansın */
    margin: 0;
    text-align: left; /* Metin sola yaslı */
}

.dropdown-menu li a {
    padding: 10px 20px; /* İç boşluklar */
    display: block; /* Tüm alanı kaplasın */
    white-space: nowrap; /* Metin tek satırda kalsın */
    color: #333;
    font-weight: normal; /* Ana linkten farklı olarak normal kalınlık */
}
.dropdown-menu li a::after { /* Alt menü linklerinde alt çizgi olmasın */
    display: none;
}
.dropdown-menu li a:hover,
.dropdown-menu li a.active-sub { /* Aktif alt menü veya üzerine gelinen */
    background-color: #f5f5f5;
    color: #4CAF50;
}
.dropdown-menu li a.active-sub {
    font-weight: bold; /* Aktif alt menü linki kalın */
}


/* === FOOTER === */
.site-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    margin-top: auto; /* İçerik azsa bile sayfanın en altına iter */
    width: 100%;
    box-sizing: border-box;
}

/* === İLETİŞİM FORMU === */
.contact-form div { margin-bottom: 15px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: bold; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.contact-form button { background-color: #4CAF50; color: white; padding: 12px 25px; border: none; border-radius: 4px; cursor: pointer; font-size: 1em; }
.contact-form button:hover { background-color: #388E3C; }


/* === MOBİL AYARLAMALARI === */
@media (max-width: 768px) {
    .hero-section .logo-container { top: 15px; left: 15px; }
    .page-header {
        flex-direction: column; /* Logo ve nav alt alta */
        align-items: center;
        padding: 15px;
    }
    .page-header .logo-container {
        margin-bottom: 10px; /* Logo ile nav arası boşluk */
    }
    .page-header .main-nav {
        text-align: center; /* Nav'ı ortala */
    }

    .logo { max-width: 120px !important; } /* Önemli, diğer stilleri ezmesi için */

    .hero-section { padding: 20px 15px; }
    #homepage-content .hero-text-content h1 { font-size: 1.8rem; }
    #homepage-content .hero-text-content p { font-size: 0.95rem; }
    #homepage-content .side-bottle { display: none; }
    #homepage-content .center-bottle { max-width: none; width: 75%; min-width: 220px; }

    .main-nav ul { display: block; } /* Mobil için inline-block'tan block'a */
    .main-nav ul li {
        display: block; /* Menü öğeleri alt alta */
        margin: 8px 0;
        text-align: center;
    }
    .main-nav ul li a {
        padding: 10px 15px;
        justify-content: center; /* Ok'u ortalamak için */
    }

    .dropdown-menu {
        position: static; /* Mobilde normal akışta, absolute değil */
        transform: none; /* Ortalamaya gerek yok */
        width: 90%; /* Ekranın %90'ını kaplasın */
        margin: 5px auto 10px auto; /* Üstte ve altta boşluk, ortala */
        box-shadow: none; /* Gölgeyi kaldır */
        /* background-color: rgba(255,255,255,0.1); */ /* Arka planı biraz şeffaf yapabiliriz ama #fff kalsın */
        border: 1px solid #ddd;
        display: none; /* MOBİLDE DE BAŞLANGIÇTA GİZLİ - JS İLE KONTROL EDİLECEK */
    }

    .dropdown-menu li a {
        padding: 10px 15px; /* İç boşluklar */
        text-align: center;
    }

    .page-content { padding: 25px 15px; }
    .container h1 { font-size: 1.6rem; }

    .cta-button { padding: 14px 30px; font-size: 1.1rem; width: 70%; max-width: 300px; }

    .floating-element { display: none; } /* Mobilde gizleyebiliriz performans için */
}

@media (max-width: 480px) {
    #homepage-content .hero-text-content h1 { font-size: 1.6rem; }
    #homepage-content .hero-text-content p { font-size: 0.85rem; }
    #homepage-content .center-bottle { width: 85%; min-width: 200px; }

    .logo { max-width: 100px !important; }
    .cta-button { width: 75%; padding: 12px 25px; font-size: 1rem; }

    .container h1 { font-size: 1.4rem; }

    .main-nav ul li { margin: 5px 0; }
    .main-nav ul li a { padding: 8px 12px; }
    .dropdown-menu li a { padding: 8px 12px; }
}