/* Landing Page Styles - Ulttyq Market Official Brand Colors */

:root {
    --cream-bg: #F8F4E3;        /* Cream background (official brand) */
    --primary-green: #3BB54A;   /* Primary green (official brand) */
    --dark-green: #155229;      /* Dark green for text/accents (official brand) */
    --light-green: #E8F5E9;     /* Very light green for backgrounds */
    --dark-text: #155229;       /* Using dark green for text */
    --light-text: #666;
    --white: #ffffff;
    --light-bg: #F8F4E3;        /* Using cream for light backgrounds */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.lang-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.5);
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--white);
    color: var(--dark-green);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: var(--cream-bg);
}

/* Why Section */
.why-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 3rem;
    font-weight: 700;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--light-bg);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(59, 181, 74, 0.15);
    border-color: var(--primary-green);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-desc {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
}

/* Stores Section */
.stores-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.stores-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.stores-map-container {
    position: relative;
}

#landing-map {
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stores-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.store-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.store-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.1);
    border-color: var(--primary-green);
}

.store-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.store-info {
    flex: 1;
}

.store-name {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.store-city {
    color: var(--light-text);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.store-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.store-link:hover {
    color: var(--dark-green);
}

/* Featured Products Section */
.featured-section {
    padding: 5rem 0;
    background: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.featured-product-card {
    background: var(--white);
    border: 2px solid var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(59, 181, 74, 0.15);
    border-color: var(--primary-green);
}

.product-image,
.product-image-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-badges {
    margin-bottom: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 4px;
    margin-right: 0.25rem;
}

.badge-national {
    background: rgba(59, 181, 74, 0.15);
}

.badge-bakery {
    background: rgba(59, 181, 74, 0.1);
}

.product-price {
    font-size: 1.75rem;
    color: var(--primary-green);
    font-weight: 700;
}

.product-unit {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 400;
}

.featured-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.no-products {
    text-align: center;
    color: var(--light-text);
    padding: 3rem;
}

/* Footer */
.landing-footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section - Mobile */
    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .lang-switcher {
        position: static;
        margin-bottom: 1.5rem;
        justify-content: center;
    }

    #hero-lang-selector {
        font-size: 0.875rem;
        padding: 0.5rem 2rem 0.5rem 0.75rem;
    }

    /* CTA Button - Ensure touch target */
    .cta-button {
        font-size: 1.125rem;
        padding: 1rem 2rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Section Headings */
    .section-heading {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Why Section */
    .why-section {
        padding: 3rem 0;
    }

    .value-props {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-icon {
        font-size: 3rem;
    }

    .value-title {
        font-size: 1.25rem;
    }

    /* Stores Section */
    .stores-section {
        padding: 3rem 0;
    }

    .stores-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #landing-map {
        height: 300px;
        /* Prevent map from hijacking scroll on mobile */
        touch-action: pan-y;
    }

    .stores-list {
        gap: 1rem;
    }

    .store-item {
        padding: 1.25rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .store-icon {
        font-size: 2.5rem;
    }

    .store-name {
        font-size: 1.125rem;
    }

    .store-link {
        display: inline-block;
        padding: 0.5rem 1rem;
        background: var(--primary-green);
        color: white;
        border-radius: 6px;
        min-height: 44px;
        line-height: 1.5;
    }

    .store-link:hover {
        color: white;
    }

    /* Featured Products */
    .featured-section {
        padding: 3rem 0;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .featured-product-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .product-image,
    .product-image-placeholder {
        height: 200px;
    }

    .product-name {
        font-size: 1.125rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    /* CTA Section */
    .featured-cta {
        margin-top: 2rem;
    }

    .btn-secondary {
        font-size: 1rem;
        padding: 0.875rem 2rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer */
    .landing-footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .footer-contact p {
        font-size: 0.9rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero {
        padding: 2rem 0 2rem;
    }

    .hero-heading {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .value-card {
        padding: 1.25rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .value-title {
        font-size: 1.125rem;
    }

    #landing-map {
        height: 250px;
    }
}
