/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 0;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
}

.hero__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.4)
    );
    z-index: 2;
}

.hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
    object-fit: cover;
}

/* object-fit: cover handles all screen sizes */

.hero__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.4)
    );
    z-index: 2;
}

/* Search overlay styles removed - search is now a standalone section */

/* Content Section with Colored Background */
.content-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #9a7661 100%);
    color: white;
    padding: 60px 0;
    margin-top: 0;
    z-index: 0;
}

.content-section__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content-section__title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.content-section__subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.3;
}

.content-section__description p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 auto;
    opacity: 0.95;
    max-width: 800px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 400px;
    }

    .content-section__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .content-section__title {
        font-size: 2.5rem;
    }

    .content-section__subtitle {
        font-size: 1.75rem;
    }

    .content-section__description p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
        height: 40vh;
    }

    .content-section__title {
        font-size: 2rem;
    }

    .content-section__subtitle {
        font-size: 1.5rem;
    }
}

/* Video fallback */
.no-js .hero__background,
.no-video .hero__background {
    background-image: url('../assets/images/hero-fallback.jpg');
    background-size: cover;
    background-position: center;
}

.no-js .hero__video,
.no-video .hero__video {
    display: none;
}

/* Category Hero Variant */
.hero--category {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero--category .hero__background {
    z-index: 1;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.6)
    );
    z-index: 3;
}

.hero__content {
    position: relative;
    z-index: 4;
    color: white;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.hero__content h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__content p {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Category Hero Responsive */
@media (max-width: 768px) {
    .hero--category {
        height: 40vh;
        min-height: 350px;
    }

    .hero__content h1 {
        font-size: 2.5rem;
    }

    .hero__content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero--category {
        height: 35vh;
        min-height: 300px;
    }

    .hero__content h1 {
        font-size: 2rem;
    }

    .hero__content p {
        font-size: 1rem;
    }
}