/* =====================================================
   HOME PAGE HERO SECTION (home.css)
   Compact, Full-View & Rich Brand Styling
===================================================== */
html {                      
    scroll-behavior: smooth;
}                           

.hero-section,
.hero-section * {
    box-sizing: border-box;
}

/* 1. COMPACT HERO CONTAINER */
.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: 55% 45%;
    width: 100%;
    min-height: clamp(420px, 58vh, 510px);
    max-height: 540px;
    overflow: hidden;
    background: linear-gradient(120deg, #c8e6c5 0%, #d9edcf 55%, #eee3bd 100%);
    border-bottom: 3px solid rgba(164, 122, 34, 0.45);
    margin: 0;
    padding: 0;                   
}

/* 2. RIGHT SIDE IMAGE */
.hero-image {
    position: absolute;
    inset: 0 0 0 42%;
    z-index: 1;
    min-height: clamp(420px, 58vh, 510px);
    overflow: hidden;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 53, 45, 0.35) 0%, rgba(23, 53, 45, 0.04) 45%, transparent 100%);
    pointer-events: none;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center ;
}

/* 3. LEFT CONTENT PANEL WITH ATTRACTIVE GRADIENT & GOLD ACCENT */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    
    min-height: clamp(420px, 58vh, 510px);
    padding: 36px 48px 36px 5%;
    color: #ffffff;
    background: linear-gradient(145deg, #153129 0%, #285b40 78%, #2e694a 100%);
    clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
    margin: 30px 0 30px 36px;
}

.hero-content-inner {
    width: 100%;
    max-width: 600px;
    padding-right: 24px;
}

/* Eyebrow Badge */
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(164, 122, 34, 0.2);
    border: 1px solid rgba(232, 203, 122, 0.55);
    color: #f3d586;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

/* 4. HERO HEADING */
.hero-content h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(25px, 2.5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.2px;
    overflow-wrap: break-word;
}

.hero-content h1 span {
    color: #e8cb7a;
}

/* 5. HERO DESCRIPTION */
.hero-content p {
    max-width: 540px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(14.5px, 1.05vw, 16.5px);
    font-weight: 400;
    line-height: 1.58;
}

.hero-content p strong {
    color: #f3d586;
    font-weight: 700;
}

/* 6. HERO BUTTONS */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-btn {
    min-height: 42px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Primary Gold Button */
.hero-btn-primary {
    color: #17352d;
    background: linear-gradient(135deg, #e8cb7a 0%, #c9a64e 100%);
    border: 2px solid #e8cb7a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.hero-btn-primary:hover {
    color: #17352d;
    background: linear-gradient(135deg, #f3d586 0%, #e8cb7a 100%);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Secondary Outlined Button */
.hero-btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.72);
}

.hero-btn-secondary:hover {
    color: #17352d;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Keyboard accessibility */
.hero-btn:focus-visible {
    outline: 3px solid #f3d586;
    outline-offset: 3px;
}

/* =====================================================
   7. TABLET & SMALL LAPTOP RESPONSIVE (<= 1024px)
===================================================== */

@media (max-width: 1024px) {

    .hero-section {
        display: flex;
        flex-direction: column;
        min-height: auto;
        max-height: none;
        padding: 0;
    }

    /* Image above content, compact height */
    .hero-image {
        order: 1;
        width: 100%;
        height: 290px;
        min-height: 290px;
        position: relative;
        inset: auto;
        z-index: 1;
    }

    .hero-image::after {
        background: linear-gradient(180deg, transparent 55%, rgba(21, 49, 41, 0.45) 100%);
    }

    .hero-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Welcome block overlays slightly onto bottom of image */
    .hero-content {
        order: 2;
        min-height: auto;
        clip-path: none;
        position: relative;
        z-index: 3;
        margin-top: -86px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 24px;
        padding: 28px 24px 36px;
        border-top: 2px solid rgba(232, 203, 122, 0.55);
        border-radius: 18px;
        box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.22);
    }

    .hero-content-inner {
        max-width: 740px;
        padding-right: 0;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: clamp(24px, 3.8vw, 34px);
    }

    .hero-content p {
        font-size: 15.5px;
    }
}

/* =====================================================
   8. SMALL MOBILE SCREENS (<= 520px)
===================================================== */

@media (max-width: 520px) {

    .hero-section {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    /* Edge-to-edge image on top, left, and right */
    .hero-image {
        width: 100%;
        height: 235px;
        min-height: 235px;
        border-radius: 0;
    }

    /* Slight upward overlap over bottom edge of image */
    .hero-content {
        border-radius: 16px 16px 0 0;
        margin-top: -84px;
        margin-left: 14px;
        margin-right: 14px;
        margin-bottom: 20px;
        padding: 24px 16px 28px;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .hero-content h1 {
        margin-bottom: 12px;
        font-size: 23px;
        line-height: 1.25;
    }

    .hero-content p {
        margin-bottom: 18px;
        font-size: 14.5px;
        line-height: 1.55;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-btn {
        width: 100%;
        min-height: 44px;
    }
}

/* =====================================================
   9. REDUCED MOTION ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-btn {
        transition: none;
    }

    .hero-btn:hover {
        transform: none;
    }
}