/**
 * MLC Home — Homepage-specific styles.
 *
 * Depends on mlc-base.css for variables, typography, nav, footer, buttons.
 * Each section corresponds to a template-part in template-parts/home/.
 */

/* =====================================================================
   HERO
   ===================================================================== */

.mlc-hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.mlc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.mlc-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 31, 61, 0.45) 0%,
        rgba(42, 31, 61, 0.35) 30%,
        rgba(42, 31, 61, 0.55) 70%,
        rgba(42, 31, 61, 0.7) 100%
    );
}

.mlc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 0 24px;
}

.mlc-hero h1 {
    font-size: 52px;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.mlc-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
    line-height: 1.7;
}

.mlc-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================================
   SEASONAL BANNER
   ===================================================================== */

.mlc-seasonal {
    background: var(--mlc-purple-light);
    padding: 80px 0;
}

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

.mlc-seasonal-text {
    border-left: 4px solid var(--mlc-gold);
    padding-left: 32px;
}

.mlc-seasonal-text h2 {
    font-size: 36px;
    color: var(--mlc-charcoal);
    margin-bottom: 16px;
}

.mlc-seasonal-text p {
    font-size: 16px;
    color: var(--mlc-gray);
    margin-bottom: 28px;
    line-height: 1.7;
}

.mlc-seasonal-img {
    width: 100%;
    border-radius: var(--mlc-radius);
    box-shadow: var(--mlc-shadow-lg);
}

/* =====================================================================
   BRAND PROMISE
   ===================================================================== */

.mlc-promise {
    background: var(--mlc-cream);
    padding: 100px 0;
}

.mlc-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.mlc-promise-item {
    padding: 20px;
}

.mlc-promise-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--mlc-purple);
}

.mlc-promise-icon svg {
    width: 100%;
    height: 100%;
}

.mlc-promise-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--mlc-charcoal);
}

.mlc-promise-item p {
    font-size: 15px;
    color: var(--mlc-gray);
    line-height: 1.65;
}

/* =====================================================================
   FEATURED PRODUCTS
   ===================================================================== */

.mlc-products {
    background: var(--mlc-warm-white);
    padding: 100px 0;
}

.mlc-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.mlc-product-card {
    display: block;
    background: #fff;
    border-radius: var(--mlc-radius);
    overflow: hidden;
    box-shadow: var(--mlc-shadow);
    transition: all 0.35s ease;
}

.mlc-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mlc-shadow-lg);
}

.mlc-product-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.mlc-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mlc-product-card:hover .mlc-product-card-img img {
    transform: scale(1.05);
}

.mlc-product-card-body {
    padding: 20px;
    text-align: center;
}

.mlc-product-card-body h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--mlc-charcoal);
}

.mlc-product-price {
    font-size: 15px;
    color: var(--mlc-gray);
    margin-bottom: 16px;
}

.mlc-product-price .woocommerce-Price-amount {
    font-size: inherit;
    color: inherit;
}

.mlc-product-price del {
    display: none;
}

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */

.mlc-how-it-works {
    background: var(--mlc-purple-light);
    padding: 100px 0;
}

.mlc-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.mlc-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.mlc-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mlc-purple);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.mlc-step h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--mlc-charcoal);
}

.mlc-step p {
    font-size: 15px;
    color: var(--mlc-gray);
    line-height: 1.6;
}

.mlc-steps-line {
    position: absolute;
    top: 28px;
    left: 16.66%;
    right: 16.66%;
    height: 0;
    border-top: 2px dashed var(--mlc-purple);
    opacity: 0.35;
    z-index: 1;
}

/* =====================================================================
   OCCASIONS
   ===================================================================== */

.mlc-occasions {
    background: var(--mlc-warm-white);
    padding: 100px 0;
}

.mlc-occasions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mlc-occasion-card {
    position: relative;
    border-radius: var(--mlc-radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    min-height: 280px;
    min-width: 0;
    cursor: pointer;
    display: block;
}

.mlc-occasion-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mlc-occasion-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.mlc-occasion-card:hover img {
    transform: scale(1.08);
}

.mlc-occasion-card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 20px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.mlc-occasion-card:hover .mlc-occasion-card-text {
    transform: translateY(-6px);
}

.mlc-occasion-card-text h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 4px;
}

.mlc-occasion-card-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* =====================================================================
   SMAKER PREVIEW
   ===================================================================== */

.mlc-smaker-preview {
    background: var(--mlc-cream);
    padding: 100px 0;
}

.mlc-smaker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mlc-smaker-card {
    text-align: center;
}

.mlc-smaker-card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: var(--mlc-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mlc-smaker-card:hover .mlc-smaker-card-img {
    transform: scale(1.05);
    box-shadow: var(--mlc-shadow-lg);
}

.mlc-smaker-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlc-smaker-card h3 {
    font-size: 17px;
    color: var(--mlc-charcoal);
    font-weight: 500;
}

/* =====================================================================
   OM OSS
   ===================================================================== */

.mlc-about {
    background: var(--mlc-warm-white);
    padding: 100px 0;
}

.mlc-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.mlc-about-img {
    width: 100%;
    border-radius: var(--mlc-radius-lg);
    box-shadow: var(--mlc-shadow-lg);
}

.mlc-about-text h2 {
    font-size: 36px;
    color: var(--mlc-charcoal);
    margin-bottom: 24px;
}

.mlc-about-text p {
    font-size: 16px;
    color: var(--mlc-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.mlc-about-signature {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--mlc-gold);
    display: inline-block;
}

.mlc-about-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    color: var(--mlc-charcoal);
}

.mlc-about-role {
    display: block;
    font-size: 14px;
    color: var(--mlc-gray);
    margin-top: 4px;
}

/* =====================================================================
   TRUST & TESTIMONIALS
   ===================================================================== */

.mlc-trust {
    background: var(--mlc-cream);
    padding: 100px 0;
}

.mlc-trust-logos {
    text-align: center;
    margin-bottom: 56px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--mlc-charcoal);
    line-height: 2;
}

.mlc-trust-logos span {
    opacity: 0.35;
    transition: opacity 0.3s ease;
    cursor: default;
}

.mlc-trust-logos span:hover {
    opacity: 1;
}

.mlc-trust-logos .mlc-dot {
    opacity: 0.2;
    margin: 0 16px;
}

.mlc-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mlc-testimonial-card {
    background: #fff;
    border-radius: var(--mlc-radius);
    padding: 36px 28px;
    box-shadow: var(--mlc-shadow);
}

.mlc-testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: var(--mlc-purple);
    line-height: 1;
    margin-bottom: 8px;
}

.mlc-testimonial-card blockquote {
    font-style: italic;
    font-size: 15px;
    color: var(--mlc-charcoal);
    line-height: 1.7;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
}

.mlc-testimonial-card cite {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: var(--mlc-charcoal);
}

/* =====================================================================
   SOCIAL FEED
   ===================================================================== */

.mlc-social {
    background: var(--mlc-warm-white);
    padding: 100px 0;
}

.mlc-social-handle {
    margin-top: 8px;
}

.mlc-social-handle a {
    color: var(--mlc-purple);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.mlc-social-handle a:hover {
    color: var(--mlc-purple-dark);
}

.mlc-social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.mlc-social-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--mlc-radius-sm);
    cursor: pointer;
    display: block;
}

.mlc-social-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mlc-social-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--mlc-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mlc-social-item:hover::after {
    opacity: 0.4;
}

.mlc-social-item:hover img {
    transform: scale(1.06);
}

/* =====================================================================
   KONTAKT
   ===================================================================== */

.mlc-kontakt {
    background: var(--mlc-cream);
    padding: 100px 0;
}

.mlc-kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.mlc-kontakt-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mlc-kontakt-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mlc-kontakt-item svg {
    flex-shrink: 0;
    color: var(--mlc-purple);
    margin-top: 2px;
}

.mlc-kontakt-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--mlc-charcoal);
    margin-bottom: 4px;
}

.mlc-kontakt-item p {
    font-size: 15px;
    color: var(--mlc-gray);
    line-height: 1.6;
}

.mlc-kontakt-item a {
    color: var(--mlc-purple);
    transition: color 0.2s;
}

.mlc-kontakt-item a:hover {
    color: var(--mlc-purple-dark);
}

.mlc-kontakt-subtitle {
    font-size: 13px;
    color: var(--mlc-gray);
    font-style: italic;
    margin-top: 2px;
}

.mlc-kontakt-map {
    min-height: 360px;
    border-radius: var(--mlc-radius);
    overflow: hidden;
    box-shadow: var(--mlc-shadow);
}

.mlc-kontakt-map iframe {
    display: block;
}

/* =====================================================================
   FAQ
   ===================================================================== */

.mlc-faq {
    background: var(--mlc-warm-white);
    padding: 100px 0;
}

.mlc-faq-container {
    max-width: 800px;
}

.mlc-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mlc-faq-item {
    border-bottom: 1px solid var(--mlc-gray-light);
}

.mlc-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--mlc-charcoal);
    list-style: none;
    transition: color 0.2s;
}

.mlc-faq-item summary::-webkit-details-marker {
    display: none;
}

.mlc-faq-item summary:hover {
    color: var(--mlc-purple);
}

.mlc-faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--mlc-gray);
}

.mlc-faq-item[open] .mlc-faq-chevron {
    transform: rotate(180deg);
}

.mlc-faq-answer {
    padding: 0 0 20px;
}

.mlc-faq-answer p {
    font-size: 15px;
    color: var(--mlc-gray);
    line-height: 1.7;
}

/* =====================================================================
   FINAL CTA
   ===================================================================== */

.mlc-cta {
    background: var(--mlc-purple);
    padding: 100px 0;
    text-align: center;
}

.mlc-cta h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 16px;
}

.mlc-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.mlc-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================================
   RESPONSIVE — TABLET
   ===================================================================== */

@media (max-width: 1024px) {
    .mlc-products-grid,
    .mlc-smaker-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mlc-occasions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mlc-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .mlc-about-grid {
        gap: 48px;
    }
}

/* =====================================================================
   RESPONSIVE — MOBILE
   ===================================================================== */

@media (max-width: 768px) {
    .mlc-hero {
        height: 75vh;
        min-height: 480px;
    }

    .mlc-hero h1 {
        font-size: 34px;
    }

    .mlc-hero p {
        font-size: 16px;
    }

    .mlc-seasonal-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mlc-seasonal-image {
        order: -1;
    }

    .mlc-seasonal-text {
        padding-left: 24px;
    }

    .mlc-seasonal-text h2 {
        font-size: 28px;
    }

    .mlc-promise-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mlc-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mlc-steps {
        flex-direction: column;
        gap: 36px;
        align-items: center;
    }

    .mlc-steps-line {
        display: none;
    }

    .mlc-occasions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mlc-occasion-card {
        min-height: 0;
    }

    .mlc-smaker-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mlc-about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mlc-about-text h2 {
        font-size: 28px;
    }

    .mlc-trust-logos {
        overflow-wrap: break-word;
    }

    .mlc-trust-logos .mlc-dot {
        margin: 0 8px;
    }

    .mlc-social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mlc-kontakt-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mlc-kontakt-map {
        min-height: 280px;
    }

    .mlc-cta h2 {
        font-size: 30px;
    }

    /* Consistent section spacing on mobile */
    .mlc-seasonal,
    .mlc-promise,
    .mlc-products,
    .mlc-how-it-works,
    .mlc-occasions,
    .mlc-smaker-preview,
    .mlc-about,
    .mlc-trust,
    .mlc-social,
    .mlc-kontakt,
    .mlc-faq,
    .mlc-cta {
        padding: 72px 0;
    }
}

/* =====================================================================
   RESPONSIVE — SMALL MOBILE
   ===================================================================== */

@media (max-width: 480px) {
    .mlc-hero h1 {
        font-size: 28px;
    }

    .mlc-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .mlc-hero-buttons .mlc-btn {
        width: 100%;
        max-width: 280px;
    }

    .mlc-products-grid {
        grid-template-columns: 1fr;
    }

    .mlc-occasions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mlc-occasion-card {
        aspect-ratio: 16 / 9;
    }

    .mlc-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mlc-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .mlc-cta-buttons .mlc-btn {
        width: 100%;
        max-width: 280px;
    }
}
