/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero with Background Image */
.hero--image {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /* Offset for fixed header - content centered in visible area */
    padding-top: 80px;
}

/* If you want to see the full image without cropping, add class "hero--contain" */
.hero--contain {
    background-size: contain;
    background-position: right center;
    background-color: var(--color-black);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    z-index: 1;
}

.hero--image .container {
    position: relative;
    z-index: 2;
}

.hero--image .hero__content {
    max-width: 550px;
    color: var(--color-white);
}

.hero--image .hero__tagline {
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: var(--spacing-md);
}

.hero--image .hero__title {
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero--image .hero__description {
    font-size: var(--text-md);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    text-transform: none;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn--outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

@media (max-width: 992px) {
    .hero--image {
        min-height: 70vh;
        background-position: center;
        padding-top: 70px;
    }
    
    .hero__overlay {
        width: 100%;
        background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    }
    
    .hero--image .hero__content {
        text-align: center;
        max-width: 100%;
        padding: var(--spacing-xl) 0;
    }
    
    .hero--image .hero__title {
        font-size: 3rem;
    }
    
    .hero__buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero--image .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
}

/* Ingredients Showcase Section */
.ingredients-showcase {
    background-color: var(--color-primary-light);
    padding: 5rem 0;
}

.ingredients-showcase .section__title {
    margin-bottom: var(--spacing-xs);
}

.ingredients-showcase .section__subtitle {
    color: var(--color-gray-dark);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Bento Grid Layout */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 1.25rem;
}

/* Featured card - spans 2 columns and 2 rows */
.ingredient-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.ingredient-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 24px rgba(114, 128, 109, 0.2), 0 0 0 2px rgba(114, 128, 109, 0.1);
    transition: all 0.4s ease;
}

.ingredient-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(114, 128, 109, 0.3), 0 0 30px rgba(114, 128, 109, 0.2);
}

.ingredient-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ingredient-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ingredient-card:hover .ingredient-card__image img {
    transform: scale(1.1);
}

.ingredient-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--color-white);
}

/* Larger text for featured card */
.ingredient-card:first-child .ingredient-card__content {
    padding: var(--spacing-xl);
}

.ingredient-card:first-child .ingredient-card__content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-xs);
}

.ingredient-card:first-child .ingredient-card__content p {
    font-size: var(--text-base);
}

.ingredient-card__content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ingredient-card__content p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: 0;
    text-transform: none;
}

/* Tablet */
@media (max-width: 992px) {
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 280px repeat(2, 200px);
    }
    
    .ingredient-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ingredients-showcase {
        padding: var(--spacing-2xl) 0;
    }
    
    .ingredients-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px repeat(2, 180px);
        gap: var(--spacing-sm);
    }
    
    .ingredient-card:first-child {
        grid-column: span 2;
    }
    
    .ingredient-card__content {
        padding: var(--spacing-md);
    }
    
    .ingredient-card:first-child .ingredient-card__content h3 {
        font-size: var(--text-lg);
    }
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.products-section .section__title {
    margin-bottom: 0.5rem;
}

.products-section .section__subtitle {
    margin-bottom: 3rem;
}

/* Product Card Enhancements */
.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(114, 128, 109, 0.15), 0 0 0 1px rgba(114, 128, 109, 0.1);
    border: 1px solid var(--color-primary-light);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(114, 128, 109, 0.25), 0 0 20px rgba(114, 128, 109, 0.15);
    transform: translateY(-6px);
    border-color: var(--color-primary);
}

.product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-gray-light);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: var(--spacing-md);
    text-align: center;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-xs);
}

.product-card__price {
    margin-bottom: var(--spacing-sm);
}

.product-card__price-current {
    font-size: var(--text-md);
    font-weight: 600;
}

.product-card__price-compare {
    font-size: var(--text-sm);
    text-decoration: line-through;
    color: var(--color-gray-dark);
    margin-left: var(--spacing-xs);
}

.product-card__actions {
    padding: 0 var(--spacing-md) var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.product-card__actions .quantity-selector {
    flex-shrink: 0;
}

.product-card__actions .btn {
    flex: 1;
}

/* Why Choose Section */
.why-choose {
    background-color: var(--color-white);
}

.why-choose .section__title {
    margin-bottom: var(--spacing-sm);
}

.why-choose .section__subtitle {
    color: var(--color-gray-dark);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-transform: none;
    letter-spacing: normal;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, #72806D 0%, #5a685a 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(114, 128, 109, 0.4);
    border: none;
    transition: all 0.3s ease;
    color: var(--color-white);
}

.feature:hover {
    box-shadow: 0 12px 40px rgba(114, 128, 109, 0.5), 0 0 30px rgba(114, 128, 109, 0.3);
    transform: translateY(-4px);
}

.feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: all 0.3s ease;
}

.feature:hover .feature__icon {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.feature__icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Comparison Section */
.comparison {
    background-color: var(--color-black);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 184, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(114, 128, 109, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.comparison .section__title,
.comparison .section__subtitle {
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.comparison .section__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.comparison-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-4px);
}

.comparison-card--bad {
    border-color: rgba(255, 100, 100, 0.3);
}

.comparison-card--bad:hover {
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 0 10px 30px rgba(255, 100, 100, 0.1);
}

.comparison-card--good {
    border-color: rgba(255, 184, 0, 0.4);
    background: rgba(255, 184, 0, 0.05);
}

.comparison-card--good:hover {
    border-color: rgba(255, 184, 0, 0.6);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.15), 0 0 40px rgba(255, 184, 0, 0.1);
}

.comparison-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.comparison-card__icon svg {
    width: 100%;
    height: 100%;
}

.comparison-card--bad .comparison-card__icon {
    color: #ff6b6b;
}

.comparison-card--good .comparison-card__icon {
    color: var(--color-neon-green);
}

.comparison-card h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin: 0;
}

.comparison-card--bad h3 {
    color: rgba(255, 255, 255, 0.9);
}

.comparison-card--good h3 {
    color: var(--color-neon-green);
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

.comparison-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.comparison-card__list li:last-child {
    margin-bottom: 0;
}

.comparison-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.comparison-card--bad .comparison-card__list li::before {
    background-color: #ff6b6b;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
}

.comparison-card--good .comparison-card__list li::before {
    background-color: var(--color-neon-green);
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.5);
}

.comparison-card--good .comparison-card__list li {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 992px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .comparison-card--good {
        order: -1;
    }
}

/* Testimonials */
.testimonials {
    background-color: var(--color-primary-pale);
    padding: 5rem 0;
}

.testimonials__title {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.testimonials__subtitle {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--color-gray-dark);
    font-size: 1rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(114, 128, 109, 0.15), 0 0 0 1px rgba(114, 128, 109, 0.1);
    border: 1px solid var(--color-primary-light);
    transition: all 0.3s ease;
}

.testimonial:hover {
    box-shadow: 0 8px 30px rgba(114, 128, 109, 0.25), 0 0 20px rgba(114, 128, 109, 0.15);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

@media (max-width: 992px) {
    .testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.testimonial__stars {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testimonial__text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.testimonial__author {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Pick Up Locations Section */
/* Pickup Locations - Modern Tech Style */
.pickup-locations {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle grid background */
.pickup-locations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 184, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 184, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.pickup-locations .section__title {
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.pickup-locations .section__subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.pickup-locations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pickup-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    transition: all 0.4s ease;
}

.pickup-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 184, 0, 0.15);
}

.pickup-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    color: var(--color-neon-green);
    background-color: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
}

.pickup-card__icon svg {
    width: 100%;
    height: 100%;
}

.pickup-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.pickup-card__address {
    font-size: 1rem;
    color: var(--color-neon-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

.pickup-card__details {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pickup-card__details p {
    margin: 0.25rem 0;
}

.pickup-card__details strong {
    color: rgba(255, 255, 255, 0.9);
}

.pickup-card__details a {
    color: var(--color-neon-green);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.pickup-card__details a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.pickup-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-neon-green);
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    background-color: transparent;
    border: 1px solid rgba(255, 184, 0, 0.4);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.pickup-card__link:hover {
    background-color: var(--color-neon-green);
    color: var(--color-black);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

.pickup-card__link svg {
    stroke: currentColor;
}

.pickup-locations__note {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .pickup-locations__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .pickup-locations__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* B2B CTA Section */
.b2b-cta {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0;
}

.b2b-cta h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.b2b-cta p {
    font-size: var(--text-md);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    text-transform: none;
    letter-spacing: normal;
}

.b2b-cta .btn--primary {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.b2b-cta .btn--primary:hover {
    background-color: var(--color-gray-light);
}

/* Trust Badges - Card Style */
.trust-badges {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.trust-badges .section__title {
    margin-bottom: 2.5rem;
}

.trust-badges__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, #72806D 0%, #5a685a 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(114, 128, 109, 0.4);
    border: none;
    transition: all 0.3s ease;
    color: var(--color-white);
}

.trust-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(114, 128, 109, 0.5), 0 0 30px rgba(114, 128, 109, 0.3);
}

.trust-badge__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge__icon {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.trust-badge__icon svg {
    width: 100%;
    height: 100%;
}

.trust-badge__text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    color: var(--color-white);
}

/* Trust Badges Responsive */
@media (max-width: 992px) {
    .trust-badges__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .trust-badges__list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-badge:nth-child(5) {
        grid-column: span 2;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .trust-badge__icon {
        width: 56px;
        height: 56px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ingredients__list {
        gap: var(--spacing-lg);
    }
    
    .ingredient {
        min-width: 80px;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
}
