/* ============================================
   THE SCOOP — Custom Styles
   Forest Green + Off-White | Vibrant Modern
   ============================================ */

/* ---------- Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #3d7a2e;
    color: #fdfcf7;
}

/* ---------- Navbar ---------- */
#navbar {
    background: rgba(253, 252, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(61, 122, 46, 0.08);
}

#navbar.scrolled {
    background: rgba(253, 252, 247, 0.95);
    box-shadow: 0 4px 24px rgba(22, 46, 16, 0.08);
}

/* ---------- Mobile Menu ---------- */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.close {
    opacity: 0;
    pointer-events: none;
}

.hamburger-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(8px);
}

#menu-toggle.active .hamburger-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ---------- Hero Geometric Shapes ---------- */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(61, 122, 46, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(61, 122, 46, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(61, 122, 46, 0.06);
    border-radius: 24px;
    top: 20%;
    right: 8%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(61, 122, 46, 0.05);
    bottom: 15%;
    left: 3%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    top: 30%;
    left: 2%;
    display: grid;
    grid-template-columns: repeat(4, 12px);
    gap: 12px;
    opacity: 0.4;
}

.geo-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3d7a2e;
}

/* ---------- Animations ---------- */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ---------- 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(32px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-32px);
    }

    .reveal-left.revealed {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(32px);
    }

    .reveal-right.revealed {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- Menu hover effects ---------- */
#menu ul li {
    transition: transform 0.2s ease;
}

#menu ul li:hover {
    transform: translateX(4px);
}

/* ---------- Form focus ---------- */
input:focus,
textarea:focus {
    border-color: #3d7a2e !important;
    box-shadow: 0 0 0 3px rgba(61, 122, 46, 0.1);
}

/* ---------- Button hover lift ---------- */
button, a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Image hover zoom ---------- */
.rounded-2xl.overflow-hidden img,
.rounded-3xl.overflow-hidden img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rounded-2xl.overflow-hidden:hover img,
.rounded-3xl.overflow-hidden:hover img {
    transform: scale(1.03);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf8f0;
}

::-webkit-scrollbar-thumb {
    background: #aed0a0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d7a2e;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }

    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }

    .geo-square {
        width: 60px;
        height: 60px;
    }

    .geo-triangle {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(61, 122, 46, 0.05);
    }

    .floating-badge {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 1rem;
        display: inline-block;
    }
}
