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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-eyebrow {
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-headline {
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-subtext {
    animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero-ctas {
    animation: fadeUp 0.8s ease-out 0.8s both;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease-out;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: fadeIn 0.2s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selection color */
::selection {
    background-color: #0d9488;
    color: white;
}
