/* Importando la fuente Comfortaa */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');

/* Estilos básicos */
body {
    font-family: 'Comfortaa', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Fondo blanco */
    color: #272B2F;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    color: #0066cc;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004d99;
}

p {
    line-height: 1.6;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: bold;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 51, 102, 0.9); /* Fondo semi-transparente */
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .logo h1 {
    color: #ffffff;
    margin: 0;
}

.navbar .nav-links {
    display: flex;
    gap: 1rem;
    margin-right: 70px;
}

.navbar .nav-links a {
    color: #ffffff;
    font-weight: 700;
}

.navbar .nav-links a:hover {
    color: #00aaff;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f0f4f8;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown-content li {
    padding: 0.5rem 1rem;
}

.dropdown-content li a {
    color: #003366;
}

.dropdown-content li a:hover {
    background-color: #ddd;
    color: #003366;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Transformaciones cuando está activo */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Ligero difuminado */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 2rem 3rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-text {
    color: #f0f4f8;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #0066cc;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: white;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #0066cc;
    transform: scale(1.05);
}

/* Botón secundario */
.btn-secondary {
    background-color: #004d99;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 1rem;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: white;
}

.btn-secondary:hover {
    background-color: #003366;
    transform: scale(1.05);
}

/* Secciones generales */
section {
    padding: 6rem 2rem 4rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.about-text {
    margin-left: 50px;
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
}

.about-image img {
    margin-top: 40px;
    width: 70%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

/* Servicios */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.service p {
    font-size: 0.95rem;
}

/* Habitaciones */
.rooms-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.room {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.room h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.room p {
    font-size: 0.95rem;
}

.room img {
    width: 100%;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Restaurantes */
.restaurants-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.restaurant {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column; /* Para alinear el contenido verticalmente */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Se asegura de que todas las tarjetas tengan la misma altura */
}

.restaurant:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.restaurant h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.restaurant p {
    font-size: 0.95rem;
    flex: 1; /* Para que el contenido de texto se expanda al máximo */
}

.restaurant img {
    width: 100%;
    border-radius: 10px;
    margin-top: 1rem;
    align-self: center; /* Para alinear la imagen en el centro de la tarjeta */
}

/* Cronograma Semanal */
.weekly-schedule-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.day-schedule {
    margin-bottom: 2rem;
}

.day-schedule h4 {
    color: #003366;
    margin-bottom: 0.5rem;
}

.day-schedule ul {
    margin-left: 1.5rem;
}

.day-schedule ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Bares */
.bars-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.bar {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bar:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bar h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.bar p {
    font-size: 0.95rem;
}

.bar img {
    width: 100%;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Deportes Externos */
.outdoor-sports-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.outdoor-sport {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outdoor-sport:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.outdoor-sport h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.outdoor-sport p {
    font-size: 0.95rem;
}

.outdoor-sport ul {
    margin-left: 1.5rem;
}

.outdoor-sport ul li {
    margin-bottom: 0.5rem;
}

/* Actividades */
.activities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.activity {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.activity h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.activity p {
    font-size: 0.95rem;
}

.activity ul {
    margin-left: 1.5rem;
}

.activity ul li {
    margin-bottom: 0.5rem;
}

/* Información Turística */
.tourist-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.tourist-location {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tourist-location:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tourist-location h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.tourist-location p {
    font-size: 0.95rem;
}

.tourist-location ul {
    margin-left: 1.5rem;
}

.tourist-location ul li {
    margin-bottom: 0.5rem;
}

.tourist-location img {
    width: 100%;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Información General del Hotel */
.general-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.welcome, .sustainability {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome:hover, .sustainability:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.welcome h3, .sustainability h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.welcome p, .sustainability p {
    font-size: 0.95rem;
}

.welcome ul, .sustainability ul {
    margin-left: 1.5rem;
}

.welcome ul li, .sustainability ul li {
    margin-bottom: 0.5rem;
}

/* Contacto */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.contact-text {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-form input, 
.contact-form textarea {
    padding: 0.75rem;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
    font-family: 'Comfortaa', sans-serif;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background-color: #0066cc;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: center;
}

.contact-form button:hover {
    background-color: #004d99;
    transform: scale(1.05);
}

/* Pie de página */
footer {
    background-color: #003366;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

footer .social-media a {
    color: #00aaff;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

footer .social-media a:hover {
    color: #ffffff;
}

  .slider-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
  }

  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .slider-image {
    min-width: 100%;
    display: none;
  }

  .slider-image.active {
    display: block;
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .slider-image.active {
    opacity: 1;
  }

  .slider-image.animate-in {
    animation: fadeIn 0.5s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
/* Sección Instalaciones del Hotel */
.instalaciones {
    background-color: #ffffff;
    padding: 6rem 2rem 4rem 2rem;
    text-align: center;
}

.instalaciones h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0066cc;
}

.instalaciones-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.instalacion {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instalacion:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.instalacion h3 {
    margin-bottom: 1rem;
    color: #003366;
    font-size: 2rem;
}

.instalacion p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sub-instalaciones {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.sub-instalacion {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.sub-instalacion h4 {
    margin-bottom: 0.5rem;
    color: #0066cc;
    font-size: 1.5rem;
}

.sub-instalacion p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.caracteristicas, .otras-instalaciones {
    list-style-type: disc;
    padding-left: 2rem;
    text-align: left;
    margin-top: 1rem;
}

.caracteristicas li, .otras-instalaciones li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
/* Estilos para Imágenes en Instalaciones */
.instalacion-image {
    width: 40%;
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Estilos para Imágenes en Servicios */
  .service-image {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
/* Personalizar la barra de desplazamiento */
::-webkit-scrollbar {
    width: 9px;
}

/* Fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Gris claro */
    border-radius: 10px; /* Redondear el track (barra larga) */
}

/* Barra de desplazamiento */
::-webkit-scrollbar-thumb {
    background: #c1c1c1; /* Gris más oscuro para la barra */
    border-radius: 10px; /* Redondear la barra corta */
    border: 2px solid #f1f1f1; /* Dejar un margen para ver el borde redondeado */
}

/* Barra de desplazamiento al pasar el mouse */
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1; /* Gris más oscuro al hacer hover */
}

  /* Estilos del popup */
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-family: 'Comfortaa', sans-serif;
  }

  .popup-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .popup-content h2 {
    color: #0066cc;
    margin-bottom: 1rem;
  }

  .popup-content p {
    color: #333333;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .btn-primary {
    background-color: #0066cc;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Comfortaa', sans-serif;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #004d99;
    color: #fff;
  }
/* Responsividad */
@media (max-width: 1200px) {
    .services-container, .rooms-container, .restaurants-container, .bars-container, .outdoor-sports-container, .activities-container, .tourist-info-container, .general-info-container {
        flex-direction: column;
        align-items: center;
    }

    .service, .room, .restaurant, .bar, .outdoor-sport, .activity, .tourist-location, .welcome, .sustainability {
        max-width: 100%;
    }

    /* Dropdown Menus para móviles */
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        color: #ffffff;
        padding: 0.5rem 1rem;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: rgba(0, 51, 102, 0.95);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: #ffffff;
        padding: 1rem 0;
        width: 100%;
    }

    /* Estilo para submenús en móviles */
    .dropdown-content {
        padding-left: 1rem;
    }

    .dropdown .dropbtn::after {
        content: " ▼";
        font-size: 0.8rem;
    }

    .dropdown.active .dropbtn::after {
        content: " ▲";
    }
    .instalaciones-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .service {
        padding: 1.5rem;
        max-height: 150px; /* Limita la altura de las tarjetas */
        overflow: hidden; /* Oculta el contenido que exceda la altura */
    }
    .about-content {
        flex-direction: column;
    }

    .about-image img {
        width: 90%;
        margin-top: 30px;
    }
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-section {
        height: 70vh;
    }

    .hero-content {
        padding: 1rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }

    .about-content, .services-container, .rooms-container, .restaurants-container, .bars-container, .outdoor-sports-container, .activities-container, .tourist-info-container, .general-info-container {
        flex-direction: column;
        align-items: center;
    }

    .service, .room, .restaurant, .bar, .outdoor-sport, .activity, .tourist-location, .welcome, .sustainability {
        max-width: 100%;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form {
        width: 100%;
    }
    .instalacion {
        padding: 1.5rem;
        max-width: 100%;
    }

    .sub-instalaciones {
        gap: 1rem;
    }

    .sub-instalacion h4 {
        font-size: 1.3rem;
    }

    .caracteristicas, .otras-instalaciones {
        padding-left: 1.5rem;
    }
    .sub-instalacion {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
      }
    
      .sub-instalacion p {
        flex: 1;
      }
    
      .sub-instalacion img {
        flex: 1;
      }
    
      .service {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
    
      .service img {
        margin-top: 1rem;
        max-width: 100%;
      }
    .instalacion-image {
        width: 70%;
    }
}
@media (max-width: 767px) {
    .sub-instalacion {
      display: block;
    }
  
    .sub-instalacion img {
      margin-top: 1rem;
      width: 100%;
    }
  
    .service {
      text-align: center;
    }
  
    .service img {
      margin-top: 1rem;
      width: 100%;
    }
  }