/* Base & typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Hero entrance animations */
#heroSubtitle {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

#heroTitle {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

#heroDesc {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

#heroCta {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.1s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service cards - progressive enhancement for scroll reveal */
.service-card {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .service-card.reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .service-card.reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

/* Mobile menu transitions */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 1px solid rgba(255, 107, 107, 0.5);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: #fff;
}
