/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ── Geometric Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px; height: 500px;
    background: #fde047;
    border-radius: 50%;
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}
.geo-circle-2 {
    width: 300px; height: 300px;
    background: #facc15;
    border-radius: 50%;
    bottom: 10%; left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}
.geo-circle-3 {
    width: 150px; height: 150px;
    background: #fde047;
    border-radius: 50%;
    top: 30%; left: 10%;
    animation: float 6s ease-in-out infinite;
}
.geo-circle-4 {
    width: 400px; height: 400px;
    background: #fde047;
    border-radius: 50%;
    bottom: -150px; right: -100px;
    animation: float 12s ease-in-out infinite;
}
.geo-circle-5 {
    width: 350px; height: 350px;
    background: #fde047;
    border-radius: 50%;
    top: -100px; right: -50px;
    animation: float 9s ease-in-out infinite reverse;
}
.geo-square-1 {
    width: 120px; height: 120px;
    background: #fde047;
    top: 20%; right: 15%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}
.geo-square-2 {
    width: 80px; height: 80px;
    background: #fde047;
    top: 15%; left: 20%;
    transform: rotate(20deg);
    animation: spin 15s linear infinite reverse;
}
.geo-triangle-1 {
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #fde047;
    top: 40%; right: 5%;
    opacity: 0.06;
    animation: float 7s ease-in-out infinite;
}
.geo-dots {
    background-image: radial-gradient(circle, #fde047 1px, transparent 1px);
    background-size: 20px 20px;
    width: 200px; height: 200px;
    top: 60%; left: 5%;
    opacity: 0.15;
}
.geo-dots-2 {
    background-image: radial-gradient(circle, #fde047 1px, transparent 1px);
    background-size: 16px 16px;
    width: 160px; height: 160px;
    bottom: 10%; left: 40%;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Hero Animations ── */
.hero-content {
    animation: heroFadeIn 1s ease-out forwards;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Indicator ── */
.scroll-dot {
    animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 0; }
    50% { top: 16px; }
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape { animation: none !important; }
    .scroll-dot { animation: none !important; }
    .hero-content { animation: none; opacity: 1; transform: none; }
    .reveal { transition: none; }
    html { scroll-behavior: auto; }
}

/* ── Service Cards ── */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ── Nav Scrolled State ── */
#nav[data-scrolled="true"] {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

/* ── Mobile Menu ── */
.mobile-link {
    transition: color 0.2s ease;
}
.mobile-link:hover {
    color: #e8562b;
}

/* ── Image Hover ── */
img {
    display: block;
    max-width: 100%;
}
