* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #ffffff;
}
/*barra de navegacion*/
header {
    height: 100vh;
    background-image: url('../img/Neum26.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

nav.transparent {
    background-color: transparent;
}

nav.solid {
    background-color: #ffffff;
    border-bottom: 2px solid #ac005a;
}



nav .logo h1 {
    font-weight: bold;
    font-size: 24px;
    color: white;
}

nav.solid .logo h1 {
    color: #8c0049;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 26px;
    color: white;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ac005a;
    border: 10px solid #ac005a;
    border-radius: 10px;
    
    opacity: 0.5;
    color: #ffffff;
}
nav.solid ul li a:hover {
    color: #ffffff;
}

nav.solid ul li a {
    color: #8c0049;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 4px;
    transition: all 0.3s ease;
}

nav.solid .menu-toggle span {
    background-color: #8c0049;
    
}

nav ul {
    display: flex;
}

/* Responsive menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        
    }
    
    nav ul {
        position: fixed;
        top: 0;
        background-color: rgba(255, 255, 255, 0.5);
        right: -100%;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li a {
        color: #8c0049;
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/*barra de navegacion fin*/

/*inicio*/
.hero-content {
    color: white;
}

.hero-content .main-title {
    font-size: 80px;
    font-weight: bold;
}

.hero-content .subtitle {
    font-size: 24px;
    font-weight: bold;
}

section {
    padding: 100px 50px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/*inicio fin*/

/*SOBRE NOSOTROS*/

#nosotros {
    padding: 100px 50px;
}
#nosotros h2{
    font-size: 3.5rem;
    text-shadow: 2px 2px 2px #333;
}
.sobre-nosotros-text {
    margin: 0 auto;
    width: 80%;
    text-align: justify;
    font-size: 30px;

}

.nosotros-columns {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.column {
    flex-basis: 45%;
    margin-bottom: 20px;
}

/* Centrado vertical de los contenidos */
.equipo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.equipo h3{
    font-size: 2.5rem;
    text-shadow: 2px 2px 2px #333;
}
.equipo p {
    text-align: justify;
    font-size: 30px;
}

.equipo a {
    color: pink;
    text-decoration: none;
    font-weight: bold;
}

.equipo a:hover {
    color: fuchsia;
}

.instalaciones h3{
    font-size: 2.5rem;
    text-shadow: 2px 2px 2px #333;
}

/* Banner */
.banner {
    background-color: #ac005a;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.banner-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-left, .banner-right {
    padding: 0 20px;
}

.banner-right {
    font-size: 40px;
}

.divider {
    width: 2px;
    height: 100px;
    background-color: white;
    margin: 0 20px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    #nosotros h2{
        font-size: 2rem;
        text-shadow: 2px 2px 2px #333;
    }
    .column {
        flex-basis: 100%;
        margin-bottom: 40px;
    }

    .sobre-nosotros-text {
        width: 100%;
        font-size: 16px;
        
    }

    .equipo h3{
        font-size: 1.5rem;
        text-shadow: 2px 2px 2px #333;
    }
    .equipo p {
        font-size: 16px;
    }

    .banner {
        height: 20px;
        padding: 50px 0;

    }

    .banner-right {
        font-size: 20px;
    }
    .banner-left {
        font-size: 10px;
    }
    .divider {
        width: 2px;
        height: 300px;
        background-color: white;
        margin: 0 20px;
    }
}

/* Banner fin */

/*Nuestro equipo*/ 

#Nequipo{
 
  padding: 100px 50px;
  background-image: url(../img/Neum22.jpg); /* Ruta de la imagen de fondo */
  background-size: cover; /* Cubrir toda la sección */
  background-repeat: no-repeat; /* No repetir imagen */
  background-position: center; /* Centrar la imagen */
  position: relative; /* Para posicionar elementos internos */
 
}
#Nequipo h2{
    font-size: 3.5rem;
    text-shadow: 2px 2px 2px #333;
}


.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.carousel {
    display: flex;
    overflow: hidden;
}

.carousel-item {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 0 10px; /* Añadir un padding horizontal para separar los videos */
    box-sizing: border-box; /* Para que el padding no afecte el tamaño del elemento */
}

.carousel-item video {
    width: 70%;
    display: block;
    border-radius: 15px; /* Borde redondeado */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Opcional: sombra para darle más estilo */
}

.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.Vdot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 0.5px solid #806170;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.active {
    background-color: #ff0080;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .carousel-item {
        min-width: 100%;
    }
    .carousel-item video {
        width: 100%;
        display: block;
        border-radius: 15px; /* Borde redondeado */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Opcional: sombra para darle más estilo */
    }
    #Nequipo h2{
        font-size: 2.5rem;
        text-shadow: 2px 2px 2px #333;
    }
}

@media (min-width: 769px) {
    .carousel-dots .Vdot:nth-child(4),
    .carousel-dots .Vdot:nth-child(5) {
        display: none;
    }
}
/* Web Styles */
@media (min-width: 769px) {
    .carousel-item {
        min-width: calc(100% / 3);
    }

    .carousel-dots .dot:nth-child(2n) {
        display: none;
    }
}

/*Nuestro equipo fin*/ 


/*Galeria inicio*/
#galeria {
    padding: 100px 50px;
    
}
#galeria h2{
    font-size: 3.5rem;
    text-shadow: 2px 2px 2px #333;
}

#galeria p{
    margin: 0 auto;
    width: 80%;
    text-align: justify;
    font-size: 30px;

}

.tm-Galerys-content {
    max-width: 2500px;
    margin: 0 auto;
    text-align: center;
}
  

.tm-Galerys-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    overflow: hidden; /* Asegura que las imágenes no desborden */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.tm-Galery-item {
    position: relative;
    flex: 1 0 calc(100% / 3); /* Tres imágenes visibles a la vez en pantallas grandes */
    box-sizing: border-box;
    padding: 10px;
}

.tm-Galery-item img {
    width: 110%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
   
}

.tm-Galery-item:hover img {
    opacity: 0.7;
}

.tm-Galery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

figcaption {
    font-size: 1.2rem;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(255, 105, 180, 0.8);
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

/* Estilo para los dots */
.Gcarousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.Gcarousel-dots .dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.Gcarousel-dots .dot.active {
    background-color: #717171;
}

/* Pantallas grandes */
@media (min-width: 1024px) {
    .tm-Galerys-carousel {
        max-width: 1200px;
    }

    .tm-Galery-item {
        flex: 1 0 calc(100% / 3 - 20px); /* Mostrar tres imágenes a la vez en pantallas grandes */
    }
}

/* Pantallas pequeñas (Móviles) */
@media (max-width: 768px) {
    .tm-Galerys-carousel {
        max-width: 100%;
        padding: 0 10px; /* Reducir el margen izquierdo en móviles */
    }

    .tm-Galery-item {
        flex: 1 0 100%; /* Mostrar solo una imagen a la vez en pantallas pequeñas */
        margin-left: 5px; /* Añadir un pequeño margen izquierdo */
    }
    .tm-Galery-item img {
        width: 120%;
            
    }
    

    #galeria h2{
        font-size: 2rem;
        
    }
    
    #galeria p{
        width: 100%;
        text-align: justify;
        font-size: 20px;
    
    }
}
/*Galeria fin*/

/*footer*/
/* Estilos generales */
/* Estilos generales */
#Contactanos {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f13b99; /* Fondo rosa en todo el cuerpo de la página */
    margin-bottom: -100px;
}

.contacto {
    padding: 40px;
    text-align: center;
    color: white;
    width: 100vw; /* Fondo rosa cubre toda la pantalla */
}

.contacto-title {
    font-size: 3.5rem;
    text-shadow: 2px 2px 2px #333;
    color: white;
    margin-bottom: 50px;
}

.contacto-grid {
    display: flex;
    justify-content: center;
    gap: 130px; /* Menor espacio entre las columnas */
    margin-bottom: 30px;
}

.contacto-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 550px;
}

.contacto-row {
    display: flex;
    align-items: center;
    margin-bottom: 40px; /* Más espacio entre las filas */
}

.contacto-row i {
    color: white;
    margin-right: 15px;
}

.contacto-row a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    transition: color 0.3s ease; /* Transición suave para el hover */
    font-weight: bold;
}

.contacto-row:hover a,
.contacto-row:hover i {
    color: black; /* Cambia el color a negro cuando se pone el mouse encima */
}

.contacto-row span {
    font-size: 18px;
    font-weight: bold;
}

/* Estilos del footer */
.footer {
    padding: 15px 0;
    width: 100vw; /* El fondo rosa cubre toda la pantalla */
    text-align: center;
    background-color: #f13b99; 
}

.footer-divider {
    background-color: #f13b99; 
    border-top: 2px solid black; /* Línea negra divisoria */
    margin-bottom: 30px;
}

.footer-copyright {
    font-size: 34px;
    color: white;
    margin: 0;
}

/* Responsividad */
@media (max-width: 768px) {

    .contacto-title {
        font-size: 2rem;

    }
    .contacto-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .contacto-column {
        width: 100%;
        align-items: center;
    }

    .contacto-row {
        justify-content: justify;
    }

    .contacto-row a, .contacto-row span {
        text-align: center;
        font-size: 20px;
    }
}


/*footer*/