/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ── Navbar ── */
#navbar {
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ── Service cards ── */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ── Floating animation ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* ── Dot decorations ── */
.dot-decoration {
    animation: float 3s ease-in-out infinite;
}

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

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

/* ── Form focus styles ── */
input:focus, select:focus, textarea:focus {
    border-color: #4a7a35 !important;
    box-shadow: 0 0 0 3px rgba(74, 122, 53, 0.12);
}

/* ── Selection ── */
::selection {
    background: #dce9da;
    color: #1e3317;
}

/* ── Smooth scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf9ed; }
::-webkit-scrollbar-thumb { background: #d4b8a0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b09675; }
