/* === ESTILOS GENERALES DEL BODY === */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('../img/fondoGeneral3.jpg') no-repeat center/cover fixed; /* Combinado propiedades background */
    height: 100vh;
    display: block;
  }
  
  /* === HEADER ESTILOS GENERALES === */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  }
  
  /* === NAVBAR === */
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 30px;
    height: 90px;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  }
  
  /* === MENÚ NORMAL (ESCRITORIO) === */
  nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  nav ul li {
    margin: 0 25px;
    position: relative;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 8px rgba(255, 255, 255, 0.3);
    transition: color 0.3s, text-shadow 0.3s; /* Combinado transiciones */
  }
  
  nav ul li a:hover {
    color: #ffcc00;
    text-shadow: 5px 5px 15px rgba(255, 204, 0, 0.8);
  }
  
  /* Línea decorativa debajo de cada enlace */
  nav ul li::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: #ffcc00;
    margin-top: 5px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Combinado transiciones */
  }
  
  nav ul li:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }
  
  /* === MENÚ HAMBURGUESA === */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1500;
  }
  
  .menu-toggle div {
    width: 100%;
    height: 5px;
    background: #000;
    border-radius: 5px;
    transition: all 0.4s ease;
  }
  
  /* Animación para convertir en "X" */
  .menu-toggle.active div:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .menu-toggle.active div:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active div:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  /* === ÍCONO DEL MENÚ === */
  .menu-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease;
  }
  
  .menu-icon:hover {
    transform: scale(1.1);
  }
  
  .icon-item {
    margin-top: 20px;
  }
  
  /* === RESPONSIVIDAD MENÚ E ÍCONOS === */
  @media (max-width: 768px) {
    nav ul {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      right: -1000vw;
      width: 70%;
      height: 100vh;
      background: rgba(0, 0, 0, 0.8);
      text-align: center;
      padding-top: 80px;
      z-index: 1000;
      transition: right 0.5s ease-in-out;
    }
  
    nav ul.active {
      right: -77vw;
    }
  
    nav ul li {
      margin: 20px 0;
      list-style: none;
    }
  
    nav ul li a {
      color: #fff;
      font-size: 18px;
      font-weight: bold;
      transition: color 0.3s ease;
    }
  
    nav ul li a:hover {
      color: #f8b400;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    .menu-icon {
      width: 40px;
      height: 40px;
    }
  
    .icon-item {
      margin: 30px 0;
    }
  }
  
  /* === CONTENEDOR PRINCIPAL === */
  .container {
    display: flex;
    flex-direction: row;
    width: auto;
    height: 100vh;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
  }
  
  /* === TEXTO === */
  .texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 20px;
  }
  
  /* === BOTÓN DE CONTACTO === */
  .botones a {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  
  .botones a:hover {
    background: #16a085;
  }
  
  /* === CARRUSEL === */
  .carousel-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: hidden;
    max-width: 800px;
  }
  
  .carousel {
    width: 280px;
    height: 380px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCarousel 15s infinite linear;
  }
  
  .carousel img {
    width: 180px;
    height: 260px;
    border-radius: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(var(--rotate-angle)) translateZ(300px);
    transition: transform 1s;
  }
  
  @keyframes rotateCarousel {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
  }
  
  /* === RESPONSIVIDAD CONTAINER === */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0 5%;
    }
  
    .texto, .carousel-container {
      width: 100%;
      max-width: 90%;
    }
  
    .carousel-container {
      margin-bottom: 10vh;
    }
  
    .carousel {
      width: 250px;
      height: 350px;
    }
  
    .carousel img {
      width: 160px;
      height: 240px;
    }
  }
  
  /* === SECCIÓN DE SERVICIOS === */
  .servicios10 {
    padding: 60px 20px;
    text-align: center;
  }
  
  .servicios10-titulo {
    font-size: 2rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 10px;
  }
  
  .servicios10-descripcion {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 20px;
  }
  
  .servicios10-botones {
    margin-bottom: 30px;
  }
  
  .servicios10-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 5px;
  }
  
  .servicios10-btn-activo {
    background: #ff9100;
    color: #000;
  }
  
  /* === CONTENEDOR DE SERVICIOS === */
  .servicios10-contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Cada Tarjeta de Servicio */
  .servicios10-item {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #ff9100, #ff840034);
    color: #000000;
    border-radius: 10px;
    padding: 15px;
    width: 320px;
    max-width: 300px;
    box-shadow: 5px 5px 15px rgba(41, 35, 35, 0.1);
    transition: transform 0.3s ease-in-out;
  }
  
  .servicios10-item:hover {
    transform: scale(1.05);
  }
  
  .servicios10-icono {
    font-size: 1.5rem;
    margin-right: 15px;
  }
  
  .servicios10-texto h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
  }
  
  .servicios10-texto p {
    font-size: 0.9rem;
    margin: 5px 0 0;
  }
  
  /* === RESPONSIVIDAD SERVICIOS === */
  @media (max-width: 1024px) {
    .servicios10-contenedor {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: auto;
    }
  }
  
  @media (max-width: 768px) {
    .servicios10-contenedor {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
  
    .servicios10-item {
      width: 90%;
    }
  }
  
  /* === SERVICE CONTAINER === */
  .service-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }
  
  .service-item {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
  }
  
  .service-item img {
    width: 80px;
    height: 80px;
  }
  
  .netflix-text { color: #E50914; }
  .iptv-text { color: #007BFF; }
  .wifi-text { color: #28A745; }
  
  @media (max-width: 768px) {
    .service-container {
      flex-direction: column;
      align-items: center;
    }
  
    .service-item {
      width: 120px;
      height: 120px;
    }
  
    .service-item img {
      width: 60px;
      height: 60px;
    }
  }
  
  /* === BANNER === */
  .banner {
    background: url('https://cdn.pixabay.com/photo/2022/10/24/09/54/switzerland-7543063_1280.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  
  .banner-texto {
    position: relative;
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
    z-index: 2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }
  
  @media (max-width: 768px) {
    .banner {
      height: 200px;
    }
  
    .banner-texto {
      font-size: 1.8rem;
    }
  }
  
  /* === SECCIÓN DE HABITACIONES === */
  .habitacion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 20px auto;
  }
  
  .info-box {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .info-box h2 {
    font-size: 24px;
    color: #333;
  }
  
  .info-box p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
  }
  
  .info-box h3 {
    font-size: 22px;
    color: #e74c3c;
  }
  
  .btn {
    margin-top: 15px;
  }
  
  .btn a {
    display: inline-block;
    padding: 10px 20px;
    background: #ff9100;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .btn a:hover {
    background: #c0392b;
  }
  
  .image-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .image-box video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }
  
  @media (max-width: 768px) {
    .habitacion {
      flex-direction: column;
      text-align: center;
    }
  
    .image-box {
      width: 80%;
    }
  }
  
  /* === SECCIÓN GALERÍA === */
  .section1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100vh;
    background: #111;
    padding: 20px;
  }
  
  .galeria {
    display: flex;
    gap: 5px;
    width: 60%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  }
  
  .galeria img {
    width: 0;
    flex-grow: 1;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.5s ease-in-out;
    min-height: 100%;
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.2);
  }
  
  .galeria img:hover {
    cursor: pointer;
    width: 300px;
    opacity: 1;
    filter: contrast(120%) brightness(1.1);
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  }
  
  @media (max-width: 768px) {
    .galeria {
      width: 100%;
      height: 350px;
    }
  
    .galeria img {
      flex-grow: 1;
      width: 0;
      min-height: 100%;
    }
  
    .galeria img:hover {
      width: 200px;
    }
  }