/* ========================================
   HERO.CSS - All Hero Section Variants
   Hero layouts, media-hero, photo-hero, gallery-hero
   ======================================== */

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

.hero {
    position: relative;
    min-height: var(--hero-banner-height);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 0;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Base Overlay - Required for positioning */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Modifier: Standard (Bottom Gradient) - For centered/minimal text */
.hero__overlay--standard {
    background: linear-gradient(180deg,
            rgba(28, 18, 8, 0.3) 0%,
            rgba(28, 18, 8, 0.6) 45%,
            rgba(28, 18, 8, 0.9) 100%);
}

/* Modifier: Scrim Left (Side Gradient) - For left-aligned/heavy text */
.hero__overlay--scrim-left {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.1) 80%,
            transparent 100%);
}

/* Modifier: Solid (Optional) - For maximum contrast if needed */
.hero__overlay--solid {
    background: rgba(0, 0, 0, 0.6);
}

.hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* background: rgba(0, 0, 0, 0.4); Removed for cleaner look */
    /* -webkit-backdrop-filter: blur(8px); */
    /* backdrop-filter: blur(8px); */
    padding: 20px 0 60px 0;
}

.hero--spotlight-enabled .hero__content {
    padding: 40px 0;
}

.hero__headline {
    font-family: var(--font-serif-display);
    color: #fff;
    font-weight: 700;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-brown-red);
    z-index: 3;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

/* Primary Green Button - Transparent Style */
.btn-primary-green {
    background-color: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: var(--font-size-body-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--color-apple-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-green:hover {
    background-color: var(--color-apple-green);
    border-color: var(--color-apple-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 142, 35, 0.4);
}

/* Secondary Transparent Button */
.btn-secondary-transparent {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--font-size-body-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.btn-secondary-transparent:hover {
    background-color: #fff;
    color: var(--color-dark-neutral);
    transform: translateY(-2px);
}