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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(16, 88, 40, 0.2);
    color: #072914;
}

/* ========== NAVBAR ========== */
.nav-scrolled #navbar {
    background: rgba(253, 249, 243, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(7, 41, 20, 0.08);
}

.nav-scrolled #navbar .font-serif {
    color: #072914;
}

.nav-scrolled #navbar a:not([class*="bg-"]) {
    color: #105828;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-open #mobile-menu {
    opacity: 1;
    pointer-events: all;
    translate: 0;
}

.mobile-link {
    transition: opacity 0.3s, transform 0.3s;
}

/* ========== MARQUEE ========== */
.marquee-track {
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== GEOMETRIC SHAPES ========== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.6);
}

.geo-diamond {
    background: rgba(212, 168, 83, 0.5);
    transform: rotate(45deg);
}

.geo-triangle {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 !important;
}

.geo-ring {
    border-radius: 50%;
    border: 4px solid rgba(212, 168, 83, 0.5);
    background: transparent !important;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    left: -5%;
    animation: float-1 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation: float-2 6s ease-in-out infinite;
}

.geo-circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    animation: float-3 7s ease-in-out infinite;
}

.geo-diamond-1 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 25%;
    animation: float-2 9s ease-in-out infinite;
}

.geo-diamond-2 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    right: 5%;
    animation: float-1 10s ease-in-out infinite;
}

.geo-triangle-1 {
    top: 60%;
    left: 5%;
    animation: float-3 8s ease-in-out infinite;
}

.geo-ring-1 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 20%;
    animation: float-1 11s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-3deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* ========== SCROLL REVEAL ========== */
.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(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* ========== FORM ========== */
#contact-form input,
#contact-form textarea {
    transition: border-color 0.2s, box-shadow 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #247a40;
    box-shadow: 0 0 0 3px rgba(36, 122, 64, 0.15);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6fb885;
}
