/* ── Base & Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0A0F0D;
    color: #FAF5EB;
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #FAF5EB;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A0F0D;
}
::-webkit-scrollbar-thumb {
    background: #1E2E24;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4A853;
}

/* ── Service Cards ── */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A853, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* ── Form Focus Styles ── */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ── Mobile Menu Animation ── */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ── Fade-in on scroll (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-section {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Gold shimmer on CTA ── */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ── Responsive adjustments ── */
@media (max-width: 640px) {
    .font-\\[\'Playfair_Display\\'] {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
}
