* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: #0a1f12;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.7; 
    }
}

/* Navbar Styles */
.navbar {
    background: rgba(0, 46, 6, 0.32);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e94560, #ff6f61);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Navigation Links - Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-item {
    margin-left: 2rem;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e94560, #ff6f61);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #e94560;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

   .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a1f12;
        flex-direction: column;
        align-items: center;
        padding: 0.1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-item {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 1rem;
    }
}

/* Hero Section */
.hero-section {
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A, #CDDC39);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        filter: hue-rotate(0deg); 
    }
    50% { 
        filter: hue-rotate(30deg); 
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* Gallery Stats */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(76, 175, 80, 0.1);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Harvest Chronicle Section */
.harvest-chronicle-section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A, #CDDC39);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 60px;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: scroll;
    overflow-y: hidden; 
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    position: relative;
    scroll-snap-type: x mandatory;
}

.timeline-container::-webkit-scrollbar {
    height: 8px;
}
.timeline-container::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.5);
    border-radius: 10px;
}
.timeline-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.timeline {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    padding: 0 20px;
}

.timeline-item {
    flex-shrink: 0;
    width: 80vw;
    max-width: 400px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Original timeline image styles */
.timeline-item > .timeline-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.8;
}

.timeline-item:hover > .timeline-image {
    transform: scale(1.05);
    opacity: 1;
}

/* New timeline image styles (image inside content div) */
.timeline-item .timeline-content .timeline-image {
    height: 200px; /* You can adjust this height */
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    /* You can add a transition here if you want an effect on hover */
}

.timeline-content {
    padding: 25px;
    flex-grow: 1;
}

.timeline-title {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Wiggled Arrow Styles */
#wiggled-arrow-container {
    position: absolute;
    top: 50%;
    left: 22vh;
    width: 130%;
    height: 110%;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

.wiggled-arrow {
    width: 100%;
    height: 100%;
}

.wiggled-path {
    fill: none;
    stroke: rgba(76, 175, 80, 0.6);
    stroke-width: 3;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 2s ease forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}




/* CATEGORII / PRODUSE */

.categories {
  background: var(--color-primary);
  padding: 5rem 0;
  text-align: center;
}

.section__title {
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.section__description {
  color: var(--color-text);
  margin-bottom: 3rem;
  font-size: 1.2rem;
  opacity: 0.8;
}

.category__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 0 5rem;
}

.category {
  background: rgba(76, 175, 80, 0.5);
  padding: 2.5rem;
  border-radius: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--color-hover);
}

.category:hover {
  background: transparent;
  border-color:rgba(76, 175, 80, 0.6);
}

.category__icon {
  background: var(--color-primary);
  padding: 1.5rem;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-text);
  font-size: 2rem;
}

.category h5 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.category p {
  color: var(--color-text);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* For better responsiveness on smaller screens */
@media screen and (max-width: 768px) {
  .category__grid {
    padding: 0 2rem;
  }
}

   .chart-section {
            text-align: center;
            margin: 60px 0;
        }

        .chart-container {
            max-width: 500px;
            margin: 0 auto;
            position: relative;
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .chart-title {
            font-size: 1.8rem;
            color: #a8d4a8;
            margin-bottom: 30px;
            font-weight: 300;
        }



        @media (max-width: 480px) {

            .chart-container {
                max-width: 100%;
                padding: 10px;
            }

            .chart-title {
                font-size: 1.4rem;
            }
        }

/* Enhanced Gallery */
.gallery-section {
    padding: 0 20px 80px;
    position: relative;
    text-align: center; 
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    transition: left 0.5s ease;
    opacity: 0.3;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active,
.filter-btn:hover {
    background: #4CAF50;
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-box {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    aspect-ratio: 1/1;
    border: 1px solid rgba(76, 175, 80, 0.2);
    backdrop-filter: blur(10px);
}

.gallery-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(139, 195, 74, 0.3));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.gallery-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #4CAF50;
}

.gallery-box:hover::before {
    opacity: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-box:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.gallery-box:hover .gallery-overlay {
    transform: translateY(0);
}

.overlay-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Enhanced Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(76, 175, 80, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: #4CAF50;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    background: rgba(76, 175, 80, 0.8);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.close:hover {
    background: #4CAF50;
    transform: rotate(90deg) scale(1.1);
    border-color: white;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.1); 
    }
}



/* Mobile Menu Styles */


    /* Hide the wiggled arrow on smaller screens to avoid layout issues */
    #wiggled-arrow-container {
        display: none;
    }


@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px 30px;
    }

    .gallery-stats {
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
        min-width: 100px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .close, .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }

    .timeline-container {
        overflow-x: scroll;
    }

    .timeline {
        flex-direction: row;
    }

    .timeline-item {
        width: 300px; /* Adjust as needed for mobile view */
    }
}

/* FOOTER */
