/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ===== NAV ===== */
#site-header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#site-header.scrolled {
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 92, 58, 0.08);
}
.nav-inner { padding-top: 1rem; padding-bottom: 1rem; }

/* ===== BLOBS ===== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
    width: 400px; height: 400px;
    background: rgba(183, 220, 185, 0.5);
    top: -100px; right: -50px;
    animation-delay: 0s;
}
.blob-2 {
    width: 300px; height: 300px;
    background: rgba(217, 237, 223, 0.6);
    bottom: 10%; left: -80px;
    animation-delay: -3s;
}
.blob-3 {
    width: 200px; height: 200px;
    background: rgba(152, 196, 138, 0.3);
    top: 40%; right: 30%;
    animation-delay: -5s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ===== SERVICE CARDS ===== */
.service-card {
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ===== LISTING CARDS ===== */
.listing-card {
    transform: translateY(0);
}
.listing-card:hover {
    transform: translateY(-6px);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    transform: translateY(0);
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ===== SCROLL REVEAL (below fold only) ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== BACK TO TOP ===== */
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ===== CUSTOM SELECT ARROW ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ===== FORM FOCUS RING ===== */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 640px) {
    .blob { filter: blur(60px); opacity: 0.35; }
    .blob-1 { width: 250px; height: 250px; }
    .blob-2 { width: 180px; height: 180px; }
    .blob-3 { width: 120px; height: 120px; }
}
