/**
 * hero.css - Hero Sections
 * Both homepage hero and page-level heroes
 * Heroes extend to top of viewport (behind fixed nav)
 * Content is pushed down with padding to clear the nav
 */

/* ============================================
   HOMEPAGE HERO (Full viewport height)
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/jessicas_lake_header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    /* Content pushed down to clear fixed nav */
    padding-top: 90px;
    padding-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--brand-gold);
}

.hero-subtitle {
    font-family: var(--text-font-family);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 3px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   PAGE HERO (Shorter, for service pages)
   Used on web-design.php, seo.php, etc.
   ============================================ */
.page-hero {
    position: relative;
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), 
                url('../images/jessicas_lake_header.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    /* Padding clears the fixed nav and provides spacing */
    padding: 140px 0 60px 0;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: var(--header-font-family);
    color: var(--light-text);
}

.page-hero p,
.page-hero .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--light-text);
}

/* ============================================
   RESPONSIVE - LARGE TABLETS
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* ============================================
   RESPONSIVE - TABLETS (900px - hamburger breakpoint)
   ============================================ */
@media (max-width: 900px) {
    .hero-section {
        padding-top: 80px;
        min-height: 90vh;
    }
    
    .page-hero {
        padding: 120px 0 50px 0;
    }
}

/* ============================================
   RESPONSIVE - SMALL TABLETS (768px)
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .page-hero {
        padding: 100px 0 40px 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

/* ============================================
   RESPONSIVE - PHONES (480px)
   ============================================ */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 60px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .page-hero {
        padding: 80px 0 30px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p,
    .page-hero .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}
