/**
 * First Section Block Styles
 * 
 * Full-width banner image with dark background content area,
 * title, description, and two CTA buttons.
 * 
 * @package ACF Child Theme
 */

/* Color Variables */
:root {
    --color-accent: #7f94a9;
    --color-dark: #252525;
    --color-text: #252525;
    --color-white: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
   Section Wrapper - Full width
   ========================================================================== */
.first-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Banner Image - Full width
   ========================================================================== */
.first-section__banner {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.first-section__banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   Content Area - Dark background, full width
   ========================================================================== */
.first-section__content-area {
    background-color: var(--color-dark, #252525);
    width: 100%;
    padding: 60px 0 70px;
}

/* Content Wrapper - WordPress layout width */
.first-section__content-wrapper {
    max-width: var(--theme-normal-container-max-width, 1290px);
    width: var(--theme-container-width, 100%);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* ==========================================================================
   Title
   ========================================================================== */
.first-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 45px;
    font-weight: 400;
    color: var(--color-white, #ffffff);
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
   Divider Line
   ========================================================================== */
.first-section__divider {
    width: 100px;
    height: 3px;
    background-color: var(--color-white, #ffffff);
    margin: 0 auto 35px;
}

/* ==========================================================================
   Video - Below title
   ========================================================================== */
.first-section__video-wrapper {
    max-width: 900px;
    margin: 0 auto 40px;
    width: 100%;
}

/* Responsive 16:9 container for both native video and embeds */
.first-section__video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-color: #000;
    border-radius: 4px;
    overflow: hidden;
}

.first-section__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* oEmbed iframes */
.first-section__video-container--embed iframe,
.first-section__video-container--embed embed,
.first-section__video-container--embed object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Description
   ========================================================================== */
.first-section__description {
    color: var(--color-white, #ffffff);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.8;
    max-width: 780px;
    margin: 0 auto 40px;
}

.first-section__description p {
    margin: 0 0 16px 0;
    color: var(--color-white, #ffffff);
}

.first-section__description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Buttons Container
   ========================================================================== */
.first-section__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Button Base
   ========================================================================== */
.first-section__btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 20px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   Primary Button - Filled accent background, white text
   Matches .btn--light-default on dark background
   ========================================================================== */
.first-section__btn--primary {
    background-color: var(--color-accent, #7f94a9);
    color: var(--color-white, #ffffff);
    border-color: var(--color-accent, #7f94a9);
}

.first-section__btn--primary:hover {
    background-color: transparent;
    color: var(--color-accent, #7f94a9);
    border-color: var(--color-accent, #7f94a9);
}

/* ==========================================================================
   Secondary Button - Outlined, white border, white text
   Matches .btn--dark-default
   ========================================================================== */
.first-section__btn--secondary {
    background-color: transparent;
    color: var(--color-white, #ffffff);
    border-color: var(--color-white, #ffffff);
}

.first-section__btn--secondary:hover {
    color: var(--color-accent, #7f94a9);
    border-color: var(--color-accent, #7f94a9);
    background-color: transparent;
}

/* ==========================================================================
   Responsive - Tablet (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .first-section__content-area {
        padding: 50px 0 60px;
    }

    .first-section__content-wrapper {
        padding: 0 30px;
    }

    .first-section__title {
        font-size: 30px;
        letter-spacing: 1.5px;
    }

    .first-section__description {
        font-size: 14px;
        max-width: 650px;
    }
}

/* ==========================================================================
   Responsive - Tablet Small (768px)
   ========================================================================== */
@media (max-width: 768px) {
    .first-section__content-area {
        padding: 40px 0 50px;
    }

    .first-section__content-wrapper {
        padding: 0 20px;
    }

    .first-section__title {
        font-size: 26px;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    .first-section__divider {
        width: 60px;
        height: 2px;
        margin-bottom: 28px;
    }

    .first-section__video-wrapper {
        margin-bottom: 32px;
    }

    .first-section__description {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 32px;
    }

    .first-section__btn {
        font-size: 14px;
        padding: 10px 28px;
    }
}

/* ==========================================================================
   Responsive - Mobile (640px)
   ========================================================================== */
@media (max-width: 640px) {
    .first-section__content-area {
        padding: 35px 0 40px;
    }

    .first-section__content-wrapper {
        padding: 0 20px;
    }

    .first-section__title {
        font-size: 22px;
        letter-spacing: 0.5px;
    }

    .first-section__video-wrapper {
        margin-bottom: 24px;
    }

    .first-section__description {
        font-size: 13px;
        margin-bottom: 28px;
    }

    .first-section__buttons {
        flex-direction: column;
        gap: 12px;
    }

    .first-section__btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ==========================================================================
   Responsive - Small Mobile (480px)
   ========================================================================== */
@media (max-width: 480px) {
    .first-section__content-area {
        padding: 30px 0 35px;
    }

    .first-section__content-wrapper {
        padding: 0 15px;
    }

    .first-section__title {
        font-size: 20px;
        letter-spacing: 0.3px;
    }

    .first-section__divider {
        width: 50px;
        margin-bottom: 24px;
    }

    .first-section__description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .first-section__btn {
        font-size: 13px;
        padding: 10px 24px;
    }
}
