/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Hero Geometric Shapes ── */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 420px;
    height: 420px;
    border: 2px solid rgba(251, 191, 36, 0.15);
    border-radius: 50%;
    top: -80px;
    left: -120px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(251, 191, 36, 0.08);
    border-radius: 50%;
    top: 20%;
    right: 5%;
    animation: float-medium 14s ease-in-out infinite;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    bottom: 15%;
    left: 8%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 16px;
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
    animation: float-medium 16s ease-in-out infinite;
}

.shape-square-2 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    bottom: 25%;
    right: 10%;
    transform: rotate(20deg);
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(251, 191, 36, 0.08);
    top: 60%;
    right: 15%;
    animation: float-medium 12s ease-in-out infinite;
}

.shape-dots {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 25%;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.3) 1px, transparent 1px);
    background-size: 12px 12px;
    animation: float-slow 25s ease-in-out infinite;
}

/* ── Animations ── */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes scroll-line {
    0% { transform: translateY(-8px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(8px); opacity: 0; }
}

.scroll-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 1px;
    transform: translateY(-8px);
    animation: scroll-line 1.5s ease-in-out infinite;
}

/* ── 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; }
}

/* Fallback: always visible if JS disabled or prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Navbar Scroll State ── */
.navbar-scrolled {
    background: rgba(250, 245, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(110, 47, 75, 0.08);
}

/* ── Mobile Menu Transitions ── */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ── Service Card Stagger (JS-enhanced) ── */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .service-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #a35476;
    outline-offset: 2px;
    border-radius: 4px;
}
</style>
