/* Hero Section Styles - Enhanced Font Sizes Following Style Guide - Simplified Button */

/* Base Body Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for REM calculations */
}

body {
    font-family: 'Lancelot', cursive, serif;
    line-height: 1.6;
    color: #333;
    font-size: 1.1875rem; /* Increased from 1.125rem (19px) - matches secondary text */
    margin: 0;
    padding: 0;
}

/* Hero Section Container */
.marshall-home-hero {
    position: relative;
    min-height: calc(100vh - 120px); /* Account for top bar (~40px) + nav (~80px) */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Lancelot', cursive, serif;
    margin-top: 0;
}

/* Hero Background Image */
.marshall-home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/slider-weddings.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    z-index: -1;
}

/* Hero Content Container */
.marshall-home-hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.marshall-home-hero-content {
    max-width: 900px; /* Increased from 800px for better spacing */
    margin: 0 auto;
}

/* Hero Title */
.marshall-home-hero-title {
    color: #fff;
    font-size: 3.75rem; /* Increased from 3.5rem (60px) - enhanced for hero impact */
    font-weight: 500;
    margin-bottom: 22px; /* Increased from 20px to match style guide */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Lancelot', cursive, serif;
}

/* Hero Text */
.marshall-home-hero-text {
    color: #fff;
    font-size: 1.75rem; /* Increased from 1.625rem (28px) - enhanced readability */
    line-height: 1.7; /* Improved from 1.6 to match style guide */
    margin-bottom: 35px; /* Increased from 30px to match style guide spacing */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Lancelot', cursive, serif;
    opacity: 0.95;
}

/* Hero Button - Simplified Styling */
.marshall-home-btn-hero {
    background-color: #5ca7db;
    color: white;
    font-family: 'Lancelot', cursive, serif;
    font-size: 1.4375rem;
    font-weight: 500;
    padding: 18px 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.marshall-home-btn-hero:hover {
    background-color: #4a94c4;
    color: white;
    text-decoration: none;
}

/* Large Tablet Styles (769px - 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {
    body {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
    }
    
    .marshall-home-hero {
        min-height: calc(90vh - 100px);
        padding: 50px 0;
    }
    
    .marshall-home-hero-container {
        padding: 0 30px;
        max-width: 1000px; /* Increased from 900px */
    }
    
    .marshall-home-hero-content {
        max-width: 800px; /* Increased from 700px */
    }
    
    .marshall-home-hero-title {
        font-size: 3.375rem; /* Adjusted proportionally (54px) */
        margin-bottom: 20px; /* Adjusted to match style guide */
        line-height: 1.25;
    }
    
    .marshall-home-hero-text {
        font-size: 1.625rem; /* Adjusted proportionally (26px) */
        margin-bottom: 32px; /* Adjusted to match style guide */
        line-height: 1.6; /* Improved spacing */
    }
    
    .marshall-home-btn-hero {
        font-size: 1.3125rem;
        padding: 16px 32px;
    }
}

/* Small Tablet Styles (481px - 768px) */
@media (max-width: 768px) {
    body {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
    }
    
    .marshall-home-hero {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .marshall-home-hero-container {
        padding: 0 20px;
    }
    
    .marshall-home-hero-content {
        max-width: 700px; /* Increased from 600px */
    }
    
    .marshall-home-hero-title {
        font-size: 2.875rem; /* Adjusted to better proportion (46px) */
        margin-bottom: 18px; /* Adjusted to match style guide */
        line-height: 1.3;
    }
    
    .marshall-home-hero-text {
        font-size: 1.4375rem; /* Adjusted proportionally (23px) */
        margin-bottom: 28px; /* Adjusted to match style guide */
        line-height: 1.6;
    }
    
    .marshall-home-btn-hero {
        font-size: 1.1875rem;
        padding: 15px 30px;
    }
}

/* Mobile Styles (≤ 480px) */
@media (max-width: 480px) {
    body {
        font-size: 1.03125rem; /* Updated to match style guide (16.5px) */
    }
    
    .marshall-home-hero {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .marshall-home-hero-container {
        padding: 0 20px; /* Increased from 15px to match style guide */
    }
    
    .marshall-home-hero-content {
        max-width: 100%;
    }
    
    .marshall-home-hero-title {
        font-size: 2.5rem; /* Increased from 2rem (40px) - better mobile presence */
        margin-bottom: 18px; /* Adjusted to match style guide */
        line-height: 1.3;
    }
    
    .marshall-home-hero-text {
        font-size: 1.25rem; /* Increased from 1.125rem (20px) - better readability */
        margin-bottom: 25px; /* Adjusted to match style guide */
        line-height: 1.6; /* Improved from 1.5 */
    }
    
    .marshall-home-btn-hero {
        font-size: 1.0625rem;
        padding: 14px 28px;
    }
    
    /* Adjust background position for mobile */
    .marshall-home-hero-bg {
        background-position: center center;
    }
}

/* Extra Small Mobile (≤ 360px) */
@media (max-width: 360px) {
    body {
        font-size: 0.96875rem; /* Updated to match style guide (15.5px) */
    }
    
    .marshall-home-hero-container {
        padding: 0 18px; /* Adjusted to match style guide */
    }
    
    .marshall-home-hero-title {
        font-size: 2.25rem; /* Adjusted proportionally (36px) */
        margin-bottom: 15px; /* Adjusted to match style guide */
    }
    
    .marshall-home-hero-text {
        font-size: 1.125rem; /* Adjusted proportionally (18px) */
        margin-bottom: 22px; /* Adjusted to match style guide */
    }
    
    .marshall-home-btn-hero {
        font-size: 1rem;
        padding: 13px 26px;
    }
}