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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #fdf9f0;
    color: #064e3b;
    overflow-x: hidden;
}

::selection {
    background: #34d399;
    color: #064e3b;
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(253, 249, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

#navbar.scrolled {
    background: rgba(253, 249, 240, 0.95);
    box-shadow: 0 4px 30px rgba(6, 78, 59, 0.08);
}

/* ===== Hero Shapes ===== */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    opacity: 0.5;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
    top: 60%;
    left: 15%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    opacity: 0.2;
    animation: float-slow 6s ease-in-out infinite reverse;
}

.shape-square-1 {
    top: 20%;
    right: 3%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    opacity: 0.15;
    border-radius: 24px;
    transform: rotate(45deg);
    animation: float-slow 7s ease-in-out infinite;
}

.shape-triangle-1 {
    bottom: 20%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(110, 231, 183, 0.2);
    animation: float-slow 9s ease-in-out infinite reverse;
}

.shape-dots {
    top: 40%;
    left: 2%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #34d399 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.3;
}

/* ===== Floating Cards ===== */
.floating-card {
    animation: float-card 4s ease-in-out infinite;
}

.card-bread {
    animation-delay: 0s;
}

.card-coffee {
    animation-delay: 1.3s;
}

.card-organic {
    animation-delay: 2.6s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

/* ===== Product Cards ===== */
.product-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* ===== 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-link {
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 180px;
        height: 180px;
    }
    
    .shape-circle-2 {
        width: 100px;
        height: 100px;
    }
    
    .shape-square-1 {
        width: 80px;
        height: 80px;
    }
    
    .shape-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 69px solid rgba(110, 231, 183, 0.2);
    }
    
    .floating-card {
        display: none;
    }
}
