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

/* ── Hero Animations ── */
.hero-bg { will-change: transform; }
.hero-bg img {
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-headline {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero-sub {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}
.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.1s;
}
.hero-wave {
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.4s;
}

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

/* ── Buttons ── */
.btn-primary {
    background: linear-gradient(135deg, #FF6B4A, #E85533);
    color: #fff;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(255,107,74,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,107,74,0.45);
    background: linear-gradient(135deg, #FF8A66, #FF6B4A);
}
.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* ── CTA Buttons (coral bg) ── */
.btn-cta {
    background: #fff;
    color: #E85533;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.btn-cta-secondary {
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ── Section Typography ── */
.section-eyebrow { display: block; }
.section-title { line-height: 1.15; }
.section-desc { line-height: 1.7; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ── Service Card Hover ── */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-6px);
}

/* ── Navbar ── */
#navbar {
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
    background: rgba(19,19,26,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
#navbar.scrolled a {
    color: rgba(255,255,255,0.9) !important;
}

/* ── Mobile menu ── */
#mobileMenu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Testimonial Cards ── */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255,107,74,0.12);
}

/* ── Utility ── */
@media (max-width: 767px) {
    .section-title { font-size: 2.25rem; }
}
