/* 
  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: #228B22;
    --brand-green: #228B22;
    --brand-green-dark: #1a6b1a;
    --accent-color: #228B22;
    --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: 4rem 1.5rem 3rem;
    margin-top: 0;
    z-index: 1;
}

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

.hero h1 {
    font-family: var(--heading-font);
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    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(0.95rem, 2vw, 1.25rem);
    margin-bottom: 1rem;
    color: var(--light-text);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    line-height: 1.5;
}

.hero-subtitle {
    margin-bottom: 0.5rem;
}

.hero-description {
    margin-bottom: 1rem;
}

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

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

.cta-button:hover {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.4);
    color: var(--light-text);
}

/* 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(--brand-green);
    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: 60px 1rem 2rem;
        min-height: auto;
        max-height: 100vh;
    }
    
    .hero-content {
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    
    .hero-subtitle,
    .hero-description {
        font-size: 0.9rem !important;
        margin-bottom: 0.4rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

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


