

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px;
    text-align: left;
}

.logo {
    width: 320px;
    height: auto;

    /* Marco con gradiente */
    border: 8px solid;
    border-image: linear-gradient(
        45deg,
        #f3e2a9,
        #edd89a,
        #f5e1b3,
        #edd89a,
        #f3e2a9
    ) 1;

    /* Sombra suave para destacar sobre fondo negro */
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.4));
}

.main-header h1 {
    font-family: 'UnifrakturCook', cursive;
    font-size: 100px;
    line-height: 1.05;
    margin: 0;

    /* Gradiente tono arena */
    background: linear-gradient(
        45deg,
        #f3e2a9,  /* arena clara */
        #edd89a,
        #f5e1b3,
        #edd89a,
        #f3e2a9
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Brillo y contraste */
    text-shadow:
        2px 2px 4px rgba(0,0,0,0.5),
        0 0 10px rgba(255,240,180,0.5);
}



.main-header h2 {
    font-family: 'Grenze Gotisch', cursive;
    font-size: 70px;
    line-height: 1.05;
    margin: 0;

    /* Gradiente tono arena */
    background: linear-gradient(
        45deg,
        #f3e2a9,  /* arena clara */
        #edd89a,
        #f5e1b3,
        #edd89a,
        #f3e2a9
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Brillo y contraste */
    text-shadow:
        2px 2px 4px rgba(0,0,0,0.5),
        0 0 10px rgba(255,240,180,0.5);
}




.hero {
    position: relative;
    width: 100%;
}

/* imagen principal */

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* texto encima */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 12vh;

    background: rgba(0,0,0,0.45);
    padding: 40px;
}

/* texto */

.hero-overlay p {
    max-width: 1300px;
    font-family: 'Patrick Hand', cursive;
    font-size: 28px;
    line-height: 1.7;
    color: #f5f5f5;
    text-align: center;

    text-shadow:
        3px 3px 6px rgba(0,0,0,.9),
        0 0 15px rgba(0,0,0,.8);
}

/* palabras especiales */

.hero-overlay .highlight {
    font-family: 'UnifrakturCook', cursive;
    font-size: 45px;

    background: linear-gradient(
        45deg,
        #f4e3b0,
        #e8cf88,
        #fff1c4,
        #e8cf88,
        #f4e3b0
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        3px 3px 6px rgba(0,0,0,.9),
        0 0 15px rgba(255,230,150,.7);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.double-images {
    display: flex;
    width: 100%;
}

.double-images img {
    width: 50%;
    height: auto;
    display: block;
}



body {
    margin:0;
    font-family: Arial;
    background:#111;
    color:#eee;
}

header {
    background:#000;
    padding:20px;
    text-align:center;
}

nav a {
    color:#ff3b3b;
    margin:0 15px;
    text-decoration:none;
    font-weight:bold;
}

.viajes {
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    padding:20px;
}

article {
    background:#1c1c1c;
    padding:15px;
    border-radius:10px;
}

article img {
    width:100%;
    border-radius:8px;
}

footer {
    text-align:center;
    padding:20px;
    background:#000;
}

.top-menu {
    width: 100%;
    background: #222;
    padding: 12px 0;

    display: flex;
    justify-content: center;
    gap: 60px;
}

/* enlaces */

.top-menu a {
    font-family: 'UnifrakturCook', cursive;
    font-size: 28px;
    text-decoration: none;

    background: linear-gradient(
        45deg,
        #f4e3b0,
        #e8cf88,
        #fff1c4,
        #e8cf88,
        #f4e3b0
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        2px 2px 4px rgba(0,0,0,.7),
        0 0 10px rgba(255,230,150,.6);

    transition: transform .2s, text-shadow .2s;
}

/* hover */

.top-menu a:hover {
    transform: scale(1.1);
    text-shadow:
        2px 2px 6px rgba(0,0,0,.9),
        0 0 20px rgba(255,230,150,.9);
}


.hero img,
.intro-image img,
.double-images img {
    border: 6px solid;
    border-image: linear-gradient(
        45deg,
        #f3e2a9,
        #edd89a,
        #f5e1b3,
        #edd89a,
        #f3e2a9
    ) 1;

    box-sizing: border-box;
}

/* Contenedor de los artículos, ahora con flexbox */
        .articles-container {
            display: flex;
            justify-content: space-around; /* Distribuye los artículos horizontalmente */
            flex-wrap: wrap; /* Permite que los artículos se ajusten en pantallas más pequeñas */
            margin-top: 40px;
        }

        .article-container {
            display: flex;
            flex-direction: column;
	    text-decoration: none;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.8); /* Fondo con opacidad */
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            max-width: 380px;
            margin: 10px;
            cursor: pointer; /* Cambia el cursor a mano */
            transition: transform 0.3s ease, background-color 0.3s ease; /* Transición */
        }

        .article-container img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 15px;
            transition: filter 0.3s ease; /* Transición para cambiar la tonalidad */
        }

        .article-container h3 {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #2e8b57; /* Color relajado */
            transition: color 0.3s ease; /* Transición del color */
        }

        .article-container p {
            font-size: 1.1rem;
            color: #444;
            margin-bottom: 5px; /* Ajuste del margen inferior */
            transition: color 0.3s ease; /* Transición del color */
        }

        /* Efectos al pasar el ratón por encima */
        .article-container:hover {
            transform: scale(1.05); /* Agranda ligeramente la caja */
            background-color: rgba(255, 255, 255, 0.9); /* Cambia el fondo */
        }

        .article-container:hover img {
            filter: brightness(85%); /* Oscurece la imagen */
        }

        .article-container:hover h2,
        .article-container:hover p {
            color: #ff6347; /* Cambia el color del texto */
        }

	.article-images {
            text-align: center; 
            margin: 20px 0;
        }

        .article-images img {
            width: 90%;
            margin: 10px;
            border-radius: 10px;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .image-row {
        	display: flex;
        	justify-content: center;
        	gap: 20px; /* Espacio entre las imágenes */
    	}

      .carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  perspective: 1000px;
}


.carousel-track {
  display: flex;
  width: calc(300px * 12);
  animation: scroll 40s linear infinite;
  transform-style: preserve-3d;
}

.carousel-track img {
  width: 300px;
  margin: 0 20px;
  border-radius: 12px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}

.integrantes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.integrante {
  text-align: center;
}

.integrante img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.integrante p {
  margin-top: 15px;
  font-family: 'Patrick Hand', cursive;
  font-size: 35px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

 .return-button {
    display: inline-block;
    background-color: #cc7722; /* Ocre */
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    
    /* Centrado */
    margin-left: auto;
    margin-right: auto;
}

.return-button:hover {
    background-color: #b0691b; /* Un poco más oscuro al pasar el ratón */
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {

  .carousel-track img {
    width: 200px;
    margin: 0 15px;
  }

  .carousel-track {
    width: calc(200px * 12);
  }

  .main-header h1 {
    font-size: 55px;
    padding: 0 10px;
  }

  .main-header h2 {
    font-size: 15px;
    padding: 0 10px;
  }

  .integrantes {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important; /* ahora 2 imágenes por fila */
    gap: 20px; /* opcional, menos espacio en móvil */
  }

  .integrante p {
     font-size: 30px !important;
  }

  .logo {
    width: 150px;
    border: 4px solid;
  }

  .top-menu {
    flex-direction: column;
    gap: 10px;
  }

  .double-images {
    flex-direction: column;
  }

  .articles-container {
    flex-direction: column;
  }

  .hero-overlay p {
    font-size: 1rem;
    padding: 15px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .return-button {
        font-size: 14px; /* Reducir el tamaño del botón */
        padding: 10px 15px; /* Reducir el padding del botón */
    }
}


