/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; }

/* ── Custom Properties ── */
:root {
    --terracotta: #C05A3A;
    --terracotta-dark: #A8482E;
    --sand: #F5E6D0;
    --sand-light: #FDF6EC;
    --dark: #1A1A1A;
}

/* ── Nav ── */
.nav {
    background: rgba(253, 246, 236, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(192, 90, 58, 0.08);
}
.nav.scrolled {
    background: rgba(253, 246, 236, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu.closed { opacity: 0; pointer-events: none; }
.menu-line.open-1 { transform: rotate(45deg) translate(4px, 4px); }
.menu-line.open-2 { opacity: 0; }
.menu-line.open-3 { width: 20px; margin-left: 0; }

/* ── Hero ── */
.hero { background: var(--sand-light); }
.hero-headline { line-height: 0.95; }

/* ── Floating Animation ── */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(3deg); }
    66% { transform: translateY(6px) rotate(-2deg); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* ── Service Cards ── */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }

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

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

/* ── Utility ── */
.sm\:hidden { @media (min-width: 640px) { display: none; } }
