/**
 * Hero Section Styles
 * Synergy Health Theme
 * Contains all styles for the hero section with image/video backgrounds
 */

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

.hero-section {
    position: relative;
    width: 100%;
    height: 770px;
    overflow: hidden;
}

/* Media Container */
.hero-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Background Image */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background Video */
.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Background Gradient */
.hero-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--teal) 28.37%, rgba(98, 164, 152, 0.00) 100%);
    z-index: 2;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
}

/* Content */
.hero-content {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    color: var(--white);
}

/* Gradient Type - Center Content on All Devices */
.hero-gradient-type .hero-content {
    text-align: center;
}

.hero-gradient-type .hero-heading,
.hero-gradient-type .hero-subheading {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-gradient-type .hero-buttons {
    justify-content: center;
}

/* Gradient Type - Limit Content Height on Desktop */
@media (min-width: 769px) {
    .hero-gradient-type {
        max-height: 440px;
    }
}

/* Eyebrow Text */
.hero-eyebrow {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 0 var(--spacing-4xl) 0;
    opacity: 0.95;
}

/* Breadcrumb Navigation */
.hero-breadcrumb {
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 var(--spacing-4xl) 0;
    opacity: 0.95;
    text-align: center;
}

.hero-breadcrumb .breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
}

.hero-breadcrumb .breadcrumb-item {
    color: var(--white);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.hero-breadcrumb a.breadcrumb-item:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.hero-breadcrumb .breadcrumb-item.current {
    opacity: 0.85;
}

.hero-breadcrumb .breadcrumb-separator {
    color: var(--white);
    font-size: 12px;
    user-select: none;
    padding: 0 5px;
}

/* Breadcrumb NavXT compatibility */
.hero-breadcrumb .breadcrumb_trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
}

.hero-breadcrumb .breadcrumb_trail a {
    color: var(--white);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.hero-breadcrumb .breadcrumb_trail a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.hero-breadcrumb .breadcrumb_trail .breadcrumb_last {
    opacity: 0.85;
}

/* Additional Breadcrumb NavXT classes */
.hero-breadcrumb span[property="itemListElement"] {
    display: inline-flex;
    align-items: center;
}

.hero-breadcrumb span[property="name"] {
    color: var(--white);
}

.hero-breadcrumb a[property="item"] {
    color: var(--white);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.hero-breadcrumb a[property="item"]:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Ensure breadcrumb doesn't break on very small screens */
.hero-breadcrumb {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Main Heading */
.hero-heading {
    font-size: var(--text-7xl);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--spacing-xl) 0;
    color: var(--white);
    max-width: 725px;
}

/* Subheading */
.hero-subheading {
    font-size: var(--text-2xl);
    font-weight: 400;
    line-height: 1.5;
    margin: var(--spacing-3xl) 0 var(--spacing-4xl) 0;
    max-width: 680px;
}

/* Buttons Container */
.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

/* Button styles are now inherited from universal .btn-primary and .btn-secondary classes in style.css */
/* Hero-specific button overrides for on-white secondary buttons */
.hero-buttons .btn-secondary.on-white {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-secondary.on-white:hover {
    background-color: var(--white);
    color: var(--teal);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero-section {
        height: 650px;
    }
    
    .hero-heading {
        font-size: 48px;
    }
    
    .hero-subheading {
        font-size: 20px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .hero-section {
        height: 550px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-3xl);
        text-align: center;
    }
    
    .hero-eyebrow,
    .hero-breadcrumb {
        font-size: var(--text-xs);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-heading {
        font-size: var(--text-5xl);
        margin-bottom: var(--spacing-lg);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subheading {
        font-size: var(--text-lg);
        margin-bottom: var(--spacing-2xl);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        gap: var(--spacing-md);
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-xl);
        text-align: center;
    }
    
    .hero-eyebrow,
    .hero-breadcrumb {
        font-size: var(--text-base);
        letter-spacing: 1.5px;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-breadcrumb .breadcrumb-trail,
    .hero-breadcrumb .breadcrumb_trail {
        gap: 6px;
    }
    
    .hero-heading {
        font-size: 36px;
        margin-bottom: var(--spacing-md);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subheading {
        font-size: var(--text-base);
        margin-bottom: 28px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        gap: var(--spacing-sm);
        justify-content: center;
    }
}

/* Accessibility - Reduced Motion is handled by universal button classes */
