/* Offer Section Styles */
.offer-section {
    position: relative;
    width: 100%;
    padding: 50px 0;
    background-color: #FFFFFF;
}

.offer-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
}

.offer-header {
    text-align: center;
    /* margin-bottom: 7px; */
    position: relative;
}

.offer-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0 1rem;
    position: relative;
}

.offer-header .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #5aff6b;
    font-weight: 500;
}

.offer-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: flex-start;
    background-image: url("../static/images/abifitness-studios.91ee14816a20.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    min-height: 500px;
}

.offer-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.offer-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 12rem;
}

.offer-tab {
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: left;
}

.offer-tab.active {
    color: #fff;
    border-left-color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.offer-content {
    position: relative;
    z-index: 2;
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 7rem 0 3rem 0;
    border-radius: 8px;
}

.offer-card {
    /* background-color: #fff; */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.offer-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
    line-height: 1.2;
}

.offer-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0rem;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
}

.learn-more-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    /* border: 2px solid #fff; */
}

.learn-more-btn:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .offer-section {
        padding: 40px 0;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .offer-container {
        padding: 0 1rem; /* Add padding instead of negative margins */
        width: 100%;
    }

    .offer-header {
        padding: 0 1rem;
    }

    .offer-header h2 {
        font-size: 2rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        border-radius: 0;
        padding: 2rem 1rem;
        margin: 0; /* Remove negative margins */
        width: 100%; /* Use 100% width instead of calc */
        min-height: 700px;
    }

    .offer-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        padding-top: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .offer-tab {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        min-width: max-content;
        text-align: center;
    }

    .offer-tab.active {
        border-left: none;
        border-bottom-color: #fff;
    }

    .offer-content {
        padding: 0 1rem;
        margin-top: -8rem;
    }

    .offer-card h3 {
        font-size: 1.75rem;
    }

    .offer-card p {
        font-size: 1rem;
    }

    .learn-more-btn {
        width: 100%;
        text-align: center;
    }
} 