/* Fondo general */
body {
    min-height: 250vh; /* al menos el alto completo de la pantalla */
    margin: 0;
    background-color: black;
    color: white;
    font-family: sans-serif;
}

/* Encabezado con imagen de fondo */
.encabezado {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto-encima {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.texto-encima {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(to right, purple, orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Carrusel de tarjetas */
.carrusel {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.contenedor-carrusel {
    display: flex;
    gap: 30px;
    animation: deslizar-loop 30s linear infinite;
    width: max-content;
}

.tarjeta {
    min-width: 300px;
    max-width: 300px;
    height: 325px;
    background: linear-gradient(to bottom right, #222, #555);
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.tarjeta:hover {
    transform: scale(1.2);
    opacity: 1;
}

.contenedor-carrusel:hover {
  animation-play-state: paused;
  
}

/* Texto de títulos y descripciones dentro de tarjetas */
.titulo-parrafo {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(to right, purple, orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.descripcion {
    font-size: 16px;
    line-height: 1.5;
}

/* Animación carrusel */
@keyframes deslizar-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.iconos {
    display: block; /* Hace que la imagen se comporte como un bloque */
    margin-left: auto; /* Centra la imagen */
    margin-right: auto; /* Centra la imagen */
    width: 225px; /* Ajusta el tamaño si es necesario */
}

.mapa {
	text-align: center;
	margin-top: 50px;
}

.mapa h2 {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    background: linear-gradient(to right, purple, orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pie-pagina {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
}

.pie-pagina h3 {
    font-size: 24px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.redes-sociales {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 30px;
}

.red {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(to right, purple, orange);
    padding: 10px 10px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s;
}

.red img {
    width: 100px;
    height: 100px;
    filter: brightness(1) invert(0);
}

.red span {
    font-size: 36px;
    font-weight: 500;
}

.red:hover {
    background-color: #555;
    transform: scale(1.05);
}

.info h2 {
	text-align: center;
	font-size: 48px;
	background: linear-gradient(to right, purple, orange);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.info {
	text-align: justify;
	line-height: 1.5;
	font-size: 24px;
	min-width: 300px;
	max-width: 900px;
	height: 300px;
	margin: 150px auto;
}




