/* static/content/css/home.css */

/* Important: do not override global `body` or `.container` here.
    Global layout and header sizing come from `static/css/base_styles.css`.
    Keep homepage styles focused on hero/rows only. */

/* Styles from home.html <style> block can be moved here and expanded */

/* Example: Further refine hero section text if needed */

/* You can add more specific styles for sections, typography, buttons etc. */

/* Hero Section Styling - Closer to lucassheehanpt.com */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 100px 20px; /* Adjusted padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh; /* Increased to be closer to full screen */
    overflow: hidden; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for more contrast */
    z-index: 1;
}

.hero-section .hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 950px; /* Slightly wider */
}

.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5em; /* Even larger for maximum impact */
    font-weight: 700; /* Ensure it's bold */
    color: #ffffff;
    margin-bottom: 0.25em; /* Tighter bottom margin */
    line-height: 1.1;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5); /* Slightly stronger shadow */
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
}

.hero-section .sub-headline {
    font-family: 'Lato', sans-serif;
    font-size: 1.7em; /* Slightly larger sub-headline */
    color: #f0f0f0; /* Lighter grey for better contrast on dark overlay */
    margin-bottom: 2.8em; /* More space before CTA */
    line-height: 1.75;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    max-width: 700px; /* Constrain width of sub-headline for readability */
    margin-left: auto;
    margin-right: auto;
}

.hero-section .cta-button {
    padding: 18px 40px; /* Adjusted padding from base_styles if needed, but btn-primary should be good */
    font-size: 1.15em;   /* Adjusted font size from base_styles if needed */
    letter-spacing: 1.2px;
    /* font-weight: 700; */ /* Ensure bold from .btn */
}

/* Content Row Styling - Enhanced */
.content-row {
    padding: 80px 0; /* Increased padding for more whitespace */
    border-bottom: 1px solid #f0f0f0;
}
.content-row > .container {
    display: flex;
    align-items: center;
}
.content-row:last-child {
    border-bottom: none;
}

/* Image on left, text on right by default */
.content-row .row-image {
    flex: 0 0 40%; /* Reduced from 50% */
    padding: 0 30px; /* Slightly adjusted padding */
    text-align: center;
}

.content-row .row-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.content-row .row-text {
    flex: 0 0 60%; /* Adjusted to complement image, or use flex: 1; */
    padding: 0 30px; /* Slightly adjusted padding */
}

/* For rows where image is on the right */
.content-row.image-right .row-image {
    order: 2;
}
.content-row.image-right .row-text {
    order: 1;
}

.content-row .row-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4em;
    color: #333;
    margin-bottom: 0.6em;
    font-weight: 600;
}

.content-row .row-text p {
    font-family: 'Lato', sans-serif;
    font-size: 1.15em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2em;
}

.row-text-full-width {
    flex-basis: 100% !important; /* Ensure it takes full width */
    text-align: center !important; /* Center the text */
    padding-left: 15px !important; /* Consistent padding with responsive image/text */
    padding-right: 15px !important;
}

/* Alternating Row Background Styles */
.row-style-green {
    background-color: #f4f8f4; /* Very subtle green */
}
.row-style-yellow {
    background-color: #fefdf4; /* Very subtle yellow */
}
.row-style-default {
    background-color: #ffffff;
}

/* Specific text colors for better contrast on colored backgrounds if needed */

/* Responsive adjustments */
@media (max-width: 992px) { /* Adjust breakpoint for tablet */
    .hero-section h1 { font-size: 3em; }
    .hero-section .sub-headline { font-size: 1.3em; }

    .content-row .row-image {
        flex: 0 0 35%; /* Reduced from 40% */
        padding: 0 15px; /* Adjusted padding */
    }
    .content-row .row-text {
        flex: 0 0 65%; /* Adjusted to complement image */
        padding: 0 15px; /* Adjusted padding */
    }
    .content-row .row-text h2 { font-size: 2em; }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 80px 20px;
    }
    .hero-section h1 { font-size: 2.4em; }
    .hero-section .sub-headline { font-size: 1.2em; }
    .hero-section .cta-button { font-size: 1em; padding: 15px 30px; }

    .content-row > .container,
    .content-row.image-right > .container {
        flex-direction: column;
        text-align: center;
    }
    .content-row .row-image,
    .content-row.image-right .row-image {
        flex: 1 1 100%;
        order: 1; /* Image always first on mobile */
        padding: 0 15px 30px; /* Add bottom padding to image */
        max-width: 80%;
        margin: 0 auto;
    }
    .content-row .row-text,
    .content-row.image-right .row-text {
        flex: 1 1 100%;
        order: 2; /* Text always second on mobile */
        padding: 0 15px;
        max-width: 90%;
        margin: 0 auto;
    }
    .content-row .row-text h2 {
        font-size: 1.9em;
    }
    .content-row .row-text p {
        font-size: 1.1em;
    }
} 