/* Custom Styles */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    -webkit-font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Responsive Container Fixes */
@media (max-width: 640px) {
    .max-w-container-max-width {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Responsive Grid Fixes */
@media (max-width: 768px) {
    .grid-cols-12 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .md\\:col-span-4,
    .md\\:col-span-6,
    .md\\:col-span-8,
    .md\\:col-span-3,
    .md\\:col-span-2 {
        grid-column: span 12;
    }
    
    .lg\\:col-span-5,
    .lg\\:col-span-7,
    .lg\\:col-span-8 {
        grid-column: span 12;
    }
}

/* Responsive Flex Fixes */
@media (max-width: 768px) {
    .md\\:flex {
        display: flex;
    }
    
    .md\\:flex-row {
        flex-direction: column;
    }
    
    .md\\:items-center {
        align-items: stretch;
    }
    
    .md\\:justify-between {
        justify-content: flex-start;
    }
    
    .md\\:gap-10,
    .md\\:gap-12,
    .md\\:gap-16,
    .md\\:gap-24 {
        gap: 16px;
    }
}

/* Responsive Text Sizing */
@media (max-width: 640px) {
    .text-display-lg {
        font-size: 32px;
        line-height: 40px;
    }
    
    .text-headline-lg {
        font-size: 24px;
        line-height: 32px;
    }
    
    .text-headline-md {
        font-size: 20px;
        line-height: 28px;
    }
    
    .text-body-lg {
        font-size: 16px;
        line-height: 24px;
    }
}

/* Responsive Image Fixes */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .aspect-video,
    [class*="aspect-"] {
        aspect-ratio: auto;
        height: auto;
    }
}

/* Responsive Spacing Fixes */
@media (max-width: 640px) {
    .py-section-padding {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    
    .px-margin-desktop {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .gap-gutter {
        gap: 16px;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
}

.bento-item-4 { grid-column: span 12; }

@media (min-width: 768px) {
    .bento-item-4 { grid-column: span 4; }
    .bento-item-6 { grid-column: span 6; }
    .bento-item-8 { grid-column: span 8; }
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3), 0 4px 8px -2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.text-shadow-premium {
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.glass-nav {
    background: rgba(248, 249, 255, 0.95);
    background: rgba(248, 249, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.polyculture-gradient {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 25%, #3d6b4f 50%, #4a7c5f 75%, #5a8d6f 100%);
}

.section-padding-compact {
    padding-top: 32px;
    padding-bottom: 32px;
}

.heritage-gradient {
    background: linear-gradient(135deg, #0F3D2E 0%, #00261a 100%);
}

.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

/* Timeline Styles */
.timeline-line {
    position: relative;
    padding-left: 40px;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #476800, #00261a);
}

@media (max-width: 767px) {
    .timeline-line::after {
        left: 20px;
    }
}

/* Step Styles */
.step-line {
    position: relative;
    padding-left: 0;
}

.step-line::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -48px;
    width: 2px;
    background: #476800;
}

.step-line:last-child::before {
    display: none;
}

/* Donation Step Styles */
.donation-step { display: none; }
.donation-step.active { display: block; }

/* Form Styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(188, 244, 94, 0.3);
}

/* Conveyor Belt Animation */
.conveyor-belt {
    overflow: hidden;
    position: relative;
}

.conveyor-belt-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.conveyor-belt-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex-shrink: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    position: relative;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    height: 120px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

.partner-logo-name {
    font-size: 12px;
    font-weight: 600;
    color: #121c2a;
    margin-top: 8px;
    text-align: center;
    display: none;
}

/* Donor logos - keep colored */
.partner-logo.donor-logo {
    opacity: 1;
}

.partner-logo.donor-logo img {
    filter: none;
}

.partner-logo.donor-logo:hover img {
    filter: none;
}
