@import 'apple-design-system.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: var(--ssbond-family) !important;
}

.banner {
    position: relative;
    background: var(--ssbond-white);
    margin-top: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.banner-content {
    max-width: 1400px;
    width: 100%;
    padding: 40px;
    text-align: center; /* Center text content */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content items */
    gap: 30px; /* Space between elements */
    margin: 0 auto;
    margin-top: var(--ssbond-d-t1);
    
}

.banner-content h1 {
    font-size: var(--ssbond-d-h1);
    
    color: var(--sf-secondary);
    max-width: 800px; /* Control text width */
    line-height: 1.2;
    margin-bottom: var(--ssbond-d-b1);
}

.banner p {
    font-size: var(--ssbond-d-desc1);
    color: var(--sf-gray);
    margin-bottom: var(--sf-spacing-xl);
    line-height: 1.47059;
    margin-top: -15px;
}

.banner-buttons {
    display: flex;
    gap: var(--sf-spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: -45px;
}

.banner-image-wrapper {
    width: 100vw;
    height: 500px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow: hidden;
}

.banner-image-wrapper img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
    padding: 0;
}

/* Reset any container or wrapper styles */
.container, 
.wrapper {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .banner {
        padding-top: 90px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .banner h1 {
        font-size: 40px;
    }

    .banner-image-wrapper {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .banner {
        padding-top: 80px;
        margin-top: -15px;
    }

    .banner h1 {
        font-size: var(--ssbond-m-h1);

    }
    .banner-content h1{
        font-size: var(--ssbond-m-h2);
    }
    .banner p {
        font-size: var(--ssbond-m-desc1);
    }

    .banner-content {
        margin-bottom: 40px;
        padding: 40px 20px;
    }

    .banner-image-wrapper {
        height: 125px;
    }

    .header {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .banner-image-wrapper img{
        height: 125px;
    }
}
@media (max-width: 480px) {
    .banner {
        padding-top: 90px;
    }

    .banner h1 {
        font-size: var(--ssbond-m-h1);

    }
    .banner-content h1{
        font-size: var(--ssbond-m-h2);
    }
    .banner p {
        font-size: var(--ssbond-m-desc1);
        white-space: nowrap;
    }
    .banner-content{
        margin-top: 7%;
    }

    .banner-buttons {
        flex-direction: row;
        gap: 10px;
        margin: 0 15px;
        justify-content: center;
        margin-top: -45px;
    }

    /* .banner-buttons .btn {
        padding: 10px 15px;
        font-size: var(--ssbond-small--btn);
        white-space: nowrap;
        flex: 1;
        min-width: 0;
        text-align: center;
        margin-top: -45px;
    } */

    .banner-image-wrapper {
        /* height: 300px; */
        margin-top: -45px;
    }
}

/* If buttons are still too tight, add this breakpoint */
@media (max-width: 360px) {
    .banner-buttons {
        gap: 8px;
        
    }

    .banner-buttons .btn {
        padding: 6px 12px;
        font-size: var(--ssbond-m-btn-card);
    }
}

/* If your header is fixed, you might also want to add this */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--ssbond-white);
    height: 80px;
}