/* ===== BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #fefdf8;
    color: #042f2e;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(4, 47, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding-top: 0;
    padding-bottom: 0;
}

#navbar.scrolled .max-w-7xl {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
}

.mobile-link:hover {
    color: #fff;
}

/* ===== HERO ===== */
#hero {
    position: relative;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ===== ITEM CARDS ===== */
.item-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(4, 47, 46, 0.2);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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; }

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

/* ===== BUTTON HOVER GLOW ===== */
button[type="submit"]:hover {
    box-shadow: 0 10px 40px rgba(4, 120, 87, 0.3) !important;
}

/* ===== GEOMETRIC DECORATIONS ===== */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .font-heading {
        font-family: 'Outfit', sans-serif;
    }
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
    background: #a7f3d0;
    color: #042f2e;
}
