/* ============================================
   EDITORIAL MAGAZINE STYLE HEADER
   Fonts loaded by page-level <link> tags
   ============================================ */

:root {
    --editorial-dark: #0a0a0a;
    --editorial-light: #fafafa;
    --editorial-gray: #6b6b6b;
    --editorial-accent: #c9a961;
    --editorial-gold: #d4af37;
    --primary-gold: #b8960c;
    --editorial-transition: cubic-bezier(0.34, 1.56, 0.64, 1);
}

header {
    background: linear-gradient(180deg, var(--editorial-dark) 0%, #151515 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 169, 97, 0.3);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(184, 150, 12, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 169, 97, 0.06) 0%, transparent 50%);
    animation: headerGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes headerGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--editorial-accent), transparent);
}

header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 30px;
}

/* Logo - Editorial Style */
header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.5s var(--editorial-transition);
}

header .logo:hover {
    transform: scale(1.05);
}

header .logo svg {
    height: 55px;
    width: auto;
}

header .logo .logost0 {
    fill: var(--editorial-light);
    font-family: 'Playfair Display', 'Lobster', serif;
    font-size: 40px;
    transition: all 0.5s ease;
}

header .logo .logost1 {
    fill: var(--editorial-accent);
    font-family: 'Playfair Display', 'Lobster', serif;
    font-size: 40px;
    filter: drop-shadow(0 0 12px rgba(201, 169, 97, 0.6));
    animation: goldPulse 3s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(201, 169, 97, 0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(201, 169, 97, 0.9)); }
}

header .logo:hover .logost0 {
    fill: var(--editorial-accent);
}

/* Navigation - Editorial */
header .nav-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

header .nav-link {
    display: block;
    padding: 12px 24px;
    color: rgba(250, 250, 250, 0.7);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s var(--editorial-transition);
    position: relative;
    overflow: hidden;
}

header .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--editorial-accent));
    transform: scaleX(0);
    transition: transform 0.4s var(--editorial-transition);
}

header .nav-link:hover {
    color: var(--editorial-light);
    background: rgba(184, 150, 12, 0.15);
}

header .nav-link:hover::before {
    transform: scaleX(1);
}

header .nav-link.active {
    color: var(--editorial-accent);
    background: rgba(201, 169, 97, 0.1);
}

/* Search - Editorial */
header .form-search {
    position: relative;
}

header .form-controls {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.25);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s var(--editorial-transition);
}

header .form-controls:focus-within {
    border-color: var(--editorial-accent);
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.25);
    transform: scale(1.02);
}

header .form-controls input {
    background: transparent;
    border: none;
    padding: 14px 22px;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    width: 200px;
    outline: none;
    letter-spacing: 0.5px;
    caret-color: var(--editorial-accent);
}

header .form-controls input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}

header .form-controls button {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--editorial-accent) 100%);
    border: none;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

header .form-controls button:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 20px rgba(184, 150, 12, 0.5);
}

header .form-controls button i {
    color: white;
    font-size: 16px;
}

/* Mobile */
header .buttons-mobile {
    display: none;
    gap: 12px;
    align-items: center;
}

header .buttons-mobile .search-btn,
header .buttons-mobile .burger {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s var(--editorial-transition);
}

header .buttons-mobile .search-btn:hover,
header .buttons-mobile .burger:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--editorial-accent));
    border-color: transparent;
    transform: scale(1.05);
}

header .buttons-mobile .search-btn i {
    color: var(--editorial-accent);
    font-size: 18px;
    transition: color 0.3s ease;
}

header .buttons-mobile .search-btn:hover i {
    color: white;
}

header .burger-brick {
    width: 22px;
    height: 2px;
    background: var(--editorial-accent);
    position: relative;
    transition: all 0.3s ease;
}

header .burger-brick::before,
header .burger-brick::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--editorial-accent);
    left: 0;
    transition: all 0.3s ease;
}

header .burger-brick::before { top: -7px; }
header .burger-brick::after { top: 7px; }

header .burger:hover .burger-brick,
header .burger:hover .burger-brick::before,
header .burger:hover .burger-brick::after {
    background: white;
}

/* ============================================
   MOBILE SEARCH OVERLAY - Full Width
   ============================================ */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
    padding: 15px;
    z-index: 10000;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--editorial-accent, #c9a961);
}

.mobile-search-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-search-overlay .search-form-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-search-overlay .search-input-wrapper {
    flex: 1;
    position: relative;
}

.mobile-search-overlay input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(201, 169, 97, 0.4);
    border-radius: 30px;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.mobile-search-overlay input[type="text"]:focus {
    border-color: var(--editorial-accent, #c9a961);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
}

.mobile-search-overlay input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mobile-search-overlay .search-submit-btn {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #b8960c 0%, #c9a961 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-search-overlay .search-submit-btn:hover,
.mobile-search-overlay .search-submit-btn:active {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(184, 150, 12, 0.5);
}

.mobile-search-overlay .search-submit-btn i {
    color: white;
    font-size: 20px;
}

.mobile-search-overlay .close-search-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.mobile-search-overlay .close-search-btn::before,
.mobile-search-overlay .close-search-btn::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.mobile-search-overlay .close-search-btn::before {
    transform: rotate(45deg);
}

.mobile-search-overlay .close-search-btn::after {
    transform: rotate(-45deg);
}

.mobile-search-overlay .close-search-btn:hover {
    background: rgba(255, 100, 100, 0.3);
    border-color: rgba(255, 100, 100, 0.5);
}

/* ============================================
   RESPONSIVE HEADER
   ============================================ */
@media (max-width: 1024px) {
    header .col-second { display: none; }
    header .form-search { display: none; }
    header .buttons-mobile { display: flex; }
    
    header .header-content {
        padding: 12px 0;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 12px;
    }
    
    header .header-content {
        padding: 10px 0;
        gap: 15px;
    }
    
    header .logo svg {
        height: 40px;
    }
    
    header .buttons-mobile .search-btn,
    header .buttons-mobile .burger {
        width: 44px;
        height: 44px;
    }
    
    header .buttons-mobile {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    header .logo svg {
        height: 35px;
    }
    
    header .buttons-mobile .search-btn,
    header .buttons-mobile .burger {
        width: 40px;
        height: 40px;
    }
    
    header .burger-brick {
        width: 18px;
    }
    
    header .buttons-mobile .search-btn i {
        font-size: 16px;
    }
    
    .mobile-search-overlay {
        padding: 12px;
    }
    
    .mobile-search-overlay input[type="text"] {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .mobile-search-overlay .search-submit-btn {
        width: 48px;
        height: 48px;
    }
    
    .mobile-search-overlay .close-search-btn {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   MOBILE MENU STYLES
   ============================================ */
/* ============================================
   MOBILE MENU STYLES
   ============================================ */

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

/* Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
    background: rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-logo svg {
    height: 30px;
    width: auto;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: linear-gradient(135deg, #b8960c, #c9a961);
    border-color: transparent;
}

.mobile-menu-close span,
.mobile-menu-close span::before,
.mobile-menu-close span::after {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #c9a961;
    left: 50%;
    top: 50%;
    border-radius: 1px;
    transition: background 0.3s ease;
}

.mobile-menu-close span {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span::before {
    content: '';
    transform: rotate(90deg);
}

.mobile-menu-close:hover span,
.mobile-menu-close:hover span::before {
    background: white;
}

/* Menu Content */
.mobile-menu-content {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
}

/* Primary Navigation - Prominent Links */
.mobile-menu-main {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.mobile-menu-primary {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-primary li {
    margin-bottom: 4px;
}

.mobile-menu-primary li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(201, 169, 97, 0.05);
    border-left: 3px solid transparent;
}

.mobile-menu-primary li a:hover,
.mobile-menu-primary li a:active {
    background: rgba(201, 169, 97, 0.15);
    color: #c9a961;
    border-left-color: #c9a961;
}

.mobile-menu-primary li a .nav-icon {
    font-size: 18px;
    min-width: 24px;
    text-align: center;
}

/* Dropdown Toggle Button */
.mobile-menu-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-dropdown-toggle:hover {
    background: rgba(201, 169, 97, 0.08);
    color: #c9a961;
}

.mobile-menu-dropdown-toggle.active {
    color: #c9a961;
    background: rgba(201, 169, 97, 0.1);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #c9a961;
}

.mobile-menu-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Content */
.mobile-menu-dropdown-content {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-menu-dropdown-content.open {
    max-height: 500px;
    padding: 8px 0;
}

.mobile-menu-dropdown-content li a {
    display: block;
    padding: 10px 20px 10px 32px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.mobile-menu-dropdown-content li a:hover {
    color: #c9a961;
    background: rgba(201, 169, 97, 0.08);
    border-left-color: #c9a961;
    padding-left: 36px;
}

/* Secondary Links */
.mobile-menu-secondary {
    padding: 15px;
    border-top: 1px solid rgba(201, 169, 97, 0.15);
    margin-top: 10px;
}

.mobile-menu-secondary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-menu-secondary-list li a {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(201, 169, 97, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu-secondary-list li a:hover {
    background: linear-gradient(135deg, #b8960c, #c9a961);
    border-color: transparent;
    color: #0a0a0a;
}

/* Section */
.mobile-menu-section {
    border-bottom: none;
}

.mobile-menu-section:last-child {
    border-bottom: none;
}

/* Section - removed old styles */

/* Menu Footer */
.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.mobile-menu-footer p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px 0;
}

.mobile-menu-footer .copyright {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    margin: 0;
}

/* Burger Animation when active */
header .burger.active .burger-brick {
    background: transparent;
}

header .burger.active .burger-brick::before {
    top: 0;
    transform: rotate(45deg);
}

header .burger.active .burger-brick::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hide on desktop */
@media (min-width: 1025px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Small screens adjustments */
@media (max-width: 380px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    
    .mobile-menu-section {
        padding: 12px 15px;
    }
    
    .mobile-menu-list li a {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .mobile-menu-nav li a {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
