/**
 * Header Feature Section Styles
 *
 * This section appears at the top of the homepage below the navigation
 * and contains the main heading "Where to find local food?" with a decorative image
 */

.header-feature-section {
    background-color: var(--color-bg-off-white, #FCFEFC);
    padding: 0;
    margin-top: 0; /* Sitewide fixed-header offset handled in styles.css */
}

.header-feature-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-800, 32px);
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-600, 24px) var(--spacing-1600, 64px);
}

.header-feature-text {
    flex: 1 1 auto;
    width: 78%;
}

.header-feature-heading {
    font-family: var(--font-primary, 'Roboto', sans-serif);
    font-weight: var(--font-weight-bold, 700);
    font-size: clamp(4rem, 1.857rem + 5.71vw, 7rem);
    line-height: 1.1em;
    letter-spacing: -0.01em;
    color: var(--color-text-heading, #00502f);
    margin: 0;
    padding: 24px 0 16px 0;
}

.header-feature-paragraph {
    font-family: var(--font-primary, 'Roboto', sans-serif);
    font-weight: var(--font-weight-regular, 400);
    font-size: var(--font-size-paragraph-large, 18px);
    line-height: 1.4em;
    color: #525252;
    margin: 0;
}

.header-feature-image {
    flex-shrink: 0;
    width: 18%
}

.header-feature-image .decorative-icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .header-feature-content {
        padding: var(--spacing-600, 24px) var(--spacing-1200, 48px);
        gap: var(--spacing-600, 24px);
    }

    .header-feature-image .decorative-icon {
        width: 140px;
        height: 140px;
    }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
    .header-feature-content {
        padding: var(--spacing-600, 24px);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-400, 16px);
    }

    .header-feature-text {
        width: unset;
    }

    .header-feature-image {
        width: unset;
    }

    .header-feature-image .decorative-icon {
        width: 120px;
        height: 120px;
    }
}

