@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

.atf-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 8% 80px;
    background-color: #e3e5e4;
}

.atf-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle overlay in case background is too bright */
    z-index: 2;
    pointer-events: none;
}
.atf-hero--inverted{
    background-color: #000000;
}
.atf-hero--inverted .atf-hero-overlay {
    background-color: rgba(0, 0, 0, 0.2); /* Darker overlay for light text readability */
}

.atf-hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    width: 100%;
}

.atf-hero-headline {
    font-family: 'Rubik', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000000;
    line-height: 1.0;
    margin: 0 0 30px 0;
    text-transform: none;
    letter-spacing: -1.5px;
}

.atf-hero-subheadline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.4;
    margin: 0 0 40px 0;
    max-width: 550px;
}

.atf-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.atf-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.atf-hero-button-primary {
    background-color: #000000;
    color: #ffffff !important;
    border: 1px solid #000000;
}

.atf-hero-button-primary:hover {
    background-color: transparent;
    border-color: #333333;
    color: #333333 !important;
}

.atf-hero-button-secondary {
    background-color: transparent;
    color: #000000 !important;
    border: 1px solid #000000;
}   

.atf-hero-button-secondary:hover {
    background-color: #000000;
    color: #ffffff !important;
}

/* Inverted Colors Version */
.atf-hero--inverted .atf-hero-headline {
    color: #ffffff;
}

.atf-hero--inverted .atf-hero-subheadline {
    color: rgba(255, 255, 255, 0.8);
}

.atf-hero--inverted .atf-hero-button-primary {
    background-color: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
}

.atf-hero--inverted .atf-hero-button-primary:hover {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff !important;
}

.atf-hero--inverted .atf-hero-button-secondary {
    background-color: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
}

.atf-hero--inverted .atf-hero-button-secondary:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

.atf-hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.atf-bg-desktop, .atf-bg-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    display: block;
}

.atf-bg-mobile {
    display: none;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .atf-hero-headline {
        font-size: 40px;
    }
    .atf-hero{
        flex-direction: column;
        padding: 60px 0 0;
        justify-content: space-between;
    }
    .atf-hero-content {
        max-width: 100%;
        padding: 0 7% 40px;
    }
}

@media (max-width: 768px) {
    .atf-hero {
        padding: 80px 0;
        min-height: 80vh;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        display: flex;
        overflow: hidden;
    }

    .atf-hero-content {
        max-width: 100%;
        padding: 0 7%;
    }

    .has-mobile-bg .atf-bg-desktop {
        display: none;
    }

    .has-mobile-bg .atf-bg-mobile {
        display: block;
    }

    .atf-hero-headline {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .atf-hero-subheadline {
        font-size: 16px;
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
    }

    .atf-hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .atf-hero-button {
        padding: 15px 40px;
        font-size: 16px;
        width: fit-content;
    }
}
