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

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

body {
    min-height: 100vh;
}

/* ===== Animated Background Blobs ===== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #87c37e;
    top: -100px;
    right: -100px;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #e2b857;
    bottom: 20%;
    left: -100px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #d4764e;
    top: 60%;
    right: 10%;
    animation: blobFloat 18s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

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

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(226, 184, 87, 0.3);
    top: 10%;
    right: 5%;
    animation: geoSpin 30s linear infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: rgba(212, 118, 78, 0.15);
    bottom: 20%;
    left: 5%;
    animation: geoFloat 8s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-rect-1 {
    width: 80px;
    height: 80px;
    background: rgba(226, 184, 87, 0.2);
    top: 30%;
    left: 15%;
    transform: rotate(45deg);
    animation: geoFloat 6s ease-in-out infinite;
}

.geo-rect-2 {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(135, 195, 126, 0.4);
    bottom: 30%;
    right: 20%;
    transform: rotate(20deg);
    animation: geoSpin 20s linear infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.geo-triangle-1 {
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(226, 184, 87, 0.15);
    top: 25%;
    right: 10%;
    animation: geoFloat 7s ease-in-out infinite;
}

@keyframes geoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ===== Hero Photos ===== */
.hero-photo {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hero-photo-1 {
    width: 180px;
    height: 140px;
    top: 15%;
    left: 5%;
    animation: heroPhotoFloat 10s ease-in-out infinite;
}

.hero-photo-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-2 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 12%;
    animation: heroPhotoFloat 12s ease-in-out infinite reverse;
}

.hero-photo-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-3 {
    width: 140px;
    height: 100px;
    top: 40%;
    right: 3%;
    animation: heroPhotoFloat 9s ease-in-out infinite;
}

.hero-photo-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* ===== Navigation ===== */
.nav-fixed {
    background: rgba(253, 252, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
}

.nav-fixed.scrolled {
    background: rgba(253, 252, 247, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #166534;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-logo-text {
    transition: color 0.3s ease;
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #166534;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-link:hover::after {
    width: 60%;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* ===== Button Hover Effects ===== */
a {
    transition: all 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1a5219;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #166534;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .animate-marquee {
        animation: none;
    }
}

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

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

    .blob {
        filter: blur(60px);
        opacity: 0.3;
    }

    .blob-1 {
        width: 300px;
        height: 300px;
    }

    .blob-2 {
        width: 250px;
        height: 250px;
    }

    .blob-3 {
        width: 200px;
        height: 200px;
    }
}

/* ===== Small Mobile ===== */
@media (max-width: 360px) {
    .hero-photo {
        display: none;
    }
}
