/* ===================================
   FRESHLY SIMPLE - Design System
   Colors: Green, Yellow, White
   =================================== */

/* CSS Variables */
:root {
    /* Primary Colors - from logo */
    --primary-green: #3cb371;
    --primary-green-dark: #2e8b57;
    --primary-yellow: #f0b323;
    --primary-yellow-dark: #d4a017;
    --primary-yellow-light: #ffd700;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8faf8;
    --light-gray: #f0f4f0;
    --gray: #6b7280;
    --dark: #1a1a2e;

    /* Accent Colors for Products */
    --watermelon: #e74c3c;
    --pineapple: #f1c40f;
    --apple: #c0392b;
    --orange: #e67e22;
    --grape: #9b59b6;
    --mixed-fruit: #e91e63;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    --gradient-yellow: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    --gradient-fresh: linear-gradient(135deg, #a8e6cf 0%, #3cb371 50%, #2e8b57 100%);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-script: 'Dancing Script', cursive;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(60, 179, 113, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 100px;
    width: auto;
}

.logo-text {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--primary-yellow);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-yellow);
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-cta {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--off-white) 0%, #e8f5e9 50%, #fff9e6 100%);
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(60, 179, 113, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(240, 179, 35, 0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -30px) rotate(5deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary-green);
}

.hero-text h1 .highlight-yellow {
    color: var(--primary-yellow);
    font-family: var(--font-script);
    font-size: 4rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-hero);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(60, 179, 113, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(60, 179, 113, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Floating Elements */
.floating-fruit {
    position: absolute;
    animation: fruitFloat 4s ease-in-out infinite;
    z-index: 2;
}

.floating-fruit:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-fruit:nth-child(2) {
    top: 20%;
    right: 5%;
    animation-delay: 1s;
}

.floating-fruit:nth-child(3) {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes fruitFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

/* ===================================
   SECTIONS COMMON STYLES
   =================================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(60, 179, 113, 0.1) 0%, rgba(240, 179, 35, 0.1) 100%);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-title span {
    color: var(--primary-green);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   PRODUCTS GRID
   =================================== */
.products-section {
    background: var(--off-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
}

.product-card.watermelon::before {
    background: var(--watermelon);
}

.product-card.pineapple::before {
    background: var(--pineapple);
}

.product-card.apple::before {
    background: var(--apple);
}

.product-card.orange::before {
    background: var(--orange);
}

.product-card.grape::before {
    background: var(--grape);
}

.product-card.mixed::before {
    background: var(--mixed-fruit);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-description {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
}

.product-link:hover {
    gap: 12px;
    color: var(--primary-green-dark);
}

.product-link svg {
    transition: var(--transition-fast);
}

/* ===================================
   FEATURES / WHY CHOOSE US
   =================================== */
.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card>* {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover * {
    color: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-yellow);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--white);
    color: var(--primary-green);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-text {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.categories-section .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.categories-section .section-title,
.categories-section .section-subtitle {
    color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-yellow);
    font-weight: 600;
}

.category-link:hover {
    color: var(--white);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-yellow);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--primary-green);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-hero);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ===================================
   PAGE HEADERS
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition-normal);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h1 .highlight-yellow {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text h1 .highlight-yellow {
        font-size: 2.2rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        padding: 25px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease forwards;
}

/* Staggered animations */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}