/* ==========================================================================
   PWG CMS - LUXURY THEME STYLESHEET
   Prestijli, Editoryal & Üst Segment Tasarım Sistemi
   ========================================================================== */

:root {
    --lux-gold: var(--primary, #C5A059);
    --lux-gold-hover: var(--primary-hover, #9A7B38);
    --lux-gold-soft: rgba(197, 160, 89, 0.14);
    --lux-gold-border: rgba(197, 160, 89, 0.32);
    --lux-obsidian: #07080C;
    --lux-charcoal: #0F1219;
    --lux-ivory: #FAF7F2;
    --lux-champagne: #F5F2EB;
}

body.theme-luxury {
    background-color: var(--bg, #FAF7F2);
    color: var(--body-color, #1C1917);
}

/* --------------------------------------------------------------------------
   1. LUXURY TOP BAR (Üst Bilgi & Prestij Şeridi)
   -------------------------------------------------------------------------- */
.lux-topbar {
    background-color: var(--lux-obsidian);
    border-bottom: 1px solid rgba(197, 160, 89, 0.18);
    color: rgba(245, 242, 235, 0.78);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1041;
}

.lux-topbar a {
    color: rgba(245, 242, 235, 0.8);
    text-decoration: none;
    transition: color 0.25s ease;
}

.lux-topbar a:hover {
    color: var(--lux-gold);
}

.lux-topbar-divider {
    width: 1px;
    height: 12px;
    background: rgba(197, 160, 89, 0.3);
    display: inline-block;
    margin: 0 0.85rem;
    vertical-align: middle;
}

.lux-topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.22);
    color: var(--lux-champagne);
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.lux-topbar-social a:hover {
    background-color: var(--lux-gold);
    border-color: var(--lux-gold);
    color: var(--lux-obsidian) !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. LUXURY HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.theme-luxury .smart-header {
    background: var(--navbar-bg, rgba(11, 13, 19, 0.96)) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
}

.theme-luxury .smart-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--lux-gold) 50%, transparent 100%);
    opacity: 0.65;
    pointer-events: none;
}

.theme-luxury .navbar {
    background: transparent !important;
    border-bottom: none !important;
    padding: 0.95rem 0;
    transition: padding 0.35s ease;
}

.theme-luxury .smart-header.header-scrolled .navbar {
    padding: 0.55rem 0;
}

.theme-luxury .navbar-brand {
    font-family: var(--heading-font, 'Cormorant Garamond', serif);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lux-champagne) !important;
    position: relative;
}

.theme-luxury .navbar-nav .nav-link {
    font-family: var(--nav-font, 'Montserrat', sans-serif);
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--header-link-color, #F5F2EB) !important;
    padding: 0.65rem 1.15rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.theme-luxury .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background-color: var(--lux-gold);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(-50%);
}

.theme-luxury .navbar-nav .nav-link:hover,
.theme-luxury .navbar-nav .nav-link.active,
.theme-luxury .navbar-nav .nav-link.show {
    color: var(--lux-gold) !important;
}

.theme-luxury .navbar-nav .nav-link:hover::after,
.theme-luxury .navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Luxury Header Aksiyon Butonları */
.lux-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.38);
    background: rgba(197, 160, 89, 0.06);
    color: var(--lux-champagne) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.lux-action-icon:hover {
    background: var(--lux-gold);
    border-color: var(--lux-gold);
    color: var(--lux-obsidian) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.lux-header-cta {
    border: 1px solid var(--lux-gold);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.16) 0%, rgba(197, 160, 89, 0.04) 100%);
    color: var(--lux-champagne) !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.65rem 1.35rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.lux-header-cta:hover {
    background: var(--lux-gold);
    color: var(--lux-obsidian) !important;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

/* --------------------------------------------------------------------------
   3. LUXURY MEGA MENU & DROPDOWN
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .theme-luxury .mega-menu {
        background: #0D1017 !important;
        border-top: 2px solid var(--lux-gold) !important;
        border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55) !important;
    }

    .theme-luxury .mega-menu-featured {
        background: radial-gradient(circle at top left, rgba(197, 160, 89, 0.22) 0%, #07080C 75%) !important;
        border-right: 1px solid rgba(197, 160, 89, 0.2);
        padding: 3.5rem 3rem !important;
    }

    .lux-mega-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        color: var(--lux-gold);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .lux-mega-eyebrow::before {
        content: '';
        width: 24px;
        height: 1px;
        background: var(--lux-gold);
        display: inline-block;
    }

    .theme-luxury .mega-menu-links-container {
        background: #0D1017;
        padding: 3rem 2.5rem !important;
    }

    .theme-luxury .mega-menu-link {
        color: rgba(245, 242, 235, 0.82) !important;
        border-radius: 2px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        padding: 0.75rem 0.9rem !important;
        font-size: 0.88rem;
        letter-spacing: 0.03em;
    }

    .theme-luxury .mega-menu-link i {
        color: var(--lux-gold) !important;
        font-size: 0.8rem !important;
        opacity: 0.75;
        transition: transform 0.3s ease;
    }

    .theme-luxury .mega-menu-link:hover {
        background: rgba(197, 160, 89, 0.1) !important;
        color: var(--lux-gold) !important;
        transform: translateX(6px);
    }

    .theme-luxury .mega-menu-link:hover i {
        transform: translateX(3px);
        opacity: 1;
    }

    /* Standart Dropdown Luxury Görünüm */
    .theme-luxury .dropdown-menu:not(.mega-menu) {
        background-color: #0D1017 !important;
        border: 1px solid rgba(197, 160, 89, 0.3) !important;
        border-top: 2px solid var(--lux-gold) !important;
        border-radius: 2px !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
        padding: 0.6rem !important;
    }

    .theme-luxury .dropdown-menu:not(.mega-menu) .dropdown-item {
        color: rgba(245, 242, 235, 0.85) !important;
        font-size: 0.85rem;
        letter-spacing: 0.03em;
        border-radius: 2px;
        transition: all 0.25s ease;
    }

    .theme-luxury .dropdown-menu:not(.mega-menu) .dropdown-item:hover {
        background-color: rgba(197, 160, 89, 0.14) !important;
        color: var(--lux-gold) !important;
        padding-left: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   4. LUXURY FULLSCREEN SEARCH OVERLAY (Sinematik Arama Ekranı)
   -------------------------------------------------------------------------- */
.theme-luxury .search-overlay {
    background: radial-gradient(circle at center, rgba(24, 28, 40, 0.97) 0%, rgba(7, 8, 12, 0.99) 100%) !important;
    backdrop-filter: blur(20px);
}

.theme-luxury .search-close {
    border: 1px solid rgba(197, 160, 89, 0.45);
    background: rgba(197, 160, 89, 0.08);
    color: var(--lux-gold);
    width: 54px;
    height: 54px;
}

.theme-luxury .search-close:hover {
    background: var(--lux-gold);
    color: var(--lux-obsidian);
}

.lux-search-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lux-gold);
    margin-bottom: 1rem;
    display: inline-block;
}

.theme-luxury .search-input {
    font-family: var(--heading-font, 'Cormorant Garamond', serif);
    font-size: 2.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--lux-champagne);
    padding: 1.25rem 4rem 1.25rem 0;
}

.theme-luxury .search-input:focus {
    border-bottom-color: var(--lux-gold);
}

.theme-luxury .search-submit {
    color: var(--lux-gold);
    font-size: 2rem;
}

.theme-luxury #suggestBox {
    background: #0F121A !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    border-radius: 2px !important;
}

/* --------------------------------------------------------------------------
   5. LUXURY PRE-FOOTER NEWSLETTER & PRESTIGE FOOTER
   -------------------------------------------------------------------------- */
.lux-newsletter {
    background: linear-gradient(135deg, #0B0D13 0%, #171B26 100%);
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
}

.lux-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.lux-newsletter-input-group {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 0.35rem;
    border-radius: 2px;
}

.lux-newsletter-input-group input {
    color: var(--lux-champagne) !important;
    font-size: 0.9rem;
}

.lux-newsletter-input-group input::placeholder {
    color: rgba(245, 242, 235, 0.45) !important;
}

.lux-btn-gold {
    background: linear-gradient(135deg, var(--lux-gold) 0%, var(--lux-gold-hover) 100%);
    color: #07080C !important;
    border: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.78rem;
    border-radius: 2px;
    padding: 0 1.75rem;
    transition: all 0.3s ease;
}

.lux-btn-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.theme-luxury footer.lux-footer {
    background: linear-gradient(180deg, var(--footer-gradient-start, #07080C) 0%, var(--footer-gradient-end, #0F1219) 100%) !important;
    color: var(--footer-text-color, #E7E2D8) !important;
    padding: 5rem 0 2.5rem;
    position: relative;
}

.lux-footer-heading {
    font-family: var(--heading-font, 'Cormorant Garamond', serif);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lux-champagne) !important;
    position: relative;
    padding-bottom: 0.85rem;
    margin-bottom: 1.5rem;
}

.lux-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 1.5px;
    background: var(--lux-gold);
}

.theme-luxury .footer-social a {
    border: 1px solid rgba(197, 160, 89, 0.35);
    background: rgba(197, 160, 89, 0.05);
    color: var(--lux-gold) !important;
}

.theme-luxury .footer-social a:hover {
    background: var(--lux-gold);
    color: var(--lux-obsidian) !important;
}

/* --------------------------------------------------------------------------
   6. GLOBAL LUXURY COMPONENT OVERRIDES (Başlıklar, Kartlar, Butonlar)
   -------------------------------------------------------------------------- */
.theme-luxury .section-subtitle {
    color: var(--lux-gold) !important;
    letter-spacing: 0.22em !important;
    font-size: 0.76rem !important;
    position: relative;
    padding-left: 2.2rem;
}

.theme-luxury .section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.6rem;
    height: 1px;
    background-color: var(--lux-gold);
}

.theme-luxury .section-title {
    font-family: var(--heading-font, 'Cormorant Garamond', serif) !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
}

.theme-luxury .card {
    border: 1px solid rgba(197, 160, 89, 0.16) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.theme-luxury .card:hover {
    border-color: rgba(197, 160, 89, 0.45) !important;
    box-shadow: 0 18px 40px rgba(11, 13, 19, 0.09);
    transform: translateY(-6px);
}

/* Mobil Luxury Offcanvas Drawer */
.theme-luxury .offcanvas {
    background-color: #0B0D13 !important;
    color: var(--lux-champagne) !important;
    border-left: 1px solid rgba(197, 160, 89, 0.3);
}

.theme-luxury .offcanvas-header {
    background-color: #07080C !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2) !important;
}

.theme-luxury .mobile-nav .nav-link {
    color: var(--lux-champagne) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.theme-luxury .mobile-nav .nav-item {
    border-bottom: 1px solid rgba(197, 160, 89, 0.12) !important;
}

.theme-luxury .mobile-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.03) !important;
}

.theme-luxury .mobile-nav .dropdown-item {
    color: rgba(245, 242, 235, 0.8) !important;
}

.theme-luxury #backToTop {
    background-color: var(--lux-obsidian);
    border: 1px solid var(--lux-gold);
    color: var(--lux-gold);
}

.theme-luxury #backToTop:hover {
    background-color: var(--lux-gold);
    color: var(--lux-obsidian);
}
