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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #fefdf8;
    color: #1f3513;
    overflow-x: hidden;
}

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #F0A500);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2EC4B6, #4a7c2e);
    bottom: 20%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #F0A500;
    top: 40%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #FF6B6B;
    top: 30%;
    left: 5%;
    transform: rotate(15deg);
    animation: rotate 12s linear infinite;
}

.square-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2EC4B6, #4a7c2e);
    bottom: 15%;
    right: 10%;
    border-radius: 20px;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite reverse;
}

.line-1 {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F0A500, transparent);
    top: 25%;
    right: 5%;
    border-radius: 2px;
    animation: slide 4s ease-in-out infinite;
}

.line-2 {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FF6B6B, transparent);
    bottom: 30%;
    left: 8%;
    border-radius: 2px;
    animation: slide 5s ease-in-out infinite reverse;
}

.dot-grid {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 25%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    opacity: 0.2;
}

.dot-grid span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F0A500;
}

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

@keyframes rotate {
    from { transform: rotate(15deg); }
    to { transform: rotate(375deg); }
}

@keyframes slide {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(30px); opacity: 1; }
}

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

/* Scroll Gallery */
.animate-scroll {
    display: flex;
    gap: 1rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

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

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

.nav-link {
    position: relative;
}

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

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

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

#navbar.scrolled .nav-link:hover {
    color: #4a7c2e;
}

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

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* Collection Cards */
.collection-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
}

/* Why Cards */
.why-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

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

/* 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-scroll {
        animation: none;
    }
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 3px solid #4a7c2e;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4a7c2e;
}
