/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    min-height: 100vh;
}

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

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

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(26, 77, 46, 0.08);
}

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

#navbar.scrolled .nav-logo-text {
    color: #1a4d2e;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a84b;
    transition: width 0.3s ease;
}

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

#navbar.scrolled .nav-link {
    color: #1a4d2e;
}

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.15) 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(255, 255, 255, 0.05) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: rgba(212, 168, 75, 0.1);
    top: 30%;
    left: 15%;
    animation: float-medium 10s ease-in-out infinite;
}

.geo-circle-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-circle-5 {
    width: 350px;
    height: 350px;
    background: rgba(26, 77, 46, 0.05);
    top: -50px;
    left: -50px;
    animation: float-medium 12s ease-in-out infinite reverse;
}

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

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(196, 98, 58, 0.12);
    border-radius: 20px;
    top: 20%;
    right: 8%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(212, 168, 75, 0.08);
    border-radius: 16px;
    bottom: 15%;
    left: 10%;
    transform: rotate(30deg);
    animation: spin-slow 20s linear infinite reverse;
}

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

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(212, 168, 75, 0.08);
    top: 15%;
    left: 3%;
    animation: float-medium 14s ease-in-out infinite;
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 78px solid rgba(26, 77, 46, 0.06);
    bottom: 20%;
    right: 5%;
    transform: rotate(180deg);
    animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-dots {
    position: absolute;
    top: 25%;
    right: 25%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    pointer-events: none;
}

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

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

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

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

.marquee-content {
    display: inline-block;
    padding-left: 2rem;
}

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

/* ── Product Cards ── */
.product-card {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@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);
    }

    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ── Mobile Menu ── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ── Utility ── */
@media (max-width: 767px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
}
