/* ─── Custom Styles & Overrides ─── */

/* Smooth font rendering */
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #F8FAFC;
}

/* ─── Hero Asymmetric Grid ─── */
.hero-asymmetric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-asymmetric {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

/* ─── Typography Scale ─── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
}

/* ─── Gold Gradient Text ─── */
.text-gold-gradient {
    background: linear-gradient(135deg, #E2BC6A, #D4A853, #B8943E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Image Hover Zoom ─── */
img {
    transition: transform 0.6s ease;
}

/* ─── Focus Styles ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #D4A853;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── Print Styles ─── */
@media print {
    nav, .mobile-menu, #hamburger, .btn-primary, .btn-outline {
        display: none !important;
    }
    body {
        background: white;
        color: #1a1a1a;
    }
    .hero {
        min-height: auto;
    }
}

/* ─── High Contrast Mode ─── */
@media (forced-colors: active) {
    .service-card {
        border: 1px solid ButtonText;
    }
    .btn-primary {
        border: 2px solid ButtonText;
    }
}

/* ─── Mobile Optimizations ─── */
@media (max-width: 768px) {
    .hero-text-side {
        padding: 80px 6% 60px;
    }
    .hero-image-side {
        min-height: 40vh;
    }
    section {
        padding: 60px 0;
    }
    .service-card {
        padding: 28px 24px;
    }
}

/* ─── Landscape Phone Optimization ─── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-asymmetric {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    .hero-image-side {
        min-height: 100vh;
    }
}
