/* ApopkaFarm Website - Modern Bold Design */

/* Color Palette */
:root {
    --black: #0A0A0A;
    --white: #FFFFFF;
    --primary-green: #00C851;
    --accent-orange: #FF6B35;
    --warm-yellow: #FFD23F;
    --earth-brown: #8B4513;
    --fresh-mint: #2ECC71;
    --sunset-pink: #FF69B4;
    --cream: #FFF8E1;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --gray-900: #212529;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        #00C851 0%, 
        #2ECC71 25%, 
        #FFD23F 50%, 
        #FF6B35 75%, 
        #FF69B4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.float-item:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.float-item:nth-child(2) { top: 25%; right: 15%; animation-delay: 1.2s; }
.float-item:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2.4s; }
.float-item:nth-child(4) { top: 60%; right: 25%; animation-delay: 3.6s; }
.float-item:nth-child(5) { bottom: 15%; right: 10%; animation-delay: 4.8s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    margin: 0;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    text-shadow: 4px 4px 16px rgba(0, 0, 0, 0.5);
}

.title-line.highlight {
    background: linear-gradient(45deg, #FFD23F, #FF6B35, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 3rem 0;
    opacity: 0.95;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--primary-green), var(--fresh-mint));
    color: var(--white);
    box-shadow: 0 8px 32px rgba(0, 200, 81, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 200, 81, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.cta-button.outline {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.cta-button.outline:hover {
    background: var(--black);
    color: var(--white);
}

.cta-button.full-width {
    width: 100%;
}

.button-icon {
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--warm-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    color: var(--black);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--gray-600);
    margin: 0;
}

.section-label {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-bottom: 4rem;
}

.products-grid .product-card:first-child {
    grid-row: 1 / 3;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.product-card.large-card {
    grid-row: span 2;
}

.product-visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-card .product-visual {
    height: 300px;
}

.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--fresh-mint));
    z-index: 0; /* Ensure background sits behind image */
}

.product-bg.honey {
    background: linear-gradient(135deg, var(--warm-yellow), var(--accent-orange));
}

.product-bg.herbs {
    background: linear-gradient(135deg, var(--fresh-mint), var(--primary-green));
}

.product-emoji {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.2));
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--black);
}

.product-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.farm-promise {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-green), var(--fresh-mint));
    color: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.promise-content {
    flex: 1;
    padding-right: 2rem;
}

.promise-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.promise-visual {
    flex-shrink: 0;
}

.promise-badge {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promise-badge span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-icon {
    font-size: 2rem;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 1.5rem 0;
    color: var(--black);
    line-height: 1.1;
}

.about-content > p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.story-points {
    margin-bottom: 3rem;
}

.story-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.point-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.point-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--black);
}

.point-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    background: var(--gray-100);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.visual-card.farmers {
    background: linear-gradient(135deg, var(--accent-orange), var(--warm-yellow));
    color: var(--white);
}

.visual-card.location {
    background: linear-gradient(135deg, var(--primary-green), var(--fresh-mint));
    color: var(--white);
}

.visual-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.visual-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.visual-card p {
    margin: 0;
    opacity: 0.9;
}

/* Events Section */
.events-section {
    padding: 6rem 0;
    background: var(--cream);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.event-card.featured {
    border: 2px solid var(--accent-orange);
    background: linear-gradient(135deg, var(--white) 0%, #FFF8F0 100%);
}

.event-date {
    text-align: center;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 10px;
    padding: 1rem;
    flex-shrink: 0;
    width: 80px;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--black);
}

.event-time {
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.event-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gray-200);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

.seasonal-programs {
    text-align: center;
    margin-top: 4rem;
}

.seasonal-programs h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 2rem 0;
    color: var(--black);
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.season-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.season-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.season-item.spring { border-top: 4px solid var(--primary-green); }
.season-item.summer { border-top: 4px solid var(--warm-yellow); }
.season-item.fall { border-top: 4px solid var(--accent-orange); }
.season-item.winter { border-top: 4px solid var(--gray-600); }

.season-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.season-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--black);
}

.season-item p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 1.5rem 0;
    color: var(--black);
    line-height: 1.1;
}

.contact-info > p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--black);
}

.contact-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

.contact-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--fresh-mint);
}

.form-container {
    background: var(--gray-100);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    color: var(--black);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 200, 81, 0.1);
}

.form-input:hover {
    border-color: var(--gray-600);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-weight: 500;
}

.visit-cta {
    background: linear-gradient(135deg, var(--accent-orange), var(--sunset-pink));
    color: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}

.cta-content p {
    font-size: 1.2rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title .title-line {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .seasons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .farm-promise {
        flex-direction: column;
        text-align: center;
    }
    
    .promise-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .about-content h2,
    .contact-info h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .floating-elements {
        display: none;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .seasons-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        align-self: center;
        width: auto;
        display: inline-block;
    }
}

/* Navigation Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    overflow: visible; /* allow logo to overhang bottom if needed */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px; /* increased to accommodate larger logo */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--black);
    gap: 0.75rem;
}

.logo-img {
    width: 96px;   /* bigger logo */
    height: 96px;  /* bigger logo */
    object-fit: contain; /* avoid cropping logo text */
    border-radius: 8px;  /* avoid circular crop so text stays readable */
    margin-top: 6px;     /* push down so it doesn't crop at the very top */
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--black);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

/* Icon utility for header */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    fill: currentColor;
    vertical-align: middle;
}

/* Product Image Styles */
.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    position: relative; /* Make image part of stacking context */
    z-index: 2; /* Place image above .product-bg */
}

.large-card .product-image {
    height: 240px;
}

.product-visual:hover .product-image {
    transform: scale(1.05);
}

/* Footer Styles */
.footer {
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Main Content Spacing for Fixed Header */
.main-content {
    margin-top: 70px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 72px;  /* larger on mobile too */
        height: 72px;
        object-fit: contain;
        border-radius: 8px;
        margin-top: 4px;
    }
    .nav-container {
        height: 80px; /* slightly smaller header on mobile */
    }
    .main-content {
        margin-top: 80px; /* keep content below fixed header on mobile */
    }
}

