/* LUNARA - Ana Stil Dosyası */

/* 
 * Font Ailesi Tanımlamaları
 * Modern ve şık bir görünüm için Google Fonts'tan alınan fontları kullanıyoruz.
 * Başlıklar için: 'Playfair Display', serif
 * Genel metinler için: 'Montserrat', sans-serif
*/
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F7F5F2; /* Şampanya/Krem tonu */
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* ==========================================================================
   ÜST DUYURU ÇUBUĞU (Announcement Bar)
   geofficial.com'daki kayan "NEW COLLECTION" şeridinden esinlenilmiştir.
   ========================================================================== */
.announcement-bar {
    background-color: #212529;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.announcement-bar .announcement-track {
    display: inline-flex;
    white-space: nowrap;
    animation: lunara-marquee 22s linear infinite;
}

.announcement-bar .announcement-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.announcement-bar .announcement-item::after {
    content: '◐';
    font-size: 0.7rem;
    color: #D4AFB9;
}

@keyframes lunara-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.announcement-bar .announcement-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    opacity: 0.6;
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 2;
}

.announcement-bar .announcement-close:hover {
    opacity: 1;
}

/* Header Stil Ayarları */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Header içeriğini üç sütuna ayırıyoruz: sol (mobil menü/arama), orta (logo), sağ (hesap/favoriler/sepet) */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 0;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    flex: 0 0 auto;
    text-align: center;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin: 0;
}

/* Ana menü (masaüstü) */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    padding: 14px 0;
    border-top: 1px solid #eee;
}

.nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #212529;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #985966;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #985966;
}

/* Açılır alt menü (dropdown / mega menü) */
.nav-item {
    position: relative;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 1.2rem 1.5rem;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .dropdown-item {
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 1px;
    padding: 8px 0;
    color: #4A4A4A;
    background: none;
}

.dropdown-menu .dropdown-item:hover {
    color: #985966;
    background: none;
    padding-left: 6px;
}

/* Header ikonları: arama, hesap, favoriler, sepet */
.header-icon {
    background: none;
    border: none;
    color: #212529;
    font-size: 1.15rem;
    position: relative;
    transition: color 0.3s ease;
}

.header-icon:hover {
    color: #985966;
}

.header-icon .icon-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #985966;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobil menü açma butonu (hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: #212529;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-brand {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .header-left,
    .header-right {
        gap: 14px;
    }
}

/* Mobil kayan menü (off-canvas) */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 340px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1050;
    padding: 30px 24px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    transition: left 0.35s ease;
    overflow-y: auto;
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav .nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Footer Stil Ayarları */
footer {
    background-color: #212529; /* Koyu tema */
}

footer h5 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #adb5bd !important;
}

/* Genel Buton Stil Ayarları */
.btn-primary {
    background-color: #985966; /* Koyu gül kurusu */
    border-color: #985966;
}

.btn-primary:hover {
    background-color: #804050;
    border-color: #804050;
}

/* Ürün Kartı Stilleri (İleride kullanılacak) */
.product-card {
    border: 1px solid #dee2e6;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Koleksiyon Kartları */
#custom-cards h2 {
    color: #4A4A4A;
    font-style: italic;
    border-bottom-color: #D4AFB9 !important;
}

.collection-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
}

.collection-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    border-radius: inherit; /* Kartın köşe yuvarlaklığını miras alır */
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

.collection-card .d-flex {
    position: relative; /* :before'un üzerinde kalması için */
    z-index: 2;
}

.collection-card .card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.2rem; /* Biraz daha büyük */
    text-shadow: 0px 1px 5px rgba(0,0,0,0.5); /* Daha yumuşak gölge */
}

.collection-card .btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1); /* Daha şeffaf */
    backdrop-filter: blur(5px); /* Arka planı bulanıklaştır */
    font-weight: 500;
}

.collection-card .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: white;
}

/* Kartlar için yeni dolgu renkleri */
#collection-card-1 { background-color: #800020; } /* Bordo */
#collection-card-2 { background-color: #985966; } /* Koyu Gül Kurusu */
#collection-card-3 { background-color: #EAE0D5; } /* Şampanya */

/* Şampanya kartı için özel metin ve buton rengi */
#collection-card-3 .card-title,
#collection-card-3 .btn-outline-light {
    color: #4A4A4A;
    border-color: #4A4A4A;
    text-shadow: none; /* Koyu zeminde gölgeye gerek yok */
}

#collection-card-3 .btn-outline-light {
    background-color: rgba(74, 74, 74, 0.1);
}

#collection-card-3 .btn-outline-light:hover {
    background-color: rgba(74, 74, 74, 0.3);
    color: #4A4A4A;
    border-color: #4A4A4A;
}

#collection-card-3:before {
    background: linear-gradient(to top, rgba(255,255,255,0.5), rgba(255,255,255,0));
}

/* X Venesia storefront refresh */
:root {
    --ink: #191817;
    --muted-ink: #6d6964;
    --paper: #f7f6f3;
    --line: #dedbd5;
    --accent: #7f2638;
}

html { scroll-behavior: smooth; }

body {
    background: var(--paper) !important;
    color: var(--ink);
}

.announcement-bar {
    background: var(--ink);
    padding: 9px 0;
}

.announcement-bar .announcement-item {
    font-size: .68rem;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

.announcement-bar .announcement-item::after { color: #d8b9a6; }

header.p-3.mb-3 {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: rgba(247, 246, 243, .97) !important;
    border-bottom: 1px solid var(--line) !important;
}

header.header { z-index: 1030; }
.header .container { max-width: 1440px; }

.header-inner {
    min-height: 82px;
    padding: 16px 0;
}

.header-left, .header-right { gap: 10px; }
.header-center { min-width: 220px; }
.navbar-brand {
    color: var(--ink) !important;
    font-size: 1.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.search-box input {
    width: 150px;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    padding: 7px 0;
    font-size: .72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.header-icon {
    border: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    padding: 7px;
    font-size: 1.05rem;
}

.header-icon:hover { color: var(--accent) !important; }
.header-icon .icon-badge {
    top: 0;
    right: -3px;
    width: 16px;
    height: 16px;
    background: var(--accent) !important;
    font-size: .58rem;
}

.main-nav {
    gap: 2.35rem;
    padding: 12px 0 15px;
    border-top: 1px solid var(--line);
}

.main-nav .nav-link {
    color: var(--ink) !important;
    font-size: .7rem;
    letter-spacing: 2px;
    padding: 5px 0 !important;
}

.main-nav .nav-link.link-danger { color: var(--accent) !important; }
.nav-link::after { background: var(--accent); }

main.container {
    max-width: 1440px;
    padding-top: 28px !important;
}

.carousel,
.featured-banner { border-radius: 0; overflow: hidden; }
.carousel-item img, .carousel-item video { aspect-ratio: 2.45 / 1; object-fit: cover; }
.carousel-caption { background: rgba(25, 24, 23, .62) !important; border-radius: 0 !important; }

.product-card {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.product-card .card-img-top {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #eceae6;
}

.product-card .card-body { padding: 16px 4px 4px; }
.product-card .card-title { font-size: .78rem !important; font-weight: 500; letter-spacing: .3px; }
.product-card .card-title a { color: var(--ink) !important; }
.product-card .card-text { color: var(--muted-ink); font-size: .8rem; }
.product-card .card-footer { padding: 6px 4px 18px !important; }
.product-card .btn { border-radius: 0; border-color: var(--ink); color: var(--ink); font-size: .67rem; letter-spacing: 1px; text-transform: uppercase; }
.product-card .btn:hover { background: var(--ink); color: #fff; }

.collection-card { border-radius: 0 !important; border-width: 0 !important; }

.product-size-picker {
    border: 0;
    margin: 0;
    padding: 0;
}

.product-size-picker legend {
    float: none;
    width: auto;
    margin-bottom: 10px;
    font-size: .78rem;
    letter-spacing: .8px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option { margin: 0; cursor: pointer; }
.size-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.size-option span {
    display: grid;
    min-width: 48px;
    min-height: 42px;
    place-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-size: .75rem;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.size-option:hover span,
.size-option input:focus-visible + span,
.size-option input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

footer.py-5.mt-5.bg-dark {
    margin-top: 72px !important;
    padding: 68px 0 25px !important;
    background: var(--ink) !important;
    color: #f5f3ef !important;
}

footer h5 {
    color: #f5f3ef;
    font-size: .72rem;
    letter-spacing: 2px;
}

footer p, footer a { color: #aaa59d !important; font-size: .78rem; }
footer a:hover { color: #fff !important; }
footer .border-top { border-color: #45413d !important; }
footer .btn-primary { border-radius: 0; background: #f5f3ef; border-color: #f5f3ef; color: var(--ink); }
footer .form-control { border-radius: 0; background: transparent; border-color: #77716b; color: #fff; }

@media (max-width: 991.98px) {
    .header-inner { min-height: 66px; padding: 11px 0; }
    .header-center { min-width: 0; }
    .navbar-brand { font-size: 1.25rem; letter-spacing: 2.5px; }
    .header-right { gap: 2px; }
}

@media (max-width: 600px) {
    .announcement-bar .announcement-item { letter-spacing: 1.8px; }
    .main-nav { display: none; }
    main.container { padding-left: 12px; padding-right: 12px; }
    .carousel-item img, .carousel-item video { aspect-ratio: 1 / 1.15; }
    .header-left, .header-right { flex: 1 1 0; }
    .header-center { flex: 0 0 auto; }
    .header-right { justify-content: flex-end; }
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        justify-content: center;
        padding: 10px;
    }
    .mobile-menu-toggle span { width: 24px; height: 2px; }
    .header-icon {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        padding: 6px 4px;
    }
    .header-right .icon-badge { display: flex !important; }
    .category-promo-container {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    .category-promo-box {
        width: 100%;
        padding: 18px 14px !important;
    }
    .category-promo-box h3 { margin-bottom: 10px; }
    .instagram-box { width: 100% !important; margin: 18px auto !important; }
    footer.py-5.mt-5.bg-dark { padding: 48px 18px 20px !important; }
}

@media (max-width: 767.98px) {
    .container { max-width: 100%; }
    main.container { padding-top: 20px !important; }
    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.35rem; }

    .row > [class*="col-md-"],
    .row > [class*="col-lg-"] {
        width: 100%;
    }

    .row.row-cols-1.row-cols-sm-2 {
        row-gap: 1.5rem;
    }

    .product-card .card-img-top { aspect-ratio: 3 / 4; }
    .product-card .card-title { min-height: 2.2em; }

    .featured-banner img,
    .featured-banner video,
    #main-product-image {
        width: 100%;
        height: auto;
    }

    .breadcrumb { font-size: .7rem; overflow-x: auto; white-space: nowrap; }
    .table-responsive { border: 1px solid var(--line); }
    .table-responsive .table { min-width: 560px; margin-bottom: 0; }

    #add-to-cart-form {
        align-items: stretch !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    #add-to-cart-form .input-group {
        max-width: none !important;
        width: 100%;
        margin-right: 0 !important;
    }

    #add-to-cart-form > .btn { width: 100%; }
    .product-size-picker { margin-top: 18px; }
    .size-option span { min-width: 52px; min-height: 44px; }

    .category-promo-container { margin-left: 0; margin-right: 0; }
    .collection-card { min-height: 280px !important; }

    footer .d-flex.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 12px;
    }

    footer .list-inline { margin-bottom: 0; }
    footer .input-group { flex-wrap: nowrap; }
    footer .input-group .btn { white-space: nowrap; }
}