/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Navbar transition ────────────────────────────── */
.nav-link { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
#navbar.scrolled {
    background: rgba(4, 47, 46, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.2);
}

/* ── Buttons ──────────────────────────────────────── */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #2dd4bf;
    color: #042f2e;
}
.btn-primary:hover {
    background: #5eead4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.35);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

/* ── Hero Animations ──────────────────────────────── */
.hero-subtitle { animation: fadeUp 0.8s ease 0.3s forwards; }
.hero-title { animation: fadeUp 0.8s ease 0.5s forwards; }
.hero-desc { animation: fadeUp 0.8s ease 0.7s forwards; }
.hero-cta { animation: fadeUp 0.8s ease 0.9s forwards; }

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

/* ── Scroll Indicator ─────────────────────────────── */
.scroll-indicator {
    display: block;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-8px) translateX(-50%); }
    60% { transform: translateY(-4px) translateX(-50%); }
}

/* ── Service Cards ────────────────────────────────── */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ── Gallery Items ────────────────────────────────── */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* ── Testimonial Cards ────────────────────────────── */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* ── Scroll Reveal (progressive enhancement) ──────── */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile Menu ──────────────────────────────────── */
.mobile-nav-link {
    transition: color 0.3s ease;
}

/* ── Contact Form ─────────────────────────────────── */
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .hero-title { font-size: 2.25rem; }
    .btn-primary, .btn-secondary { padding: 0.8rem 1.5rem; font-size: 0.75rem; }
}
