/* Variables */
:root {
    /* Pure Luxury White Theme (Default) */
    --bg-light: #ffffff;
    --text-main: #3b3631;
    --text-muted: #857e75;
    --accent: #a39171;
    --btn-bg: #8c7b61;
    --btn-text: #fff;
    --font-heading: 'Playfair Display', serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;

    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.boho {
    /* Boho Botanical Theme (BeauVamp Vibe) */
    --bg-light: #f6efe8;
    --text-main: #2b3324;
    --text-muted: #5e6b52;
    --accent: #80302b;
    --btn-bg: #80302b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.8s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Night Mode - Komple Antrasit */
body.night-mode {
    background-color: #2b2e33;
    /* Antrasit */
    color: #e8e3dc;
}

body.night-mode .text-main,
body.night-mode h1,
body.night-mode h2,
body.night-mode h3,
body.night-mode h4 {
    color: #f7f1e6;
}

/* Navbar & Utilities */
.navbar {
    position: relative;
    width: 100%;
    height: 110px;
    /* BeauVamp oranına ulaşmak için bant genişletildi -> Şimdi daraltıldı */
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.98) !important;
    color: var(--text-main) !important;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: var(--transition);
}

.nav-left {
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Hamburger Butonu */
.hamburger-btn {
    position: relative; /* z-index için gerekli */
    z-index: 1005; /* Logonun (1000) üzerinde olması garanti edildi */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.hamburger-btn:hover {
    color: #000;
}

/* Menü Çekmecesi */
.side-drawer {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: #6a6861;
    /* Gönderdiğiniz koyu taupe/haki-gri fon */
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 3.5rem 2.5rem;
    /* Resimdeki gibi biraz daha ferah boşluk */
}

.side-drawer.open {
    left: 0;
}



.drawer-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #ffffff;
    /* Beyaz çarpı */
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    /* Gönderilen resimdeki esnek satır boşluğu */
}

.drawer-link {
    text-decoration: none;
    color: #e6dac3;
    /* BeauVamp lüks bej rengi */
    font-size: 0.8rem;
    /* Küçültülmüş ultra-minimal punto */
    font-family: 'Lato', sans-serif;
    /* Çentiksiz modern font */
    font-weight: 600;
    /* Okunabilirlik için net karakter */
    text-transform: uppercase;
    letter-spacing: 3px;
    /* Görseldeki ekstra ayrık harfler */
    transition: color 0.3s ease, padding-left 0.3s ease, opacity 0.3s ease;
}

.drawer-link:hover {
    opacity: 0.6;
    padding-left: 10px;
}

/* Gölgelendirme (Overlay) - Karartma Etkisi */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    /* Buzlanma iptal, net siyah koyulaştırma */
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

body.night-mode .menu-overlay {
    background: rgba(0, 0, 0, 0.7);
    /* Gece moduna özel yoğun kararma */
}

.nav-utilities {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    z-index: 1010;
    position: relative;
}

.lang-switch {
    cursor: pointer;
    letter-spacing: 1px;
    white-space: nowrap; /* Metnin alt alta binmesini engeller */
}

.night-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: fixed;
    right: 2rem;
    top: 1.2rem;
    z-index: 9999;
}

.micro-switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
    margin: 0;
}

.micro-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.micro-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #6b625a;
    transition: .4s;
}

.micro-switch .slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

.micro-switch input:checked+.slider {
    background-color: var(--accent);
}

.micro-switch input:checked+.slider:before {
    transform: translateX(16px);
}

.micro-switch .slider.round {
    border-radius: 34px;
}

.micro-switch .slider.round:before {
    border-radius: 50%;
}

.moon-icon {
    font-size: 0.9rem;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Tam ortaya hizalandı */
    height: 110px;
}

.logo img {
    max-height: 100px;
    /* Bandın yeni geniş yüksekliğine uyum */
    margin: 0;
    transform: scale(2.6) translateY(10px);
    /* Üst tarafta asılı kalmasın diye tam olarak ortalandı */
    max-width: 500px;
    width: auto;
    object-fit: contain;
    z-index: 1000;
    pointer-events: none; /* Logonun şeffaf alanları tıklamayı engellemesin */
    transition: var(--transition);
}

.navbar .mega-nav {
    display: flex;
    gap: 3rem;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    font-weight: 700;
}

.navbar nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(rgba(246, 239, 232, 0.3), rgba(246, 239, 232, 0.8)), url(banner.webp) center/cover;
}

body.night-mode .hero-section {
    background: linear-gradient(rgba(26, 23, 20, 0.7), rgba(26, 23, 20, 0.9)), url('banner.webp') center/cover;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease;
}

.hero-content .subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    max-width: 420px;
    line-height: 1.6;
    margin-top: 20px;
    color: #555;
}

/* NEW: Behind The Scenes Section */
.behind-scenes-section {
    padding: 6rem 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

body.night-mode .behind-scenes-section {
    background-color: #2b2e33;
    /* Antrasit */
    border-color: #3e4249;
}

.behind-scenes-split {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 5rem;
}

.bts-image {
    flex: 1;
    border: 1px solid #f0f0f0;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

body.night-mode .bts-image {
    background: #2b2e33;
    /* Antrasit */
    border-color: #3e4249;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.bts-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.1);
}

body.night-mode .bts-image img {
    filter: brightness(0.8) sepia(0.3);
}

.bts-text {
    flex: 1;
}

.bts-text .category-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.bts-text h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.bts-text p {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

body.night-mode .bts-text p {
    color: #a39c94;
}

/* Buttons */
.btn-classic,
.btn-classic-dark,
.btn-classic-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-weight: 700;
}

.btn-classic {
    background: var(--text-main);
    color: var(--bg-light);
}

.btn-classic:hover {
    background: var(--accent);
    color: #fff;
}

.btn-classic-dark {
    background: var(--btn-bg);
    color: var(--btn-text);
    text-align: center;
}

.btn-classic-dark:hover {
    background: #5c201c;
}

.btn-classic-outline {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    text-align: center;
}

body.night-mode .btn-classic-outline {
    border-color: #e8e3dc;
    color: #e8e3dc;
}

.btn-classic-outline:hover {
    background: var(--text-main);
    color: var(--bg-light);
}

body.night-mode .btn-classic-outline:hover {
    background: #e8e3dc;
    color: #1a1714;
}

/* Section Title & Subtitle */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.7;
}

/* Collection Section */
.collection-section {
    padding: 6rem 5% 6rem;
    background-color: #fafafa;
    transition: background-color 0.5s ease;
}

/* Dynamic Filtering Styles */
.grid-container.centered-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.grid-container.centered-group .grid-item {
    flex: 0 0 350px;
    max-width: 350px;
    width: 100%;
}

.grid-item {
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.grid-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.grid-item.fade-in {
    animation: fadeInProduct 0.6s forwards;
}

@keyframes fadeInProduct {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body.night-mode .collection-section {
    background-color: #2b2e33;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    /* Allow hover image swap to still work */
    transition: var(--transition);
}

.item-img-wrapper {
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    aspect-ratio: 4/5;
    border: 1px solid #f0f0f0;
    padding: 0.5rem;
    background: #fff;
    transition: var(--transition);
}

body.night-mode .item-img-wrapper {
    background: #2b2e33;
    /* Antrasit */
    border-color: #3e4249;
}

.item-img-wrapper img {
    width: calc(100% - 1rem);
    /* padding hesaplaması */
    height: calc(100% - 1rem);
    object-fit: contain;
    transition: transform 1s ease, opacity 0.5s ease-in-out;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

/* Light Toggle Mechanics */
.item-img-wrapper .img-on {
    opacity: 0;
}

.item-img-wrapper .img-off {
    opacity: 1;
}

/* Hover effect */
.grid-item:hover .item-img-wrapper .img-on {
    opacity: 1;
}

.grid-item:hover .item-img-wrapper .img-off {
    opacity: 0;
}

/* Night Mode Enforcer */
body.night-mode .item-img-wrapper .img-on {
    opacity: 1 !important;
}

body.night-mode .item-img-wrapper .img-off {
    opacity: 0 !important;
}

.grid-item:hover .item-img-wrapper img {
    transform: scale(1.03);
}

.item-info h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.item-info .price-small {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-muted);
}

body.night-mode .item-info .price-small {
    color: #a39c94;
}

/* Minimalist Centered Footer */
.minimal-footer {
    background-color: #f7f3ee;
    /* Marka spesifik Krem/Keten rengi */
    padding: 4rem 5% 5rem;
    /* Metinleri ve dev logoyu sarmalaması için aşağı doğru iyice uzatıldı */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: auto;
}

body.night-mode .minimal-footer {
    background-color: #2b2e33;
}

.footer-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* 100px içerisine rahatlıkla oturması için ufaltıldı */
}

.minimal-footer-logo {
    max-height: 100px;
    /* Üst logo ile tam simetri */
    margin: 0;
    transform: scale(2.6) translateY(10px);
    max-width: 500px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

body.night-mode .minimal-footer-logo {
    opacity: 0.85;
    /* Gece modunda hafif matlaşma */
}

.minimal-copyright {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    /* İstek üzerine iyice küçültüldü */
    margin: 0;
    /* Boşlukları sıfırla */
    padding-top: 0.5rem;
    /* Yapışık ama okunaklı minimal alan */
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

body.night-mode .minimal-copyright {
    color: #e8e3dc;
}

/* Floating Controllers (Night & Theme) */
.floating-theme-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--text-main);
    color: var(--bg-light);
    border: none;
    padding: 0.9rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: var(--transition);
}

.floating-theme-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: var(--accent);
    color: #fff;
}

body.night-mode .floating-theme-btn {
    opacity: 0;
    pointer-events: none;
}

/* Floating Night button removed for cleaner top-bar switch */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 900px) {
    .navbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        height: 130px; /* Okunabilirlik için bant genişletildi */
        padding: 0 5%;
        gap: 0;
        align-items: center;
    }

    .nav-left {
        width: auto;
        justify-content: flex-start;
    }

    .logo {
        height: 130px;
    }

    .logo img {
        transform: scale(2.2) translateY(35px); /* 900px altında dikey ortalama artırıldı */
        max-height: 90px;
        max-width: 160px; /* Yanlara daha fazla alan için genişlik kısıtlandı */
    }

    .nav-utilities {
        margin-top: 0.5rem;
    }

    .behind-scenes-split {
        flex-direction: column;
        gap: 3rem;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .navbar .mega-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .navbar {
        height: 150px;
        padding: 0 4%;
    }

    .logo {
        height: 150px;
    }

    .logo img {
        transform: scale(2.8) translateY(10px); /* 5px aşağı kaydırıldı (toplam 10px) */
        max-height: 110px;
        max-width: 140px;
    }

    .nav-utilities {
        display: flex;
        flex-direction: column; /* Dikey yerleşim: Diller üstte, AyDede altta */
        align-items: flex-end; /* Sağa yaslı hizalama */
        gap: 0.1rem; /* Elemanlar arası minimum dikey boşluk */
        flex-shrink: 0;
        justify-content: center;
        min-width: 80px;
        z-index: 1010; /* Mobil görünümde katman önceliği sağlandı */
        position: relative;
    }

    .lang-switch {
        font-size: 0.8rem;
        line-height: normal;
        transform: translate(-3px, -20px); /* 3px sola ve 20px yukarı yerleştirildi */
    }

    .night-toggle-wrapper {
        position: static;
        margin-left: 0;
        margin-top: -0.2rem;
        transform: translateY(20px); /* Ay dede ikonu 20px aşağı indirildi */
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-container.centered-group .grid-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    max-width: 420px;
    line-height: 1.6;
    margin-top: 20px;
    color: #555;
}

.drawer-link {
    display: block;
    margin-bottom: 28px;
    text-decoration: none;
    color: #e8e3db;
}

/* Türkçe */
.drawer-link .tr {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    letter-spacing: 1px;
}

/* İngilizce */
.drawer-link .en {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-top: 3px;
    display: block;
}

/* hover efekti */
.drawer-link:hover .tr {
    color: #d6c3a3;
    transform: translateX(4px);
    transition: all 0.3s ease;
}

.drawer-link:hover .en {
    opacity: 1;
}

/* ===================== PREMIUM SIDE DRAWER MENU ===================== */
.drawer-nav {
    padding: 100px 50px; /* Ferah ama dengeli boşluk */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Ana Link & Item Stili */
.drawer-item {
    display: flex;
    flex-direction: column;
    width: 100%; /* Daha kolay hover için tam genişlik */
}

.drawer-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; /* Daha premium/küçük boyut */
    font-weight: 300;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #e7e2dc;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between; /* İkonu sağa yaslar */
    width: 100%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.75;
}

/* Koleksiyon yanına şık bir + ekleme */
.collection-trigger::after {
    content: '+';
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-link:hover {
    color: #d6bc9f;
    opacity: 1;
    letter-spacing: 2.8px;
    transform: translateX(5px);
}

/* Hover olunca artıyı döndür */
.drawer-item:hover .collection-trigger::after {
    transform: rotate(45deg);
    color: #d6bc9f;
}

/* Alt Menü (Submenu) Konteynırı */
.submenu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding-left: 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover (Desktop) & Active (Mobile/Click) Alt Menü Açılışı */
.drawer-item:hover .submenu,
.drawer-item.active .submenu {
    max-height: 250px;
    opacity: 1;
    visibility: visible;
    margin-top: 18px;
    margin-bottom: 10px;
}

/* Hover & Active olunca artıyı döndür */
.drawer-item:hover .collection-trigger::after,
.drawer-item.active .collection-trigger::after {
    transform: rotate(45deg);
    color: #d6bc9f;
}

/* Alt Menü Linkleri */
.submenu-link {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px; /* Daha premium/küçük */
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #a39c94;
    text-decoration: none;
    transition: all 0.3s ease;
    padding-left: 10px;
}

.submenu-link:hover {
    color: #e7e2dc;
    transform: translateX(6px);
}

/* Aktif Sayfa İçin (Opsiyonel) */
.drawer-link.active {
    color: #d6bc9f;
    opacity: 1;
}

/* Mobil için yumuşak bir dokunuş */
@media (max-width: 600px) {
    .drawer-nav {
        padding: 80px 40px;
    }
    .drawer-link {
        font-size: 17px;
    }
}