/* ====================================
   HOME PAGE STYLES - Food2Grow
   ==================================== */

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #FFFFF0 0%, #f0f9ff 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}


    50% { transform: translate(20px, 20px); }
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
}

.hero-visual {
    position: relative;
}

.hero-video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 3px solid var(--white);
    background-color: var(--white);
    aspect-ratio: 16 / 9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* 3D effect: schuin naar links */
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transform-style: preserve-3d;
}

.hero-video-wrapper:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(1deg) translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.hero-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Info Sections */
.info-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.info-section:nth-child(even) {
    background-color: #fafafa;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.info-grid:last-child {
    margin-bottom: 0;
}

.info-content h2 {
    margin-bottom: 1.5rem;
}

.info-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.info-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.info-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.info-image {
    background: linear-gradient(135deg, #e0e7ff 0%, #fae8ff 100%);
    width: 100%;
    height: 400px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #94a3b8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* 3D effect: schuine oriëntatie */
    transform-style: preserve-3d;
}

/* Afwisselend links en rechts schuin */
.info-grid:nth-child(odd) .info-image {
    transform: perspective(1000px) rotateY(-8deg) rotateX(-2deg);
}

.info-grid:nth-child(even) .info-image {
    transform: perspective(1000px) rotateY(8deg) rotateX(-2deg);
}

/* Override voor specifieke slide-in classes */
.info-image.slide-in-left {
    transform: perspective(1000px) rotateY(8deg) rotateX(-2deg) !important;
}

.info-image.slide-in-right {
    transform: perspective(1000px) rotateY(-8deg) rotateX(-2deg) !important;
}

.info-image:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-grid:nth-child(odd) .info-image:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(-1deg) scale(1.02);
}

.info-grid:nth-child(even) .info-image:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(-1deg) scale(1.02);
}

/* Override hover voor specifieke slide-in classes */
.info-image.slide-in-left:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(-1deg) scale(1.02) !important;
}

.info-image.slide-in-right:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(-1deg) scale(1.02) !important;
}

.info-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
}

.info-image:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

}

/* Impact Section */
.impact-section {
    padding: var(--section-padding);
    text-align: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2E8B57 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-medium);
    font-weight: 500;
    text-align: center;
}

/* Donation Section - Modern Design */
.donate-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    color: var(--text-dark);
    padding: 100px 20px;
    text-align: center;
    border-radius: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.donate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="%232E8B57" opacity="0.05"/></svg>');
    pointer-events: none;
}

.donate-section h2 {
    color: var(--primary-green);
    font-size: 2.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.donate-section > .container > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-medium);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Toggle Switch voor Eenmalig / Maandelijks */
.donate-toggle {
    display: inline-flex;
    background: var(--white);
    border-radius: 50px;
    padding: 6px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.donate-toggle input[type="radio"] {
    display: none;
}

.donate-toggle label {
    padding: 12px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-medium);
    position: relative;
    z-index: 2;
}

.donate-toggle input[type="radio"]:checked + label {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

/* Donation Cards */
.donate-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.donate-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.donate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.donate-card.active {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.donate-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.donate-label {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.donate-impact {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.5;
}

/* Custom Amount */
.custom-amount-wrapper {
    max-width: 400px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.custom-amount-input {
    width: 100%;
    padding: 16px 24px;
    padding-left: 50px;
    font-size: 1.25rem;
    border: 3px solid var(--gray-light);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.custom-amount-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
}

.currency-symbol {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-medium);
    pointer-events: none;
}

/* CTA Button */
.donate-cta {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.donate-cta .btn {
    padding: 18px 48px;
    font-size: 1.125rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #16a34a 100%);
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.3);
}

.donate-cta .btn:hover {
    box-shadow: 0 12px 32px rgba(46, 139, 87, 0.4);
    transform: translateY(-3px);
}

.donate-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Payment Logos */
.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 3rem;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.payment-icon {
    height: 30px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.payment-icon:hover {
    filter: grayscale(0%);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding: 80px 20px 60px;
        min-height: auto;
    }
    
    .info-grid.reverse-mobile {
        direction: rtl;
    }
    
    .info-grid.reverse-mobile > * {
        direction: ltr;
    }
    
    /* Reset 3D effects on mobile for images */
    .info-image,
    .info-grid:nth-child(odd) .info-image,
    .info-grid:nth-child(even) .info-image {
        transform: none !important;
    }
    
    .hero-video-wrapper {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .info-section {
        padding: 60px 20px;
        text-align: center;
    }
    
    .info-content {
        text-align: center;
    }
    
    .info-content ul {
        text-align: left;
        display: inline-block;
    }
    
    .info-image {
        height: 300px;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .donate-section {
        padding: 60px 20px;
    }
    
    .donate-section h2 {
        font-size: 2rem;
    }
    
    .donate-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .donate-toggle label {
        width: 100%;
        text-align: center;
    }
    
    .donate-cards {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat {
        padding: 2rem 1.5rem;
    }
    
    .donate-amount {
        font-size: 2rem;
    }
}
