body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: white;
    color: #333;
}

header {
    background-color: #f8f4f0;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    flex-direction: row; 
    padding-right: 150px;
}

/*header {
    background-color: #f8f4f0;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: row;
}*/

.logo-img {
    height: 60px;
    margin: 0;
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 2em;
    cursor: pointer;
}
/*.menu-toggle {
  display: block;
  font-size: 2em;
  cursor: pointer;
  color: #b1958d;
  padding: 10px;
}
*/
#nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #b1958d;
    text-decoration: none;
    font-weight: bold;
    
}

.hero {
    position: relative;
    background-color: #F4DDCA;
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.overlay {
    z-index: 2;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 3em;
    color: #f8f4f0;
}

.hero p {
    margin: 10px 0 20px;
    color:#f8f4f0;
}

.btn {
    background-color: #AE988A;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #D8A798;
}

.section {
    padding: 60px 20px;
    background-color: white;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.section h2 {
    color: #AE988A;
    margin-bottom: 20px;
}

.section ul {
    list-style: none;
    padding: 0;
}

.section ul li {
    padding: 6px 0;
}

footer {
    text-align: center;
    background-color: #A5A1A1;
    color: white;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    nav {

        width: 100%;
    }
    header {
        /*flex-direction: row; 
        align-items: center;
        justify-content: space-between;*/
        flex-direction: row;
        padding-right: 20px; /* antes era 150px */
        padding-left: 20px;
    }

    .menu-toggle {
        display: block;
        font-size: 2em;
        cursor: pointer;
        z-index: 1001;
        color: #b2968d;
        margin-left: 12rem;
    }
    #nav-links {
        display: none;
        flex-direction: column;
        background-color: #f8f4f0;
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
        gap: 0; /* quitamos el gap excesivo */
    }

    nav a {
        padding: 12px;
        border-top: 1px solid #ddd;
        width: 100%;
        color: #b1958d;
        font-weight: bold;
    }
    /*#nav-links {
        display: none;
        flex-direction: column;
        background-color: #f8f4f0;
        width: 100%;
        padding: 10px 0;
        align-items: center;
        text-align: center;
    }*/

    #nav-links.active {
        display: flex;
    }

    /*nav a {
        padding: 10px 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
        width: 100%;
    }*/

    .hero h1 {
        font-size: 2em;
    }
}

.wave-separator {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: transparent;
}

.wave-separator svg {
    display: block;
    width: 100%;
    height: 80px;
}


.btn-reserva {
    background-color: #70ad70;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-reserva:hover {
    background-color: #518951;
}

.hero {
    position: relative;
    width: 100%;
    height: 110vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.background {
    position: absolute;
    inset: 0;
    background: url('../images/hero.png') no-repeat center center/cover;
    z-index: 0;
    
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(248 244 240 / 27%);
    z-index: 1;
    #display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20%;
    padding-top: 9rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: #222;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 24px;
    background-color: #70ad70;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #518951;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    margin-bottom: -15px;
}

.wave-separator {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
    margin-top: 40px; /* espacio después del contenido de 'acerca' */
}

.wave-separator svg {
    display: block;
    width: 100%;
    height: 200px;
}

.section.alt {
    background-color: #e9e1d9;
    padding-top: 2rem;
    padding-bottom: 15rem;
}

#inbody{
    margin-top: 0.1px;
}

#contacto{
    margin-top: 0.1px;
}



.section.perfil {
  background-color: #fff;
  padding: 60px 20px;
}

.perfil-contenido {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.perfil-contenido .texto {
  flex: 1 1 55%;
}

.perfil-contenido .imagen {
  flex: 1 1 35%;
  text-align: center;
}

.perfil-contenido .imagen img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contacto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  
}

.map-container {
  flex: 1 1 400px;
  min-width: 300px;
  height: 300px;
}

.contacto-info {
  flex: 1 1 300px;
  min-width: 280px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contacto-info p {
  margin-bottom: 10px;
}

/* Loader general */
#loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F4DDCA;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spinner personalizado */
.spinner {
  border: 6px solid #ffffff;
  border-top: 6px solid #D8A798; /* color tipo logo */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Animación */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logo-spinner {
  width: 200px;
  animation: spin 1.5s ease-in-out infinite;
}

.hero-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 2rem;
  background-color: rgb(177 157 136 / 13%);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* Sombra al texto */
}


@media (max-width: 768px) {
  .contacto-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-container {
    transform: none !important;
    width: 100% !important;
    height: 300px !important;
}

.contacto-info {
    position: static !important;
    margin-top: 2rem !important;
    width: 100% !important;
    max-width: 90% !important;
    text-align: center !important;
}

.contacto-info p {
    text-align: left;
}
}


.section h2 {
  color: #AE988A;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro {
  font-size: 1.2rem;
  color: #a0522d;
  margin-bottom: 40px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;

}

.servicio-box {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease;
}

.servicio-box:hover {
  transform: translateY(-5px);
}

.servicio-box img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
  height: 180px;
}

.servicio-box h3 {
    color: #e3bc9a;
    font-size: 1.4rem;
    margin-bottom: 10px;


}

.servicio-box p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}



/*-------------------------------*/
/* Reset y básicos */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: white;
    color: #333;
}

/* Header */
header {
    background-color: #f8f4f0;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 60px;
    margin: 0;
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: #b1958d;
}

/* Navegación */
#nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin: 0;
    padding: 0;

}

nav a {
    color: #b1958d;
    text-decoration: none;
    font-weight: bold;
}

/* Hero */
.hero {
    position: relative;
    background-color: #F4DDCA;
    height: 110vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-content {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 2rem;
    background-color: rgba(177, 157, 136, 0.13);
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-reserva {
    background-color: #70ad70;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-reserva:hover {
    background-color: #518951;
        color: white;
}

/* Secciones */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section.alt {
    background-color: #e9e1d9;
}

/* Contacto */
.contacto-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.map-container {
    flex: 1 1 400px;
}

.contacto-info {
    flex: 1 1 300px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #A5A1A1;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #nav-links {
        margin-top: 4rem;
        display: none;
        flex-direction: column;
        background-color: #f8f4f0;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        padding-top: 80px;
        text-align: center;
        gap: 2rem;
        z-index: 1000;
        transition: all 0.3s ease-in-out;
    }

    #nav-links.active {
        display: flex;
    }

    nav a {
        font-size: 1.5rem;
        padding: 1rem;
        width: 100%;
    }

    .contacto-grid {
        flex-direction: column;
    }
}

.menu-toggle {
    display: none; /* Oculto por defecto */
    font-size: 2em;
    cursor: pointer;
    color: #b1958d;
    background: none;
    border: none;
    z-index: 1100;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Mostrar solo en mobile */
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        width: auto;
    }

    header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle { 
        text-align: right;
        margin-right: 3rem;


    }
}
.contacto-info{

  font-family: 'Poppins', sans-serif;
  background: #fdfdfc;
  padding: 2rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 480px;
  text-align: left;
  position: absolute;
  bottom: -100px;
  right: -150px;
  z-index: 2;
  text-align: center; /* ⭐ Este centrará el botón */
  flex: 1 1 300px;
  min-width: 280px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;

}

.map-container {
  flex: 1 1 400px;
  min-width: 150px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  transform: translateX(-150px);
}

@media (max-width: 768px) {
  .contacto-grid {
    flex-direction: column;
    gap: 20px;
    overflow: visible; /* Permitir que se vea normal */
}

.map-container {
    transform: none; /* QUITAMOS el desplazamiento en mobile */
    width: 100% !important;
    height: 300px !important;
}

.contacto-info {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    max-width: 90%;
}

.contacto-info p {
    text-align: left;
}
}

@media (max-width: 768px) {
    .li-inicio{
        margin-top: -40px;
    }
}

#btnSubir,
.social-float {
  position: fixed;
  right: 30px;
  z-index: 100;
  width: 55px;
  height: 55px;
  font-size: 24px;
  border: none;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

#btnSubir {
  bottom: 270px;
  background-color: #70ad70;
  display: none;
}

.reserva-float {
  bottom: 200px;
  background-color: #70ad70; /* Verde igual que botón de subir */
}

.whatsapp-float {
  bottom: 130px;
  background-color: #25D366;
}

.instagram-float {
  bottom: 60px;
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}

@media only screen and (max-width: 430px) {
    .menu-toggle {
        margin-left: -15rem;
    }
}

/* Pantallas medianas (tablets y móviles grandes) */
@media (max-width: 1060px) {
    #nav-links {
        gap: 20px !important;
    }
    .btn-reserva{
        margin-right: 4rem;
    }
}

/* Pantallas pequeñas (iPhones, móviles pequeños) */
@media (max-width: 879px) {
    #nav-links {
        gap: 10px !important;
        font-size: 0.8rem;
    }
}

/* Estilo por defecto para pantallas grandes */
.map-container {
  transform: translateX(-150px);
}

/* Corrige el desplazamiento en tablets y móviles */
@media (max-width: 1024px) {
  .map-container {
    transform: none;
}
}

@media (max-width: 1060px) {
  html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden; /* evita desbordes laterales */
}

.hero {
    height: 100vh; /* ajusta altura exacta a la pantalla */
    padding-top: 80px; /* compensa el header fijo si es necesario */
    box-sizing: border-box; /* asegura que padding no sobrepase el tamaño */
}

body {
    margin: 0;
    padding: 0;
}
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* Negrita */
}

a:hover {
   
    text-decoration: none;
}