/* Program Buttons CSS - Extracted from jiu-jitsu-adultos.html */

/* Button group styles */
.button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.free-class-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--gracie-red);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.free-class-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.free-class-btn:hover {
    background: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

.free-class-btn:hover::before {
    left: 100%;
}

.free-class-btn:active {
    transform: translateY(-1px);
}

.free-class-btn i {
    margin-left: 8px;
}

/* Program Index Styles */
.program-index-container {
    display: flex;
    justify-content: center;
    padding: 80px 0 10px;
    background: #e9ecef;
    position: relative;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    margin: 0px 0;
}

.program-index-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    max-width: 1200px;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-index-buttons-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0px 20px;
    max-width: 1200px;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-index-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 35px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gracie-blue), #1a6ed4);
    padding: 10px 15px;
    z-index: 1;
}

.gb2-container .program-index-button {
    background: linear-gradient(135deg, var(--gracie-red), #a00000);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.15);
}

.program-index-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
    border-radius: 35px;
}

.program-index-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.program-index-button:hover::before {
    left: 100%;
}

.program-index-button:active {
    transform: translateY(-3px) scale(1.02);
}

.program-index-text {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.program-index-number {
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
}

/* Button Colors */
.gb1-button {
    background: #cc0000;
}

.gbw-button {
    background: #cc0000;
}

.gbfit-button {
    background: #cc0000;
}

.gb2-button {
    background: #cc0000;
}

.nogi-button {
    background: #cc0000;
}

.gb3-button {
    background: #cc0000;
}

.program-index-button.active {
    background: var(--gracie-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
}

.schedule-button {
    background: var(--gracie-blue);
    font-size: 1.4rem;
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
    order: -1;
}

/* Other button styles from the file */
.scroll-to-schedule-btn {
    display: inline-block;
    background: #006ff7;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 80px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Make buttons red inside gb2-container */
.gb2-container .scroll-to-schedule-btn {
    background: var(--gracie-red);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
}

.scroll-to-schedule-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.scroll-to-schedule-btn:hover {
    background: #0055c8;
    transform: translateY(-3px);
}

.gb2-container .scroll-to-schedule-btn:hover {
    background: #a00000;
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3);
}

.scroll-to-schedule-btn:hover::before {
    left: 100%;
}

.scroll-to-schedule-btn:active {
    transform: translateY(-1px);
}

.programa-button {
    display: block;
    background: var(--gracie-red);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.programa-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.programa-button:hover {
    background: #a00000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

.programa-button:hover::before {
    left: 100%;
}

.programa-button:active {
    transform: translateY(-1px) scale(1.02);
}

.cta-button {
    display: inline-block;
    background: var(--gracie-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gb2-container .cta-button {
    background: var(--gracie-red);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    background: #1a6ed4;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(26, 110, 212, 0.2);
}

.gb2-container .cta-button:hover {
    background: #a00000;
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive styles */
@media (max-width: 768px) {
    .program-index-container {
        padding: 40px 0 10px;
    }
    
    .program-index-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
        width: 90%;
        max-width: 500px;
    }

    .program-index-button {
        height: auto;
        min-height: 60px;
        padding: 10px;
    }

    .program-index-text {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .program-index-number {
        font-size: 1.2rem;
    }
    
    .scroll-to-schedule-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .program-index-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 15px;
        width: 95%;
        padding: 15px;
        max-width: none;
    }

    .program-index-button {
        min-height: 40px;
        width: 100%;
        padding: 8px 15px;
        margin: 0;
    }

    .program-index-text {
        font-size: 0.8rem;
        line-height: 1.1;
    }

    .program-index-number {
        font-size: 1.1rem;
    }
}

    .button-group {
        gap: 8px;
    }
    
    .free-class-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .programa-button {
        padding: 8px;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    /* Remove the horizontal scroll indicator since we no longer need it */
    .program-index-container::after {
        display: none;
    }


    .programa-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: all 0.6s ease;
        z-index: -1;
    }

    .programa-button:hover {
        background: #a00000;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
    }

    .programa-button:hover::before {
        left: 100%;
    }

    .programa-button:active {
        transform: translateY(-1px) scale(1.02);
    }

    .cta-button {
        display: inline-block;
        background: var(--gracie-blue);
        color: white;
        padding: 15px 30px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: all 0.6s ease;
        z-index: -1;
    }

    .cta-button:hover {
        background: #1a6ed4;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 20px rgba(26, 110, 212, 0.2);
    }

    .cta-button:hover::before {
        left: 100%;
    }

    .cta-button:active {
        transform: translateY(-1px) scale(1.02);
    }

    /* Removed horizontal scroll indicator */

