/* Importar fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

/* Estilos globales */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

p {
    font-size: 1.1rem;
}

a {
    color: inherit;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Encabezado */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to right, #283E51, #4B79A1);
}

.navbar-brand i {
    color: #ff758c;
}

.navbar-nav .nav-link {
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ff758c;
}

/* Sección Principal */

.hero {
    position: relative;
    height: 100vh;
    background: url('images/fondoprincipal.jpg') no-repeat center center/cover; /* Ajusta la ruta de la imagen */
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté por encima de las partículas */
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 62, 81, 0.7);
}




/* Sobre PNL */
.about-pnl img {
    max-height: 400px;
}

.about-pnl p {
    font-size: 1.15rem;
}

/* Eventos */
.events .card {
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.events .card:hover {
    transform: translateY(-10px);
}

.events .card img {
    width: 100%;
    height: 200px; /* Puedes ajustar la altura según tus necesidades */
    object-fit: cover;
    transition: transform 0.3s ease;
}
.events .card .card-img.protagonic  {
    height: initial;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.events .card:hover img {
    transform: scale(1.05);
}

.events .card-title i {
    color: #ff758c;
}

/* Eventos Pasados */
.owl-carousel .card {
    margin: 15px;
}

.owl-carousel .card img {
    height: 200px;
    object-fit: cover;
}

.owl-carousel .card-title i {
    color: #ff758c;
}

/* Contacto */
.contact label {
    font-weight: 500;
}

.contact .btn {
    font-size: 1.2rem;
}

/* Pie de página */
footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    color: #ff758c;
}

/* Animaciones */
.fadeIn {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
}

.fadeInUp {
    opacity: 0;
    transform: translateY(50px);
}

.fadeInDown {
    opacity: 0;
    transform: translateY(-50px);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .hero {
        position: relative;
        height: 100vh;
        background: url('images/fondoprincipal.jpg') no-repeat center center/cover; /* Ajusta la ruta de la imagen */
        overflow: hidden;
    }
    
    #particles-js {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    


    .about-pnl .row {
        flex-direction: column-reverse;
    }

    .about-pnl img {
        margin-bottom: 30px;
    }
}
