/* ==========================================================================
   Hero Section Component
   Used on: All Doors page, Door Category pages
   ========================================================================== */

.section-hero {
    --hero-gap: 40px;
    --hero-badge-size: 260px;
    --hero-badge-gap: 24px;
    --hero-padding-y: 32px;
    padding: var(--hero-padding-y) 0;
}

.section-hero .container {
    padding: 0 15px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    gap: var(--hero-gap);
    align-items: start;
}

/* ==========================================================================
   Text Content
   ========================================================================== */
.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-family: 'Kanit', sans-serif;
    font-size: 54px;
    font-weight: 500;
    line-height: 1.1;
    color: #2E3A59;
    margin: 0 0 24px 0;
}

.hero-text p {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #262626;
    margin: 0 0 16px 0;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Review Badges
   ========================================================================== */
.hero-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--hero-badge-gap);
    flex-shrink: 0;
}

.hero-badge {
    display: block;
    width: var(--hero-badge-size);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
}

.hero-badge-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Responsive: Tablet (max-width: 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .section-hero {
        --hero-gap: 32px;
        --hero-badge-size: 170px;
        --hero-badge-gap: 20px;
    }

    .hero-title {
        font-size: 42px;
    }
}

/* ==========================================================================
   Responsive: Mobile Landscape (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .section-hero {
        --hero-padding-y: 24px;
    }

    .hero-content {
        flex-direction: column;
        gap: 32px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-badges {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    .hero-badge {
        flex: 1;
        max-width: none;
    }
}

/* ==========================================================================
   Responsive: Mobile Portrait (max-width: 479px)
   ========================================================================== */
@media (max-width: 479px) {
    .hero-title {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.55;
    }

    .hero-badges {
        gap: 12px;
    }

    .hero-badge {
        flex: 1;
    }

    .hero-badge-img {
        border-radius: 6px;
    }
}

/* ==========================================================================
   Responsive: Large Screens (min-width: 1200px)
   ========================================================================== */
@media (min-width: 1200px) {
    .section-hero {
        --hero-badge-size: 300px;
        --hero-badge-gap: 28px;
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-text p {
        font-size: 17px;
    }
}
