/**
 * Hero Section Styles
 *
 * @package BK_Pilates
 */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Section Border - contains the background image */
.section-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Section Background */
.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-section:hover .section-background img {
    transform: scale(1.05);
}

.section-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Default overlay - can be overridden inline */
}

/* Content Wrapper */
.content-wrapper {
    width: 100%;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    /*max-width: 1000px;*/
    margin: 0 auto;
    width: max-content;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-content p {
    max-width: 650px;
    text-align: center;
    font-size: 22px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-main), sans-serif;
    font-size: 60px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeIn 1.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    animation: fadeInUp 1.4s ease;
}

.right-buttons {
    display: flex;
    gap: 20px;
}

/* Button Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 50px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-content {
        width: 90%;
        text-align: center;
    }

    .hero-buttons {
        align-items: center;
        flex-direction: column;
        justify-content: unset;
        gap: 40px;
    }

    .right-buttons {
        align-self: flex-end;
        flex-direction: column;
    }

    .hero-buttons .btn-primary {
        width: 400px;
        padding-block: 10px;
    }

    .hero-buttons .btn-secondary {
        padding-block: 10px;
    }

    .hero-content p {
        line-height: unset;
    }

    .content-wrapper {
        margin-top: 40px;
    }
}
@media (max-width: 767px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    /*.hero-buttons {*/
    /*    gap: 15px;*/
    /*}*/
}


@media (max-width: 576px) {
    h1 {
    font-size: 42px;
    }


    .hero-section {
        min-height: 450px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .hero-content {
        width: 100%;
    }
}