/* ===== BASE STYLES - CRITICAL FIXES ===== */
:root {
    /* COLOR PALETTE - Luxury Photography */
    --color-black: #000000;
    --color-gold: #d4af37;
    --color-gold-light: #f4e4b6;
    --color-dark: #111111;
    --color-gray: #222222;
    --color-light: #f8f8f8;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #888888;
    
    /* TYPOGRAPHY */
    --font-heading: 'Playfair Display', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-accent: 'Montserrat', sans-serif;
    
    /* SPACING */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 12rem;
    
    /* TRANSITIONS */
    --transition-smooth: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.3s ease;
    --transition-slow: all 1.2s ease-out;
    
    /* SHADOWS */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-hard: 0 30px 90px rgba(0, 0, 0, 0.2);
    
    /* BORDER RADIUS */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
    
    /* LAYOUT */
    --side-padding: clamp(1.5rem, 5vw, 5rem);
    --container-width: 1400px;
    --header-height: 70px;
}

/* RESET & GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h4 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-light);
}

.small {
    font-size: 0.9rem;
    font-family: var(--font-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* LINKS */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-gold);
}

/* IMAGES */
img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SELECTION */
::selection {
    background-color: var(--color-gold-light);
    color: var(--color-black);
}

/* FOCUS */
:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--color-gold); }
.text-light { color: var(--color-text-light); }
.text-white { color: var(--color-white); }

.bg-dark { background-color: var(--color-dark); }
.bg-light { background-color: var(--color-light); }
.bg-black { background-color: var(--color-black); }
.bg-white { background-color: var(--color-white); }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.w-screen { width: 100vw; }
.h-screen { height: 100vh; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

/* SECTION SPACING */
section {
    padding: var(--space-xl) 0;
}

.section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

/* PRELOADER - SINGLE DEFINITION */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-pulse {
    animation: pulse-preloader 2s ease-in-out infinite;
}

.logo-pulse img {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.preloader-text {
    color: #d4af37;
    font-size: 1.5rem;
    letter-spacing: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    animation: fadeInOut-preloader 3s ease-in-out infinite;
}

.preloader-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

@keyframes pulse-preloader {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes fadeInOut-preloader {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 3rem;
        --side-padding: 1.5rem;
        --header-height: 60px;
    }
    
    body {
        padding-top: var(--header-height);
    }
    
    h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    p {
        font-size: 1rem;
    }
}
/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -300px;
    width: 300px;
    background: #000;
    padding: 3rem 1.5rem 2rem;
    z-index: 2500;
    transition: left 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-menu.active {
    left: 0;
}
.mobile-menu > * {
    flex-shrink: 0;
}
.mobile-menu .nav-link {
    color: #fff;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}
.mobile-menu .nav-link:hover {
    color: #d4af37;
}
.mobile-menu .btn {
    margin-top: 1rem;
}
.mobile-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}
.visible-mobile {
    display: none;
}
@media (max-width: 992px) {
    .visible-mobile {
        display: block;
    }
    .hidden-mobile {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* ===== SKIP NAVIGATION LINK (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 99999;
    padding: 0.75rem 1.5rem;
    background: var(--color-gold);
    color: var(--color-black);
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: top 0.2s ease;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-black);
    outline-offset: 2px;
}

/* ===== REDUCED MOTION (Accessibility) ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .preloader {
        display: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    /* Hide non-essential elements */
    .main-header,
    footer,
    .preloader,
    .mobile-menu,
    .mobile-menu-btn,
    .skip-link,
    .btn,
    [data-reveal] {
        display: none !important;
    }

    /* Reset page for print */
    body {
        padding-top: 0;
        background: #fff;
        color: #000;
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    /* Show full URLs for links */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #555;
    }

    /* Don't expand internal anchors or JS links */
    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }

    /* Ensure images print */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    h1, h2, h3 {
        page-break-after: avoid;
        color: #000;
    }

    /* Page margins */
    @page {
        margin: 2cm;
    }
}