/* ==========================================================================
   XESSS GLOBAL STYLESHEET | WHITE & GOLD LUXURY EDITION
   ========================================================================== */

:root {
    --bg-main: #FFFFFF;
    --bg-dark: #FFFFFF; 
    --bg-card: #FBFBFA; 
    
    --text-light: #111111; 
    --text-main: #111111;
    --gray-muted: #666666; 
    
    --accent-gold: #C19947;
    --accent-gold-hover: #A07B32;
    
    --border-color: #E5E7EB;
}

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

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* FIX: Offsets the fixed header globally */
    padding-top: 96px; 
}

/* Typography & Global Links */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

.dark-contrast a, 
[style*="background-color: #000000"] a, 
[style*="background-color: #111"] a {
    color: var(--accent-gold);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-item > a:hover {
    color: var(--accent-gold);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 1rem 0;
    z-index: 10;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--bg-card);
    color: var(--accent-gold);
}

/* =========================================
   GLOBAL BUTTONS
   ========================================= */
.desktop-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    background-color: #111111;
    color: #FFFFFF;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #111111;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000000;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--text-light);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   GLOBAL LAYOUT CONTAINERS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* =========================================
   FORMS OVERRIDE
   ========================================= */
input, textarea, select {
    background-color: #FAFAFA !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-light) !important;
    border-radius: 8px !important;
    transition: border-color 0.3s !important;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent-gold) !important;
    outline: none !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(193, 153, 71, 0.1) !important;
}

::placeholder {
    color: #9CA3AF !important;
}

/* =========================================
   RESTORED LUXURY DARK FOOTER
   ========================================= */
.site-footer {
    background-color: #050505;
    color: #9CA3AF;
    padding: 5rem 0 2rem;
    border-top: 2px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about h3 {
    font-family: 'Times New Roman', serif;
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-links h4 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #FFFFFF;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
.mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-light);
}

.mobile-actions {
    display: none;
}

@media (max-width: 992px) {
    .desktop-actions { display: none; }
    .mobile-toggle { display: block; }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }
    
    .main-nav.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-left: 2px solid var(--border-color);
        margin-left: 1rem;
        padding-left: 1rem;
        display: none;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }
    
    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}