/* Base & Utilities */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 50%, #f8fafc 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(13, 148, 136, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
#mobile-menu {
    max-height: 0;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar transition */
.nav-scrolled {
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .rounded-2xl img,
    .rounded-3xl img {
        transition: none;
    }

    .rounded-2xl img:hover,
    .rounded-3xl img:hover {
        transform: none;
    }
}

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