﻿/* ===========================
   HeroFullBanner
   /wwwroot/css/TemplateSections/HeroFullBanner.css
   =========================== */

.full-width-breakout {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--hero-bg, #f5fbf9);
}

/* Hero section */
.hero-full-section {
    background-color: var(--hero-bg, #f5fbf9);
    padding: clamp(40px, 6vh, 72px) 2rem clamp(56px, 7vh, 88px);
    font-family: 'Montserrat', 'Poppins', 'Segoe UI', sans-serif;
    margin-top: 0 !important;
}


/* 45% / 10% / 45% */
.hero-inner {
    display: grid;
    grid-template-columns: minmax(300px, 45%) minmax(300px, 45%);
    column-gap: 10%;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    row-gap: 2.5rem;
}

.hero-left,
.hero-right {
    min-width: 0;
}

.hero-left {
    align-self: center;
    padding-top: clamp(16px, 4vh, 48px);
}

    .hero-left h1 {
        font-size: 3.5rem;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 1.25rem;
        color: var(--hero-text, #1e1e1e);
        max-width: 24ch;
    }

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--hero-text, #2a2a2a);
    margin-bottom: 2.25rem;
}

/* CTA */
.hero-button {
    background-color: var(--hero-button-bg, #01ab8e);
    color: var(--hero-text, #ffffff);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.25rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .hero-button:hover,
    .hero-button:focus-visible {
        background-color: var(--hero-button-hover-bg, #f0d9d9);
        color: var(--hero-button-hover-text, #01ab8e) !important;
    }

.hero-right {
    align-self: center;
    display: grid;
    place-items: center;
    min-height: clamp(280px, 42vh, 520px);
    container-type: inline-size;
    overflow: visible;
    justify-items: end;
}


.hero-section-image {
    width: clamp(580px, 112cqw, 660px); /* ↑ minimum for portrait presence, ↓ max for wide logos */
    max-width: none; /* allow slight outward overhang to the right */
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    transform: none;
    translate: 2cqw 0; /* subtle push outward, away from the text gutter */
}



/* Theme overrides */
.tenant-theme .hero-left h1,
.tenant-theme .hero-subtitle {
    color: var(--hero-theme-title, #2b2b2b) !important;
}

.tenant-theme .hero-button {
    color: var(--hero-text, #ffffff) !important;
}

/* Global resets preserved */
body > .container,
body > main > .container,
body > .tenant-theme {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Sub-1200px tweaks */
@media (max-width: 1200px) {
    .hero-inner {
        column-gap: 8%;
    }
}

/* Mobile stack */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 2rem;
    }

    .hero-full-section {
        padding: clamp(28px, 6vh, 56px) 1.5rem 2.5rem;
    }

    .hero-left {
        text-align: center;
        padding-top: 0;
    }

        .hero-left h1 {
            max-width: none;
            font-size: clamp(2rem, 5vw, 3rem);
        }

    .hero-subtitle {
        font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    }

    .hero-right {
        min-height: unset;
        justify-self: center;
    }

    .hero-section-image {
        width: min(560px, 85vw);
        height: auto;
        translate: 0;
    }

}
