/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: #020c1b;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

::selection {
    background: #fbbf24;
    color: #0a1628;
}

/* === NAVBAR === */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(2, 12, 27, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* === HERO === */
#hero {
    background: radial-gradient(ellipse at 70% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 60%),
                linear-gradient(135deg, #020c1b 0%, #0a1628 50%, #0f2137 100%);
}

/* === SERVICE CARDS === */
.service-card {
    background: rgba(15, 33, 55, 0.6);
}

/* === GALLERY === */
.gallery-item {
    cursor: pointer;
}

/* === PROCESS STEPS === */
.process-step::after {
    content: '';
    position: absolute;
    top: 36px;
    right: -40%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.3), transparent);
    display: none;
}

@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
        display: block;
    }
}

/* === SCROLL REVEAL (progressive enhancement) === */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020c1b;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}

/* === MOBILE MENU TRANSITION === */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* === FORM FOCUS STATES === */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    #hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero .relative {
        margin-top: 2rem;
    }

    #hero img {
        height: 350px !important;
    }

    .font-display {
        font-family: 'Space Grotesk', sans-serif;
    }
}
