  @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
  
  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
  }

  header {
    background-color: #f0f0f0;
    padding: 1rem;
  }

  nav ul {
    list-style-type: none;
    padding: 0;
  }

  nav ul li {
    display: inline;
    margin-right: 1rem;
  }

  .background-image {
    background-image: url('../img/Inicio.avif');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    align-content: center;
    text-align: center;
  }

  .background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 0.5);
    z-index: 1;
  }

.content-background-image {
    padding: 2rem;
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.card{
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.cards{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 4rem 2rem;
    gap: 2rem;
    
}
.card-image{
  background-size: cover;
  background-position: center;
  position: relative;
  height: 20rem; /* 320px - equivalente a h-80 */   
  width: 100%;
}
@media (min-width: 768px) { /*Tablet*/
  .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 4rem 2rem;
  }
  .card-image  {
    height: 26rem; /* 416px - equivalente a h-104 */
    width: 100%;
  }
}
@media (min-width: 1024px) { /*Desktop*/
  .cards {
    grid-template-columns: repeat(3, 1fr);
    padding: 5rem 2rem;
    margin-left: 13%;
    margin-right: 13%;
  }
    .card-image  {
    height: 15rem; /* 240px - equivalente a h-60 */
    width: 100%;
  }
}
.card-content{
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
}

/* DESTINOS */
.destinos-title {
  text-align: center;
  margin: 1.5rem;
}

.destinos-title h1 {
  font-size: 2.5rem;
  margin: 0;
}

.destinos-title p {
  font-size: 1.2rem;
  color: #666;
}

.destinos-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.destinos-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  text-align: start;
  margin: 0 0 1rem 0;
}

.destinos-description {
  font-size: 1.1rem;
  color: #666;
  text-align: start;
  margin: 0 0 3rem 0;
  margin-left: auto;
  margin-right: auto;
}

/* DESTINOS GRID */
.destinos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.destino-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.destino-image {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
  display: flex;
  align-items: end;
}

.destino-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  color: white;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.destino-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.destino-overlay p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* Tablet - 2 columnas */
@media (min-width: 768px) {
  .destinos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .destino-image {
    height: 350px;
  }
  
  .destinos-section {
    padding: 3rem 2rem;
  }
}

/* Desktop - 4 columnas */
@media (min-width: 1024px) {
  .destinos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .destino-image {
    height: 300px;
  }
  
  .destinos-section {
    padding: 4rem 2rem;
  }
}

.destinos-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.destinos-images li {
  list-style: none;
}

.destinos-images img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/*NOSOTROS*/

.nosotros-title {
  text-align: center;
  margin: 1.5rem;
}

.nosotros-title h1 {
  font-size: 2.5rem;
  margin: 0;
}

.nosotros-title p {
  font-size: 1.2rem;
  color: #666;
}

.nosotros-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  text-align: start;
  margin: 0 0 1rem 0;
}

.nosotros-description {
  font-size: 1.1rem;
  color: #666;
  text-align: start;
  margin: 0 0 3rem 0;
  margin-left: auto;
  margin-right: auto;
}

.nosotros-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Perfil de Ale */
.nosotros-ale {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ale-image-container {
  flex-shrink: 0;
}

.ale-image-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ale-image-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.ale-text {
  text-align: center;
  max-width: 600px;
}

.ale-text h3 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.ale-text p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Mobil */
@media (max-width: 767px) {
.nosotros-certificaciones {
  flex-direction: column;

  
}

.nosotros-testimonios{
  display: flex;
  flex-direction: column;
}
.contacto-section{
      grid-template-columns: repeat(1, 1fr);

}

}

/* Tablet - Layout horizontal */
@media (min-width: 768px) {
  .nosotros-ale {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  
  .ale-text {
    text-align: left;
    max-width: none;
    flex: 1;
  }
  
  .ale-image-circle {
    width: 200px;
    height: 200px;
  }
  
  .nosotros-section {
    padding: 3rem 2rem;
  }

  .nosotros-experiencia {
 display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.nosotros-certificaciones {
  flex-direction: row;

  
}

.nosotros-testimonios{
  display: grid;
 grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.contacto-section{
      grid-template-columns: repeat(1, 1fr);

}

}

/* Desktop - Layout horizontal optimizado */
@media (min-width: 1024px) {
  .nosotros-ale {
    gap: 3rem;
    padding: 3rem;
  }
  
  .ale-image-circle {
    width: 220px;
    height: 220px;
  }

  .nosotros-ale .nosotros-text {
    width: 60%;
  }

  .nosotros-text h3 {
    font-size: 2rem;
  }
  
  .nosotros-text p {
    font-size: 1.15rem;

  }
  
  .nosotros-section {
    padding: 4rem 2rem;
  }


.nosotros-experiencia {
 display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.nosotros-certificaciones {
  flex-direction: row;
  
}
.nosotros-testimonios{
  display: grid;
 grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.contacto-section{
      grid-template-columns: repeat(2, 1fr);

}
}

.nosotros-certificaciones {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  text-align: center;
  
}

.nosotros-experiencia img {
  height: 100px;
  border-radius: 0.5rem;
}

.nosotros-experiencia p {
  margin: 0;
}



.nosotros-certificaciones h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.nosotros-certificaciones img {
  height: 200px;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

/* Carrusel Universal simple */
.universal-carousel {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  text-align: center;
}

.carousel-slide img {
  width: calc(0);
  height: 200px;
  object-fit: contain;
  object-position: center;
  border-radius: 0.5rem;
  margin: 1.5rem 40px;
  background-color: #f9f9f9;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.nosotros-testimonios-cuadro {
  border: 1px solid #eee;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1rem 0;
  background-color: #f9f9f9;
}
.nosotros-testimonios{
  justify-content: center;
  align-items: center;
}

.testimonio{
  margin: 10px;
}
.testimonio-card{
  background-color: #ffffff;
  width: 300px;
  height: auto;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
}
.testimonio-card img {
  margin: 10px;
  border-radius: 5%;
  width: 280px;
}
.testimonio-card p {
  margin: 10px;
  text-align: center;
}
.testimonio-card h3 {
  margin: 10px;
}

/* CONTACTO */
.contacto-title {
  text-align: center;
  margin: 1.5rem;
}

.contacto-title h1 {
  font-size: 2.5rem;
  margin: 0;
}

.contacto-title p {
  font-size: 1.2rem;
  color: #666;
}

.contacto-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  text-align: start;
  margin: 0 0 1rem 0;
}

.contacto-section {
  max-width: 1400px;
  padding: 2rem 1rem 2rem 1rem;
margin-left: 5%;
margin-right: 5%;
  display: grid;
    justify-content: center;
    gap: 2rem;
}


.contacto-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px 10px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)
}

/* Estilos para el botón del formulario */
.contacto-form button[type="submit"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.contacto-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contacto-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Estilos para notificaciones del formulario */
.form-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  margin: 0;
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid;
  display: flex;
  align-items: center;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  min-width: 300px;
  max-width: 90%;
  animation: popupAppear 0.3s ease-out;
}

.form-notification::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1002;
}

.form-notification.success {
  background-color: #ffffff;
  color: #23cb4b;
  border-color: #238239;
}

.form-notification.error {
  background-color: #ffffff;
  color: #d63e4d;
  border-color: #ff8995;
}

.notification-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.notification-content span:first-child {
  margin-right: 0.75rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
}

.notification-close:hover {
  opacity: 1;
}

@keyframes popupAppear {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para el selector de país en el formulario de contacto */
.phone-input-container {
  display: flex;
  gap: 8px;
}

#country-code {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#country-code:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.phone-input-container #phone {
  flex: 1;
  margin: 0;
}

@media (max-width: 768px) {
  .phone-input-container {
    flex-direction: column;
    gap: 10px;
  }
  
  #country-code {
    min-width: auto;
  }
}
/* Estilos consistentes para todos los inputs del formulario */
.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form input[type="tel"],
.contacto-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacto-form input[type="text"]:focus,
.contacto-form input[type="email"]:focus,
.contacto-form input[type="tel"]:focus,
.contacto-form textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.contacto-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

/* Galería Vertical */
.gallery-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.gallery-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.vertical-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  background-color: #f8f9fa;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  color: white;
  margin-top: 2rem;
}

.gallery-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.gallery-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #667eea;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive - Tablet */
@media (min-width: 768px) {
  .gallery-section {
    padding: 3rem 2rem;
    
  }
  
  .vertical-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .gallery-item img {
    height: auto;
    background-color: #f8f9fa;
  }
  
  .gallery-header h1 {
    font-size: 3rem;
  }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
  .gallery-section {
    padding: 4rem 2rem;
  }
  
  .vertical-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .gallery-item img {
    height: auto;
    background-color: #f8f9fa;
  }
  
  .gallery-header h1 {
    font-size: 3.5rem;
  }
  
  .gallery-cta {
    padding: 4rem 3rem;
  }
}

@media (min-width: 1200px) {
  .vertical-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .gallery-item img {
    height: auto;
    background-color: #f8f9fa;
  }

  .gallery-item:nth-child(even) {
    margin-top: 3rem;
  }
}
