* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    overflow-y: auto;
    height: 100%;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    scroll-behavior: smooth;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 24;
}

p {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9em;
    margin: 0;
}

h1 {
    font-size: 48px;
    font-weight: 200;
    color: #222;
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
}

h2 {
    font-size: 24px;
    font-weight: 200;
    color: #222;
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    line-height: 1.6em;
}

h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    color: #222;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    background-color: white;
    position: fixed;
    width: 100vw;
    z-index: 1000;
}

.logoNav {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    /* margin-right: 20px; */
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    white-space: nowrap;
    align-items: center;
}
.logoNav img {
  max-width: 90px; /* o lo que sea tu tamaño ideal */
  height: auto;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
    /* flex-grow: 1; */
    justify-content: space-between;
    max-width: 1200px;
    padding: 0 2rem;
    
}

.nav-left, .nav-right {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
}
.columnSpacer {
  width: 200px; /* Ajustá este ancho para que sea igual al botón reservar */
  flex-shrink: 0;
}


.nav a {
    text-decoration: none;
    color: #808191 ;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    white-space: nowrap;
}

.nav a:hover {
    color: #333;
}

/* ========== DROPDOWN NORMAL ========== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 10;
    /* border-radius: 5px; */
    padding: 10px 0;
    flex-direction: column;
    height: auto;
    top: 100%;
    border-top: #808191 3px solid;
    left: 0;

}

.dropdown-content a {
    color: #888;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Mostrar dropdown normal al hacer hover */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: flex;
}

/* ========== DROPDOWN HORIZONTAL CON IMÁGENES ========== */
.dropdown-content.horizontal-dropdown {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    /* top: 60px;
    border-top: chocolate 1px solid; */
}

.dropdown-content.horizontal-dropdown a {
    color: #333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    height: 120px;
    width: 160px;
    transition: transform 0.3s;
    overflow: hidden;
    position: relative;
    padding: 0;
}

/* Título encima de la imagen */
.dropdown-title {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.8);
    padding: 4px 8px;
    /* border-radius: 5px; */
    font-size: 20px;
    font-weight: 400;
    color: #333;
    z-index: 2;
    width: 90%; 
    text-align: center; 
    overflow-wrap: break-word;
    white-space: normal;
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
}

/* Imagen ocupa todo el contenedor */
.dropdown-content.horizontal-dropdown a img.dropdown-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

/* Hover efectos */
.dropdown-content.horizontal-dropdown a:hover img.dropdown-image {
    transform: scale(1.05);
}

.dropdown-content.horizontal-dropdown a:hover .dropdown-title {
    background: rgba(255, 255, 255, 1);
}

/* Oculta por defecto */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: fixed; /* CAMBIO CLAVE */
    top: 15%;        
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 1rem;
    width: 80%;
    height: auto;
    max-height: 85vh;     /* CAMBIO CLAVE: ocupa toda la pantalla */
    overflow-y: auto;  /* permite hacer scroll si hay contenido de más */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-top: 3px solid #808191;
    -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
  }
  
  .mobile-menu a,
  .mobile-menu button {
    display: flex;
    padding: 0.5rem 0;
    border: none;
    background: none;
    text-align: left;
    font-size: 1rem;
    text-decoration: none;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    width: 100%;
    height: 48px;
    color: #272531 !important;
    justify-content: space-between;
  }
  .mobile-menu .primary-btn{
    display: none;
  }
  .mobile-menu .material-symbols-outlined {
    background-color: #f0f3f6;;
    border-radius: 999px;
    font-size: 20px;
  }
  
  /* Hamburguesa visible solo en mobile */
  .hamburger {
    display: none;

    width: 30px;
    height: 19px;
    position: relative;
    cursor: pointer;
   
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001; /* para que esté por encima del menú */
  }
  
  .hamburger span {
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
  }
  
 /* Estado activo (convertir en cruz) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Submenu toggle */
  .mobile-submenu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    /* max-height: 100vh;  */
    /* overflow-y: auto;   */
    /* -webkit-overflow-scrolling: touch; */
  }
  .mobile-dropdown .mobile-submenu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: .8rem;
    /* QUITA el max-height aquí, para que el submenu crezca según su contenido */
    overflow: visible;
  }
  
  .mobile-dropdown.open .mobile-submenu {
    display: flex;
  }

  .mobile-submenu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    padding: 0.5rem;
 
    
    height: auto;
  }
  
  .mobile-submenu .dropdown-title {
    font-weight: 500;
    margin-top: 0.5rem;
    text-align: center;
    position: relative;
    left: unset;
    transform: none;
  }
  
  .mobile-submenu img.dropdown-image {
    width: 70%;
    max-width: 250px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
  }
  

/* ========== BOTÓN PRINCIPAL ========== */
.primary-btn {
    background-color: rgba(179, 230, 202, 0.89);
    color: #333 !important; 
    padding: 12px 30px;
    border: none !important;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 400 !important;
    transition: background-color 0.3s !important;
    text-decoration: none !important;
    font-size: 20px !important;
    height: 56px;
    display: flex;
    width: fit-content;
    font-family: 'montserrat', sans-serif !important;
    align-items: center !important;
    justify-content: center;
    border: 2px solid transparent;
    text-align: center;
}

.primary-btn:hover {
    background-color: #9CD9B5;
    border-color: #000000 !important;
}
.secondary-btn {
    background-color: #a88;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 56px;
    display: flex;
    width: fit-content;
    font-family: 'montserrat', sans-serif;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

.interest-btn:hover {
    background-color: #977;
}

/* ========== HERO ========== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 100%, #fcf8f3 100%), url(../images/bed-and-breakfast-4.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10%;
    max-height: 800px;
    background-position: bottom center;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}


.hero .hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.hero .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 200;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero .hero-images {
    width: 50%;
    display: flex;
}

.hero .images-left, .hero .images-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.hero .images-left img, .hero .images-right img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero .images-left img {
    border-left: #ffffff 20px solid;
    border-bottom: #ffffff 20px solid;
}

.hero .images-left img.imgLeft.top {
    width: 100%;
    position: absolute;
    top: -260px;
    left: 40px;
}

.hero .images-left img.imgLeft.bottom {
    width: 120%;
    position: absolute;
    bottom: -360px;
    left: 170px;
}

.hero .images-right img.imgRight.top {
    position: absolute;
    width: 60%;
    border: #ffffff 20px solid;
    top: -300px;
    right: 10px;
}

.hero .images-right img.imgRight.bottom {
    position: absolute;
    width: 80%;
    border: #ffffff 10px solid;
    right: 10px;
    bottom: -390px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px;
        flex-direction: column;
    }

    .nav {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .hero {
        padding-left: 5%;
        position: relative;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .hero .hero-title {
        font-size: 3rem;
    }
    .nav-left, .nav-right {
        display: none;
      }
    
      .hamburger {
        display: flex;
      }
    
      .logo {
        margin: 0 auto;
      }
      .nav .primary-btn{
          display: none;
      }

      .hero .hero-images {
        width: 100%;
        
        position: absolute;
    }
    .hero .images-right {
        display: none;
    }
    .hero .images-left img.imgLeft.bottom {
        width: 30%;
        position: absolute;
        bottom: -730px;
        left: 50%;
    }
    .hero .images-left img.imgLeft.top {
        width: 30%;
        position: absolute;
        top: 340px;
        left: 30%;
    }
    .hero .hero-content{
        margin-top: 140px;
    }
    p{
        font-size: 14px;
    }
    h1{
        font-size: 36px;
    }
    h2{
        font-size: 20px;
    }
    .primary-btn,
    .secondary-btn{
        font-size: 16px;
        
    }
    .mobile-menu {
        display: none; /* será mostrado con JS */
      }

}
@media (max-width: 500px){
    .hero .images-left img.imgLeft.bottom {
        width: 35%;
        position: absolute;
        bottom: -600px;
        left: 50%;
    }
    .hero .images-left img.imgLeft.top {
        width: 33%;
        position: absolute;
        top: 370px;
        left: 30%;
    }
}