
   @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;500&display=swap');
    /* Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Poppins;
    }

    body {
      font-family: 'Lato';
      background-color: rgba(28, 26, 6, 0);
      line-height: 1.8;
      /*overflow-x: hidden;*/
      max-width: 1200;
      background-image: url('../images/fondoMadera.png'); 
      background-repeat: repeat;
      /*background-size: cover;*/
      background-attachment: fixed;
      
    }
   

    /* Header */
    header {
    position: fixed;
    top: 0;
    left: 0;
    height: 75px;
    width: 100%;
    z-index: 1100; /* Más alto que el iframe */
    background-color: rgba(28, 26, 6, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    padding: 10px 20px;
}

    .header-logo img {
      float:left;
      height: 50px;
      margin-right:50px;
    }

    nav {
      float:left;
      display: flex;
      gap: 20px;
      font-size: 1rem;
      margin: 30px 10px 2px 200px;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: 300;
      margin-right:10px;
    }

    nav a:hover {
      color: #ffd700;
    }
/* Botón de hamburguesa */
/* Header principal */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: left;
  /*padding: 10px 20px;*/
  /*background-color: rgba(28, 26, 6, 0.9);*/
  color: white;
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);*/
  position: fixed;
  width: 100%;
  z-index: 1100;
}


/* Menú horizontal centrado */
.menu-horizontal {
  display: flex;
  gap: 20px;
  font-size: .9rem;
  margin:0 15px;
}

.menu-horizontal a {
  color: white;
  text-decoration: none;
  font-weight: 300;
}

.menu-horizontal a:hover {
  color: #ffd700;
}

/* Teléfono y botón Reservar */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info {
  display: flex;
  float: right;
  color: white;
  font-size: 0.8rem;
  margin-right: 45px;
  margin-top: -10px;
}

.contact-info .icon {
  width: 25px;
  height: 40px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  margin-right: 5px;
  margin-top:0px;
}

.reservar-btn {
  padding: 2px 20px;
  background-color: #ffd700;
  color: rgba(28, 26, 6, 0.9);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.reservar-btn:hover {
  background-color: #494407;
  color: #ffd700;
}
.telef{
  color:white;
  margin-top:0px !important;
}

/* Botón hamburguesa (oculto en escritorio) */
.hamburguesa {
  display: none;
  background: none;
  border: none;
  position: absolute;
  left: 20px;
  top: 15px;
  cursor: pointer;
  z-index: 1200;
}

.hamburguesa span {
  display: block;
  width: 25px;
  height: 4px;
  background: white;
  margin: 2px 0;
}

/* Menú desplegable para móviles */
.menu.oculto {
  display: none;
}
.hamburguesa:hover {
    
   opacity: 0.4;
  
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 26, 6, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Cuando el menú está visible */
.menu.visible {
    transform: translateX(0);
}

    /* Main layout */
    .container {
      display: flex;
      flex-wrap: wrap; /* Permite que los elementos se ajusten */
      margin-top: 80px;
      margin: 80px auto 20px;
      width: 90%;
      max-width:900px;

    }

    
     

    .carousel-container {
      width: 90%;
      max-width:900px;
      margin: 0 auto;
      height: 600px;
      position: fixed;
      top: 80px;
      background-color: transparent;
      z-index: -1;
      overflow: hidden;
      transition: opacity 0.9s ease;
      opacity: 1;
      pointer-events: auto;
    }
    
    .carousel-track {
      display: flex;
      height: 100%;
      transition: transform 0.8s ease-in-out;
    }
    
    .carousel-item {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transition: opacity 2s ease-in-out;
      opacity: 0;
      z-index: 0;
    }
    
    .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .carousel-item.active {
      opacity: 1;
      z-index: 1;
    }
    
    .carousel-hidden {
      opacity: 0;
      pointer-events: none;
      /* NO uses visibility: hidden si quieres que el fade funcione */
    }
    
    .fixed-background {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      max-width: 1200px;
      height: 100%;
      background-image: url('../images/fondoMadera.png');
      background-repeat: repeat;
      background-attachment: fixed;
      z-index: -1;
      opacity: 0;
      transition: opacity 1s ease;
    }
    
    .fixed-background-visible {
      opacity: 1;
    }
    

    /*.fixed-background-visible {
      display: block; /* Mostramos cuando sea necesario */
     /* opacity: 0.9; /* casi Totalmente visible */
    /*}*/



    .floating-elements {
      margin-top: 100px;
      z-index: 10;
      text-align: center;
      position: relative; /* Permite posicionar elementos hijos absolutos */
      width: 100%; /* Esto controla el tamaño de la columna izquierda */
      height: 100%; /* Asegura que tenga toda la altura disponible */
      
    }

    .logo-overlay img {
      width: 50%;
      border-radius: 10%;
      padding: 20px;
      margin-bottom:400px;
      opacity: 1;
      background-color: rgba(28, 26, 6, 0.3);
    }
    .direccion {
      width: 100%;
      font-size:1.1em;
      padding: 6px;
      margin-top:-300px;
      margin-bottom:100px;
      color: white;
      background-color: rgba(28, 26, 6, 0.95);
      text-align: center;
    }

    /* Image grid with responsive columns */
      .image-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      width: 100%;
      margin: 10px auto;
      background-color: transparent;
      padding: 10px 0px;
      
     
     
      
    }
  

    .image-grid figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    padding:30px 0;
    background-color: white;
    height: 320px;
   
}

.image-grid img {
    width: 70%; /* Ocupa todo el ancho disponible */
    height: 70%;
    aspect-ratio: 1; /* Asegura proporciones cuadradas */
    object-fit: cover;
    /*border-radius: 8px; /* Bordes suaves (opcional) */
    margin-bottom: 5px; /* Espacio con el texto */
  
}

.image-grid figcaption {
    font-size: 0.6em;
    color: #333; /* Color del texto */
    background-color: rgba(255, 255, 255, 0.8); /* Fondo tenue */
    padding: 5px 5px; /* Espaciado interno */
    /*border-radius: 4px; /* Bordes suaves (opcional) */
}


    /* Text sections */
    h1{
      text-align: left;
      font-family: Poppins;
      font-size: 25px !important;
      color:rgb(9, 75, 30);
      margin: 10px 0px !important;}
  
    h2{
    text-align: left;
    font-family: Poppins;
    font-size: 20px !important;
    color:rgb(9, 75, 30);
    margin: 10px 0px !important;}
    h3{
      color:rgb(9, 75, 30);
      font-family: Poppins;
      font-size: 1.4rem;
      text-align: left;
      margin: 40px 0;
    }
    p{
      text-align: justify;
      font-size: .9rem;
      margin: 20px 0;
    }
    .text-section {
      display: flex;
      gap: 20px;
      margin: -50px 0px ;
      align-items: center;
     
    }

    .text-section p {
      flex: 1;
      background-color: rgba(255, 255, 255, 0);
      padding: 10px 20px;
      /*border-radius: 8px;*/
     
      height: auto;
      text-align: justify;
      font-size:0.9rem;
      
          
    }

    .text-section .image-section {
      flex: 0.9;
      
      max-width: 700px;
      
      background-size: cover;
      background-position: center;
      opacity: 1;
      
    }
    .img-section {
      margin-top:5px;
      
    }
    .text-icon {
    width: 20%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo negro translúcido */
    padding: 10px;
    border-radius: 8px;
    margin-top:50px;
    margin-left:40%;
   
}

    .reverse-layout {
      flex-direction: row-reverse;
    }

/* Panel de Reservas */
    #reserva-container {
        position: fixed;
        top: 0;
        left: -100%; /* Oculto fuera de la pantalla */
        width: 100%; /* Ancho completo */
        height: 100%;
        background-color: rgba(28, 26, 6, 0.1); /* Fondo oscuro */
        z-index: 1350;
        overflow-y: auto; /* Scroll interno si el contenido es largo */
        transition: transform 0.5s ease-in-out;
        
    }

    /* Cuando el panel está visible */
    #reserva-container.active {
        transform: translateX(100%); /* Aparece desde la izquierda */
    }



    /* Botón para activar el iframe */
    button#reservar-btn {
      position: fixed;
      top: 40px;
      right: 20px;
      z-index: 1200;
      padding: 3px 10px;
      font-size: 1rem;
      background-color: #ffd700;
      color:rgba(28, 26, 6, 0.9);
      border: none;
      border-radius: 5px;
      cursor: pointer;
      
    }

    button#reservar-btn:hover {
      
      background-color: #494407;
      color:#ffd700;
    }

    .hidden {
    display: none !important;
}

    /* Botón de cerrar */
button.cerrar {
      font-size: 1rem;
}
button.cerrar:hover {
      
  background-color: #494407;
  color:#ffd700;
}


    /* Iframe dentro del contenedor */
    iframe {
    position: absolute;
    top: 80px; /* Altura del header para que pase por debajo */
    left: 0;
    width: 100%;
    height: calc(100vh - 80px); /* Ocupa el resto de la pantalla */
    z-index: 100; /* Debajo del header */
    border: none; /* Sin borde */
}

    /* Footer */
    footer {
      background-color: #1C1A06;
      color: white;
      text-align: center;
      padding: 10px 0;
      margin-top: 100px;
      width: 100%;
      position: relative;
    }
    .colIzq{float:right;}
    footer img {
      height: 100px;
    }

    footer .social-icons a {
      margin: 0 5px;
    }

    footer .social-icons img {
      height: 40px;
      opacity: 0.6;
    }
    .icon {
    width: 40px; /* Tamaño del icono */
    height: 40px;
    vertical-align: middle; /* Alineado con texto */
    margin: 0 8px; /* Espaciado entre iconos */
    stroke: rgb(242, 239, 223); /* Color del trazo */
    fill: none; /* Fondo transparente */
    transition: stroke 0.3s ease; /* Animación de hover */
}

.icon:hover {
    stroke: #FFD700; /* Cambia a dorado al pasar el ratón */
}
.icon-container {
    display: inline-block; /* Evita que ocupe todo el ancho */
    margin-top: 20px; /* Espaciado entre el texto y el ícono */
}


.copyring{
  font-size: 9px;
  color:grey;
  text-align: center;
  margin:10px 50px;
}


    /* Responsive design */
    @media (max-width: 1024px) {
      
      .floating-elements  {
        flex: 1 0 100%;
        margin: 0;
      }
      .image-grid {
        grid-template-columns: repeat(4, 1fr);
      }
     
      .logo-overlay img {
      width: 50%;
      border-radius: 10%;
      padding: 20px;
      margin-bottom:270px;
      margin-top:100px;
      opacity: 0.9;
      background-color: rgba(28, 26, 6, 0.3);
    }
    .direccion {
      width: 100%;
      font-size:0.9rem;
      padding: 6px;
      margin-top:20px;
      margin-bottom:10px;
      color: white;
      background-color: rgba(28, 26, 6, 0.8);
      text-align: center;
    }
    .text-section .image-section {
      flex: 1;
      height: 100%;
      width: 100%;
      margin: 10px auto;
      background-size: cover;
      background-position: center;
      /*width: 100px;*/
      opacity:1;
    }
   
    }

    @media (max-width: 768px) {
     /* .fixed-background {display:none;}*/
     
     .header-logo img {
      display: none;
    }
     .image-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .text-section {
        flex-direction: column;
      }
 
      .logo-overlay img {
      width: 50%;
      border-radius: 10%;
      padding: 20px;
      margin-bottom:70px;
      margin-top:120px;
      opacity: 0.9;
      background-color: rgba(28, 26, 6, 0.3);
    }
    .direccion {
      width: 100%;
      font-size:0.9rem;
      padding: 6px;
      margin-bottom:10px;
      color: white;
      background-color: rgba(28, 26, 6, 0.8);
      text-align: center !important;
    }
   
    .text-section p {
      flex: 1;
      /*background-color: rgba(255, 255, 255, 0.95);*/
      padding: 50px 10px;
      /*border-radius: 8px;*/
      height: 220px;
      text-align: justify;
      margin-bottom:0px;
      font-size:0.9rem;  
     
    }
    .menu-horizontal {
    display: none;
  }
  .carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
  }


}
