/* ============================================
   SHARED HERO SECTIONS - Aurit Mediation
   Standardized hero styles for all pages
   ============================================ */

/* ============================================
   CSS VARIABLES - Hero Specific
   ============================================ */
:root {
    /* Hero Spacing - Fluid scaling */
    --hero-padding-top: clamp(100px, 15vw, 140px);
    --hero-padding-bottom: clamp(60px, 10vw, 80px);
    --hero-gap: clamp(40px, 8vw, 80px);

    /* Hero Typography - Fluid scaling */
    --hero-title-size: clamp(42px, 5vw + 1rem, 68px);
    --hero-lead-size: clamp(22px, 2vw + 1rem, 26px);
    --hero-body-size: clamp(16px, 1.5vw + 1rem, 18px);
    --hero-badge-size: clamp(12px, 1vw + 0.5rem, 14px);

    /* Hero Colors */
    --hero-text-color: #000000;
    --hero-badge-bg: rgba(1, 73, 33, 0.1);
    --hero-badge-border: #014921;
    --hero-badge-color: #014921;

    /* Hero Background */
    --hero-gradient: linear-gradient(180deg, #c0e7f4 0%, transparent 100vh);
    --hero-noise-opacity: 0.45;
}

/* ============================================
   BASE HERO SECTION STYLES
   ============================================ */
.enhanced-hero-section,
.enhanced-hero-section-consult,
.enhanced-hero-section-reviews,
.enhanced-hero-section-pricing,
.contact-hero,
.locations-hero-refactored {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
    padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
}

/* Noise texture overlay */
.enhanced-hero-section::before,
.enhanced-hero-section-consult::before,
.enhanced-hero-section-reviews::before,
.enhanced-hero-section-pricing::before,
.contact-hero::before,
.locations-hero-refactored::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/decorative/noise.png) repeat 0 0 / 512px;
    mix-blend-mode: overlay;
    opacity: var(--hero-noise-opacity);
    pointer-events: none;
}

/* Container positioning */
.enhanced-hero-section .container,
.enhanced-hero-section-consult .container,
.enhanced-hero-section-reviews .container,
.enhanced-hero-section-pricing .container,
.contact-hero .container,
.locations-hero-refactored .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO LAYOUT - Two Column Grid
   ============================================ */
.hero-two-column-layout,
.hero-layout,
.contact-hero-layout,
.locations-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hero-gap);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Content column */
.hero-content-left,
.contact-hero-content,
.locations-hero-left {
    padding-right: 20px;
}

/* ============================================
   HERO BADGE - Consistent Design
   ============================================ */
.hero-badge,
.locations-badge {
    display: inline-block;
    background: var(--hero-badge-bg);
    color: var(--hero-badge-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: var(--hero-badge-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 2px solid var(--hero-badge-border);
    margin-left: 0;
}

/* ============================================
   HERO TYPOGRAPHY - Fluid Scaling
   ============================================ */
.hero-title-left,
.locations-hero-title {
    font-size: var(--hero-title-size);
    font-weight: 500;
    line-height: 1.1;
    color: var(--hero-text-color);
    margin-bottom: 24px;
}

.paragraph-lead,
.hero-subtitle {
    font-size: var(--hero-lead-size);
    line-height: 1.4;
    color: var(--hero-text-color);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 24px;
    margin-top: 12px;
}

.paragraph-body,
.paragraph-regular {
    font-size: var(--hero-body-size);
    line-height: 1.6;
    color: var(--hero-text-color);
    margin-bottom: 16px;
    max-width: 600px;
}

/* Remove <h2> semantic issue - use paragraph with styling */
.check-title-text {
    font-family: inherit;
    font-size: var(--hero-body-size);
    line-height: 1.6;
    color: var(--hero-text-color);
    font-weight: 500;
    margin-bottom: 16px;
    margin-top: 24px;
}

/* ============================================
   HERO TRUST POINTS / BENEFITS LIST
   ============================================ */
.hero-trust-points,
.hero-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 32px;
    list-style: none;
    padding: 0;
}

.trust-point,
.hero-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    color: #000000;
}

.trust-point svg,
.hero-benefits-list .checkmark {
    color: var(--hero-badge-color);
    flex-shrink: 0;
    font-weight: bold;
    font-size: 24px;
}

/* ============================================
   HERO VALUE CHECK - Green Frame Container
   ============================================ */
.hero-value-check {
    margin: 32px 0;
    padding: 24px;
    background: rgba(1, 73, 33, 0.05);
    border-left: 4px solid #014921;
    border-radius: 8px;
}

.hero-value-check-tagline {
    font-size: 18px;
    font-weight: 700;
    color: #014921;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.hero-value-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-value-check-list li {
    font-size: 19px;
    line-height: 1.5;
    color: #000000;
    padding-left: 28px;
    position: relative;
}

.hero-value-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #014921;
    font-weight: 700;
    font-size: 24px;
}

/* ============================================
   HERO BUTTONS
   ============================================ */
.hero-content-left .buttons,
.contact-hero-content .buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Base button styles */
.hero-content-left .btn,
.contact-hero-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-large {
    padding: clamp(14px, 2vw, 16px) clamp(32px, 4vw, 40px);
    font-size: clamp(16px, 1.5vw, 17px);
}

/* Primary button - Solid dark green background */
.hero-content-left .btn-primary,
.contact-hero-content .btn-primary {
    background: #014921;
    color: white;
    border: 2px solid #014921;
}

.hero-content-left .btn-primary:hover,
.contact-hero-content .btn-primary:hover {
    background: #013619;
    border-color: #013619;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 73, 33, 0.3);
}

/* Secondary button - Transparent with dark green border */
.hero-content-left .btn-secondary,
.contact-hero-content .btn-secondary {
    background: transparent;
    color: #014921;
    border: 2px solid #014921;
}

.hero-content-left .btn-secondary:hover,
.contact-hero-content .btn-secondary:hover {
    background: #014921;
    color: white;
    border-color: #014921;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 73, 33, 0.2);
}

/* ============================================
   HERO VIDEO CONTAINER - Modern Aspect Ratio
   ============================================ */
.hero-video-right,
.hero-media {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-width: 0;
}

.video-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(43, 40, 33, 0.15);
    background: #000;
    aspect-ratio: 16 / 9;
    position: relative;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hide mobile video on desktop */
.hero-video-mobile {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile: Add more space above hero sections for sticky header + Book Now button */
@media (max-width: 768px) {
    .enhanced-hero-section,
    .enhanced-hero-section-consult,
    .enhanced-hero-section-reviews,
    .enhanced-hero-section-pricing,
    .enhanced-hero-section-works,
    .contact-hero,
    .locations-hero-refactored,
    .shared-hero-section {
        padding-top: 100px !important; /* Increased for nav + book now bar */
    }

    /* Breadcrumb badge spacing */
    .breadcrumb-badge {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    /* Hero titles need extra spacing from top */
    .hero-content-left .heading,
    .hero-content .heading,
    .contact-hero-content h1,
    .locations-hero-left h1 {
        margin-top: 0 !important;
    }

    /* Video positioning on mobile - always beneath title */
    .hero-two-column-layout,
    .hero-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-content-left,
    .hero-content {
        order: 1 !important;
    }

    .hero-video-column,
    .hero-video-right,
    .video-player-wrapper {
        order: 2 !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 1200px) {
    .hero-two-column-layout,
    .hero-layout,
    .contact-hero-layout,
    .locations-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content-left,
    .contact-hero-content,
    .locations-hero-left {
        padding-right: 0;
        text-align: center;
    }

    .paragraph-body,
    .paragraph-regular {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust-points,
    .hero-benefits-list {
        align-items: center;
    }

    .hero-content-left .buttons,
    .contact-hero-content .buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Further reduce padding on mobile */
    :root {
        --hero-padding-top: clamp(80px, 12vw, 100px);
        --hero-padding-bottom: clamp(40px, 8vw, 60px);
    }

    /* Hide desktop video, show mobile video below H1 */
    .hero-video-right {
        display: none;
    }

    .hero-video-mobile {
        display: block;
        margin: 30px 0;
    }

    /* Ensure trust points/benefits are centered on mobile */
    .hero-trust-points,
    .hero-benefits-list {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    /* Tighten spacing on small mobile */
    :root {
        --hero-gap: 30px;
    }

    .hero-trust-points,
    .hero-benefits-list {
        gap: 16px;
        margin-top: 24px;
        margin-bottom: 32px;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */
/* Add aria-hidden to decorative SVGs */
.trust-point svg[aria-hidden="true"],
.hero-benefits-list svg[aria-hidden="true"] {
    pointer-events: none;
}

/* Ensure focus states are visible */
.hero-content-left .btn:focus,
.contact-hero-content .btn:focus {
    outline: 2px solid #014921;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .video-container,
    .video-container iframe,
    .video-container video {
        animation: none;
        transition: none;
    }
}
