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

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

body {
    margin: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: #f59e0b;
    top: 30%;
    right: 40%;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: #10b981;
    top: 60%;
    left: 10%;
    transform: rotate(45deg);
    opacity: 0.06;
    animation: rotate 30s linear infinite;
}

.geo-rect-2 {
    width: 120px;
    height: 120px;
    background: #f59e0b;
    top: 20%;
    left: 30%;
    transform: rotate(20deg);
    opacity: 0.05;
    animation: rotate 25s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #10b981;
    top: 45%;
    right: 15%;
    opacity: 0.08;
    animation: float 18s ease-in-out infinite;
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #34d399 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 15%;
    left: 20%;
    opacity: 0.2;
}

.geo-circle-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #059669 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 22s ease-in-out infinite;
}

.geo-rect-3 {
    width: 160px;
    height: 160px;
    background: #f59e0b;
    top: 20%;
    right: 10%;
    transform: rotate(30deg);
    opacity: 0.08;
    animation: rotate 35s linear infinite;
}

.geo-circle-5 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #047857 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 18s ease-in-out infinite reverse;
}

.geo-rect-4 {
    width: 100px;
    height: 100px;
    background: #10b981;
    bottom: 20%;
    left: 5%;
    transform: rotate(60deg);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.geo-circle-6 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
    top: -100px;
    right: -50px;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 16s ease-in-out infinite;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    background: #f59e0b;
    bottom: 10%;
    left: 15%;
    transform: rotate(45deg);
    opacity: 0.08;
    animation: rotate 28s linear infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

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

/* Marquee */
.marquee-track {
    animation: marquee 30s linear infinite;
}

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

/* Navbar */
#navbar {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.1);
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.98);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.1);
}

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

#mobile-menu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu.open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 5px;
    margin-left: 0;
    margin-right: 0;
}

/* Offer cards */
.offer-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(6, 78, 59, 0.3);
}

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .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; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Selection color */
::selection {
    background: #10b981;
    color: white;
}
