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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #020617;
    color: #e2e8f0;
}

/* Section Labels */
.section-label {
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    font-weight: 500;
}

/* Navbar Scroll State */
#navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

/* Hero Animations */
@keyframes slowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-out forwards;
}

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

.hero-badge {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge ~ h1 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-badge ~ p {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-badge ~ div {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.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: border-color 0.5s ease, transform 0.5s ease;
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2DD4BF;
}

/* Selection */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #f8fafc;
}
