/* Pagina Bachillerato */

.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Gradiente más moderno y suave */
    background: linear-gradient(to right, 
  rgba(221, 140, 47, 0.05) 0%, 
  rgba(255, 136, 0, 0.98) 100%);
    padding: 40px 0;
}

.banner-container {
    width: 80%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 20px; 
}

.banner-bachillerato {
    flex: 1.2;
    padding: 20px;
}

.bachillerato-title {
    font-size: 48px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.bachillerato-subtitle {
    color: #555; 
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.5;
}

.button-information-container {
    display: flex;
    justify-content: flex-start; 
}

.button-information-bachillerato {
    padding: 16px 32px;
    font-weight: bold;
    background-color: var(--secundary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.button-information-bachillerato:hover {
    transform: translateY(-3px);    
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.img-banner {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 20px;
}

.img-banner-class {
    width: 70%; 
    max-width: 500px; 
    height: auto;
    object-fit: contain; 
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.page-container{
    background-image: url(../assets/back-bachillerato.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.bachillerato{
    width: 100%;
    display: flex;
    justify-content: center;
}

.bachillerato-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-why-choose{
    width: 80%;
    display: flex;
    justify-content: center;
}

.title-why-choose{
    color: var(--primary);
    font-size: 40px;
    font-style: italic;
    font-weight: bold;
    margin-top: 40px;
}

.slider-bachillerato {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container-bachiller {
    position: relative;
    width: 43%;
    height: 82%;
    transform-style: preserve-3d;
}

.card-bachiller {
    position: absolute;
    width: 280px;
    height: 380px;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -190px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    display: flex;
    align-items: flex-end;
}

.card-bachiller-1 {
    background-image: url(../assets/avanza.png);
    background-color: #0a335c;
}

.card-bachiller-2 {
    background-image: url(../assets/flexibilidad.png);
    background-color: #dd8c2f;
}

.card-bachiller-3 {
    background-image: url(../assets/calidad.png);
    background-color: #0a335c;
}

.card-bachiller-4 {
    background-image: url(../assets/acompañar.png);
    background-color: #dd8c2f;
}

.card-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    border-radius: 0 0 20px 20px;
    color: white;
    width: 100%;
}

/* --- ESTADOS DE POSICIÓN --- */

/* Al frente */
.active {
    transform: translateX(0) scale(1.1);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Asomada a la Izquierda */
.prev {
    transform: translateX(-150px) scale(0.85);
    z-index: 5;
    opacity: 0.6;
}

/* Asomada a la Derecha */
.next {
    transform: translateX(150px) scale(0.85);
    z-index: 5;
    opacity: 0.6;
}

/* Ocultas */
.hidden {
    transform: translateX(0) scale(0.5);
    opacity: 0;
    z-index: 0;
}

.title-card{
    color: white;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitle-card{
    color: white;
    font-style: italic;
}

.requirements{
    width: 100%;
    display: flex;
    justify-content: center;
}

.requirements-container{
    width: 80%;
    display: flex;
    flex-direction: column;
}

.requirements-title{
    font-size: 50px;
    text-align: center;
    color: var(--primary);
    margin: 40px auto;
    font-weight: 500;
    font-style: italic;
}

.cycles{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    justify-items: center;
    margin-top: 30px;
}

.cycle-one{
   display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 15px;
    border-bottom: 4px solid var(--secundary);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cycle-one:hover {
    transform: translateY(-10px);
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cycle-title {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--secundary);
}

.cycle-subtitle {
    margin-bottom: 0;
    font-size: 16px;
    color: var(--primary);
    text-align: center;
}

.cycle-description{
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--primary);
}

.documents-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.documents-title{
    color: var(--secundary);
    font-size: 30px;
    font-style: italic;
    margin: 40px 0;
}

.documents-subtitle, .shedule-subtitle{
    color: var(--primary);
    margin-bottom: 10px;
}

.shedule{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.shedule-title{
    color: var(--secundary);
    font-size: 30px;
    font-style: italic;
    margin-bottom: 30px;
}

/* --- RESPONSIVE --- */

@media screen and (max-width: 1024px){
    /*.container, .logo-container, .banner-container, .bachillerato-container, .requirements-container, .footer-container{
        width: 800px;

    }*/

   .bachillerato-title { 
     font-size: 36px; 
    }

    .banner-container { 
        gap: 20px; 
    }
    .img-banner-class { 
        max-width: 350px; 
    }

    .title-why-choose {
        font-size: 32px;
    }
    .slider-container-bachiller {
        width: 60%; 
    }
}

@media screen and (max-width: 768px) {
    .banner-container {
        flex-direction: row; 
        align-items: center;
    }
    
    .bachillerato-title { 
        font-size: 28px; 
    }
    
    .bachillerato-subtitle { 
        font-size: 16px; 
        margin-bottom: 20px;
    }

    .img-banner-class { 
        max-width: 250px; 
    }
    
    .button-information-bachillerato {
        padding: 12px 20px;
        font-size: 14px;
    }


    .title-why-choose{
        font-size: 35px;
    }

    .title-why-choose {
        font-size: 28px;
        margin-top: 30px;
    }
    
    .slider-bachillerato {
        height: 450px; /* Un poco más de alto por el texto */
    }

    .card-bachiller {
        width: 240px; /* Reducimos ligeramente el ancho */
        height: 340px;
        margin-left: -120px;
        margin-top: -170px;
    }

    /* Ajustamos el desplazamiento para que no se corten */
    .prev { transform: translateX(-100px) scale(0.8); }
    .next { transform: translateX(100px) scale(0.8); }

    .cycles {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media screen and (max-width: 480px) {

.banner { padding: 30px 0; }
    
    .banner-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .bachillerato-subtitle {
        border-left: none;
        padding-left: 0;
    }

    .button-information-container {
        justify-content: center;
    }

    .img-banner-class {
        display: none;
        margin: 0px;
    }

    .title-why-choose {
        font-size: 24px;
        text-align: center;
    }

    .slider-container-bachiller {
        width: 80%;
    }

    .slider-bachillerato{
        margin: 0px;
    }

    .card-bachiller {
        width: 200px;
        height: 300px;
        margin-left: -100px;
        margin-top: -150px;
    }

    .prev { 
        transform: translateX(-60px) scale(0.75); 
        opacity: 0.4;
    }
    .next { 
        transform: translateX(60px) scale(0.75); 
        opacity: 0.4;
    }
    
    .active {
        transform: translateX(0) scale(1.05);
    }

    .title-card { font-size: 1.1rem; }
    .subtitle-card { font-size: 0.85rem; }

    .cycles {
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 320px) {
    .bachillerato-title { 
        font-size: 22px; 
    }

    .img-banner-class { 
        max-width: 180px; 
    }
    
    .title-why-choose {
        font-size: 20px;
    }

    .card-bachiller {
        width: 180px;
        height: 280px;
        margin-left: -90px;
        margin-top: -140px;
    }

    .prev { transform: translateX(-40px) scale(0.7); }
    .next { transform: translateX(40px) scale(0.7); }
}

.requirements-title{
    margin: 0px auto;
}