﻿body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.parallax {
    background-image: url('/images/Web/Index/fausto.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .parallax::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    .parallax .overlay {
        position: relative;
        z-index: 2;
        text-align: center;
        color: white;
    }

    .parallax h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .parallax p {
        font-size: 1.2rem;
        color: #e0e0e0;
    }

.galeria-carousel-elegante {
    background: #f8f9fa;
    padding: 60px 20px;
}

    .galeria-carousel-elegante h2 {
        font-size: 2.8rem;
        color: #2c2c2c;
    }

    .galeria-carousel-elegante p {
        font-size: 1.15rem;
        max-width: 750px;
        margin: 0 auto;
        color: #666;
    }

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.carousel-track {
    display: flex;
    gap: 25px;
    scroll-behavior: auto;
}

.carousel-card {
    flex: 0 0 28%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.7s ease;
}

    .carousel-card:hover {
        transform: scale(1.035);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    }

    .carousel-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .carousel-card:hover img {
        transform: scale(1.08);
    }

.caption {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #444;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px;
    border-top: 1px solid #ddd;
}

@media (max-width: 992px) {
    .carousel-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 600px) {
    .carousel-card {
        flex: 0 0 100%;
    }

        .carousel-card img {
            height: 220px;
        }
}



.overlay-expand {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    .overlay-expand img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 12px;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
        cursor: pointer;
    }

.mensaje-director {
    background: #f9fdf5;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d2d2d;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .mensaje-director .titulo {
        font-size: 2.8rem;
        color: #2C2C2C;
        margin-bottom: 25px;
        font-weight: 700;
    }

    .mensaje-director .foto-director {
        width: 160px;
        height: 160px;
        object-fit: cover;
        border-radius: 50%;

        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
        margin-bottom: 25px;
        transition: transform 0.3s ease;
    }

        .mensaje-director .foto-director:hover {
            transform: scale(1.05);
        }

    .mensaje-director .mensaje {
        font-size: 1.25rem;
        line-height: 1.7;
        font-style: italic;
        max-width: 700px;
        margin: 0 auto 20px auto;
        color: #4a4a4a;
    }

    .mensaje-director .firma {
        font-size: 1.1rem;
        color: rgb:black;
        font-weight: 600;
    }



/*Instalaciones*/
.ubicacion-estrategica {
    background: #f9fdf5;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d2d2d;
}

.container.flex-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.texto {
    flex: 1 1 400px;
    min-width: 280px;
}

    .texto .titulo {
        font-size: 2.5rem;
        
        margin-bottom: 15px;
        font-weight: 700;
    }

    .texto .descripcion {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #444;
    }

.mapa-ubicacion {
    flex: 1 1 450px;
    min-width: 280px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    overflow: hidden;
}

    .mapa-ubicacion iframe {
        width: 100%;
        height: 320px;
        border: none;
        border-radius: 16px;
    }


@media (max-width: 768px) {
    .container.flex-container {
        flex-direction: column;
    }

    .mapa-ubicacion iframe {
        height: 280px;
    }

    .texto .titulo {
        font-size: 2rem;
    }
}

.section {
    padding: 60px 20px;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}
