/* 
  HERO SECTION - MYATT LAND GROUP STYLE
  Elegant, premium hero with centered content
  Requires: Font Awesome for icons, Google Fonts (Playfair Display & Montserrat)
*/

/* Variables - customize these! */
:root {
    --primary-color: #2C5530;
    --accent-color: #D4A373;
    --light-text: #FFFFFF;
    --heading-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --body-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{{BACKGROUND_IMAGE_PATH}}');
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem 4rem;
    margin-top: 80px; /* Adjust based on your header height */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--light-text);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--light-text);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    line-height: 1.6;
}

/* Hero CTAs */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-family: var(--body-font);
}

.cta-button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Secondary CTA Style */
.cta-button.secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.cta-button.secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    border-color: var(--light-text);
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .cta-button {
        padding: 1.25rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem 3rem;
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cta-button {
        transition: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}

