/* ==========================================================================
   PREMIUM RO SPARKS HERO SECTION
   Right-Side Content with CSS Grid
   ========================================================================== */

/* MAIN HERO SECTION */
.sparks-hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 80vh;
    max-height: 750px;

    display: flex;
    align-items: center;

    box-sizing: border-box;
    overflow: hidden;

    font-family: -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;

    background-color: #000;
}

/* ==========================================================================
   BACKGROUND IMAGE
   ========================================================================== */

.sparks-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sparks-hero-bg img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 25%;
}

/* DARK OVERLAY */
.sparks-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.20);

    z-index: 2;
    pointer-events: none;
}

/* ==========================================================================
   TWO-COLUMN GRID CONTAINER
   ========================================================================== */

.sparks-hero-container {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;
    padding: 40px;

    box-sizing: border-box;
}

/* ==========================================================================
   LEFT COLUMN: EMPTY SPACE
   ========================================================================== */

.sparks-empty-column {
    grid-column: 1;
    grid-row: 1;

    min-width: 0;
    min-height: 1px;
}

/* ==========================================================================
   LEFT COLUMN: CONTENT
   ========================================================================== */

.sparks-content-column {
    grid-column: 2;
    grid-row: 1;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    text-align: left;

    width: 100%;
    min-width: 0;
}

/* MAIN HEADING */
.sparks-main-heading {
    width: 100%;
    max-width: 540px;

    color: #fff;

    font-size: clamp(2rem, 3.8vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;

    margin: 0 0 24px;
    padding: 0;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* DESCRIPTION */
.sparks-main-description {
    width: 100%;
    max-width: 540px;

    color: #fff;

    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;

    margin: 0 0 32px;
    padding: 0;
}

/* ==========================================================================
   CALL-TO-ACTION BUTTON
   ========================================================================== */

.sparks-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: #0f2261;
    color: #fff;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    text-align: center;
    text-decoration: none;

    padding: 14px 36px;
    border: none;
    border-radius: 50px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background-color 0.2s ease;
}

/* BUTTON HOVER */
.sparks-cta-button:hover {
    background-color: #193785;
    color: #fff;

    text-decoration: none;
    transform: translateY(-2px);
}

/* KEYBOARD ACCESSIBILITY */
.sparks-cta-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

/* ==========================================================================
   TABLET RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1024px) {

    .sparks-hero-section {
        min-height: 560px;
    }

    .sparks-hero-container {
        padding: 32px;
    }

    .sparks-main-heading {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }

    .sparks-main-description {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 768px) {

    .sparks-hero-section {
        height: auto;
        min-height: 85vh;
        max-height: none;

        padding: 70px 0;

        align-items: center;
    }

    /* Single-column mobile layout */
    .sparks-hero-container {
        grid-template-columns: minmax(0, 1fr);

        width: 100%;
        padding: 24px;
    }

    /* Content occupies the full width */
    .sparks-content-column {
        grid-column: 1;
        grid-row: 1;

        align-items: flex-end;
        text-align: right;

        width: 100%;
    }

    .sparks-main-heading {
        max-width: 100%;

        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.15;

        margin-bottom: 24px;
    }

    .sparks-main-description {
        max-width: 100%;

        font-size: 1.1rem;
        line-height: 1.5;

        margin-bottom: 28px;
    }

    /* Hide the empty column */
    .sparks-empty-column {
        display: none;
    }

    .sparks-hero-bg img {
        object-position: center center;
    }

    /* Keep button aligned right */
    .sparks-cta-button {
        width: auto;
        max-width: 100%;

        padding: 15px 30px;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   SMALL MOBILE SCREENS
   ========================================================================== */

@media (max-width: 480px) {

    .sparks-hero-section {
        min-height: 80vh;
        padding: 50px 0;
    }

    .sparks-hero-container {
        padding: 20px;
    }

    .sparks-main-heading {
        font-size: 2rem;
    }

    .sparks-main-description {
        font-size: 1rem;
    }

    .sparks-cta-button {
        font-size: 14px;
        padding: 13px 26px;
    }
}