/* =========================
   Palette: blanco, gris y rgb(48,87,53)
   ========================= */

:root{
  --brown-dark: 74, 52, 45;        /* header / footer */
  --brown-main: rgb(139,84,55);    /* botones / acentos */
  --beige-main: rgb(189,153,119);  /* cards / imágenes */
  --beige-light: rgb(242,232,222); /* fondo general */

  --white: #ffffff;
  --text: #3b2b27;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color:var(--text);
  background:var(--beige-light);
  display:flex;
  flex-direction:column;
  -webkit-font-smoothing:antialiased;
}

.logo{font-weight:700;color:var(--white);font-size:1.15rem}

/* MAIN NAV */
.main-nav ul{
  display:flex;
  gap:18px;
  list-style:none;
  align-items:center;
}
.main-nav a{
  color: #f4e6d6;
  text-decoration: none;
  margin-left: 28px;
  font-size: 1.0rem;
  font-weight: 400;
  position: relative;
}
.main-nav a:hover,
.main-nav a.active{
  background: rgba(var(--brown-dark),0.12);
  color: var(--beige-main);
}

/* HAMBURGER (mobile) button */
.hamburger{
  display:none;
  background:transparent;
  color:var(--white);
  font-size:1.35rem;
  border:none;
  cursor:pointer;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f6ede4; /* tu beige actual */
  color: #3a2a22;
  line-height: 1.6;
}


.hero p {
  font-size: 16px;
  font-weight: 400;
  color: #5a4a42;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #3a2a22;
}

.btn-primary {
  background-color: #4b3329;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #d9b382;
  color: #4b3329;
  transform: translateY(-2px);
}

.divider {
  width: 60px;
  height: 3px;
  background-color: #d9b382;
  margin: 20px 0 30px;
}

.logo-2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre logo y texto */
  text-decoration: none;
}

.nav-logo {
  width: 85px;      /* tamaño ideal para navbar */
  height: 85px;
  object-fit: contain;
}

/* @media (max-width: 768px) {
  .logo-2 {
    font-size: 24px;
  }
} */

.img-hover {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.img-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.img-hover:hover img {
  transform: scale(1.08);
}

.navbar {

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 60px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.overlay-section {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-content {
  background: rgba(75, 51, 41, 0.75); /* negro con 50% transparencia */
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}

.overlay-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.divider2 {
  width: 35px;
  height: 2px;
  background: #d9b382;
  margin: 8px auto;
}

.overlay-content p {
  font-size: 12px;
  letter-spacing: 2px;
  color: #e5e5e5;
}

/* ===== HEADER FINAL (SOBRESCRIBE TODO) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: rgba(74, 52, 45, 0.72); /* ← ajusta este número */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
  padding: 0;
}



/* Push content below header */
.page-main{ flex: 1; margin-top:130px; padding-top: 90px;}

/* HERO */
.hero{
  max-width:1200px;
  margin: 0 auto;
  display:flex;
  gap:2rem;
  align-items:center;
  padding:36px 20px;
  background:var(--beige-light);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  flex-wrap:wrap;
}



.img-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.img-overlay img {
  width: 100%;
  display: block;
}



.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 5px;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===== CONTACTO DESTACADO ===== */

.contact-highlight {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 250px 20px 120px;
}

.contact-card {
  background: #9679543b;
  max-width: 540px;
  width: 100%;
  padding: 55px 45px;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  text-align: center;
  
}

.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #3a2a20;
}

.contact-intro {
  font-size: 1rem;
  color: #6b5a4e;
  margin-bottom: 35px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
}

.contact-list li {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: #3a2a20;
}

.contact-list a {
  color: #3a2a20;
  text-decoration: none;
  font-weight: 500;
}

.contact-actions {
  margin-bottom: 30px;
}


.contact-socials {
  font-size: 0.95rem;
}

.contact-socials a {
  color: #3a2a20;
  text-decoration: none;
  font-weight: 500;
}

.contact-socials span {
  margin: 0 8px;
  color: #c4a07a;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-card {
    padding: 40px 28px;
  }
}

.service-card {
  background: #d9b38244;
  border: 1px solid rgba(217, 179, 130, 0.35);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;

  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  background: rgba(217, 179, 130, 0.35);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 80px;
  padding: 0 20px;
}

.service-cards {
  text-align: center;
}

.menu-card {
  background: #d9b38244;
  border: 1px solid rgba(217, 179, 130, 0.35);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;

  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  background: rgba(217, 179, 130, 0.35);
}

.language-switcher {
  position: fixed;
  bottom: 140px;     /* arriba del WhatsApp */
  right: 8px;

  display: flex;
  flex-direction: column; 
  gap: 8px;
  z-index: 9999;
}


.language-switcher button {
  background: #f6ede4;
  border: 1px solid rgba(73, 51, 9, 0.699);
  color: #5e2e2e;

  padding: 6px 12px;     /* 🔽 un poco más de espacio arriba/abajo */
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1.2;      /* 🔽 baja visualmente el texto */

  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}



.language-switcher button:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  background: transparent !important;

}


/* Links del menú */
.main-nav a {
  color: #f5f1ec;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #d8b07a;
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  background: transparent;
  color: #d8b07a;
}

/* ===== MOBILE ===== */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* En pantallas pequeñas */
@media (max-width: 768px) {

  .main-nav {
    display: none;
    flex-direction: column;
    background: #7b6758; /* tu color */
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 20px 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav ul li {
    margin: 10px 0;
  }

  .main-nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

.main-nav.mobile-open {
  display: block;
  position: fixed;
  top: 105px;
  right: 0;
  left: 0;

  backdrop-filter: blur(6px);

  padding: 20px;
  z-index: 1250;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 1100px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  color:black;
}

/* layout horizontal */
.modal-body {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* CONTENEDOR DE IMAGEN */
.modal-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  flex: 1;
}

/* IMAGEN MISMO TAMAÑO SIEMPRE */
.modal-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.modal-info {
  flex: 1;
}

.modal-info h2 {
  margin-bottom: 15px;
  font-size: 28px;
}

/* texto */
.modal-info h2 {
  margin-bottom: 8px;
}

.modal-info p {
  margin-bottom: 12px;
  color: #555;
  font-size: 20px;
  line-height: 1.6
}

.modal-info ul {
  padding-left: 18px;
}

@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
  }

  .modal-img {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    max-width: 95%;
    margin: 10% auto;
    padding: 20px;
  }

  .modal-left img {
    max-height: 250px;
    object-fit: cover;
  }

  .modal-gallery img {
    width: 60px;
  }

  .modal-close {
    top: 10px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 15px;
  }

  .modal-right h2 {
    font-size: 1.4rem;
  }

  .modal-btn {
    width: 100%;
  }
}

.open-modal {
  background: none;
  border: none;
  color:rgb(var(--brown-dark));
  cursor:pointer;
  padding:6px 0;
  text-align:left;
  font-weight:700;
  margin-top: 10px;

  position: relative;
}

.open-modal:hover::after {
  width: 100%;
}

/* accesibilidad */
.open-modal:focus {
  outline: none;
}

@media (max-width: 600px) {
  .open-modal {
    font-size: 0.9rem;
  }
}

.hero .hero-bg{ flex:1; min-height:260px; background: linear-gradient(180deg, rgba(var(--brown-dark),0.08), rgba(255,255,255,0)); display:flex; align-items:center; justify-content:center; }
.hero-content{ flex:1; min-width:280px }
.hero h1{ color:var(--brown-main); font-size:2rem; margin-bottom:0.5rem }
.lead{ color:#556; margin-bottom:1rem; font-size:small;}
.btn{ display:inline-block; background: rgb(var(--brown-dark)); color:white; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:700 }

/* SPLIT SECTIONS (text + image) */
.split{ max-width:1200px; margin:30px auto; display:flex; gap:24px; align-items:center; padding:0 20px; flex-wrap:wrap }
.split .split-text{ flex:1; min-width:260px }
.split .split-img{ flex:1; min-height:200px; background: linear-gradient(180deg,var(--beige-main), #e6efe4); display:flex; align-items:center; justify-content:center }
.split .img-hover {
  height: 400px;
  max-width: 500px;
}


/* OVERLAY BOX (text over image with translucent bg) */

/* CARDS ROW */
.cards{ max-width:1200px; margin:30px auto; display:flex; gap:18px; padding:0 20px; flex-wrap:wrap; justify-content:center }
.card.small{ background:var(--beige-light); padding:16px; width:280px; box-shadow:0 6px 18px rgba(0,0,0,0.06); text-align:center; border-radius:8px }

/* PAGE TITLE */
.page-title{ max-width:1200px; margin:20px auto; padding:0 20px; text-align:center; margin-bottom: 60px;}

/* CARDS GRID (SERVICIOS / MENÚ) */
.cards-grid{ max-width:1200px; margin:20px auto; padding:0 20px; display:grid; gap:18px; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); align-items:start }
/* Important: align-items:start prevents row siblings changing height */
.card{ background: var(--white); border: 1px solid rgba(var(--brown-dark),0.08); padding:0; overflow:visible; display:flex; flex-direction:column; box-shadow:0 8px 22px rgba(0,0,0,0.06); }
.card .card-media{ height:160px; background: linear-gradient(180deg, rgba(var(--brown-dark),0.08), rgba(255,255,255,0)); }
.card .card-body{  height: 100%; padding:16px; display:flex; flex-direction:column; gap:8px; }
.card .img-hover {
  height: 300px;
  margin-bottom: 16px;
}
.card h3{ color: rgb(var(--brown-dark)); margin:0 }
.card .card-excerpt{ color:#444; margin-top:6px }

/* Expand area: hidden by default, animate with max-height */
.card .card-expand{ overflow:hidden; max-height:0; transition: max-height .32s ease, opacity .28s ease; opacity:0 }
.card.expanded .card-expand{ max-height:400px; opacity:1 }

/* Toggle text (link style) */
.card-toggle {
  background:none;
  border:none;
  color:rgb(var(--brown-dark));
  cursor:pointer;
  padding:6px 0;
  text-align:left;
  font-weight:700 
}

.drink-toggle {
  background:none;
  border:none;
  color:rgb(var(--brown-dark));
  cursor:pointer;
  padding:6px 0;
  text-align:left;
  font-weight:700 
}

.card-toggle:hover{ text-decoration:underline; color:var(--beige-main) }
.card-toggle,
.open-modal {
  margin-top: auto;
}

/* MENU LIST inside expanded area */
.menu-list{ list-style: none; padding-left:0; margin:0 }
.menu-list li{ padding:6px 0; border-bottom:1px dashed rgba(0,0,0,0.04) }

/* CONTACT LAYOUT */
.contact-panel{ max-width:1100px; margin:20px auto; padding:0 20px; display:flex; gap:24px; flex-wrap:wrap; align-items:flex-start }
.contact-info{ flex:1; min-width:260px; background:var(); padding:16px; border:1px solid rgba(var(--brown-dark),0.06) }
.contact-form{ flex:1; min-width:300px; padding:16px; border:1px solid rgba(var(--brown-dark),0.06) }
.contact-form label{ display:block; margin-top:12px; color:#444 }

/* Footer */
.site-footer{ background: rgb(var(--brown-dark)); color:var(--white); margin-top:auto; padding:18px 20px; }
.footer-inner{ max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; gap:12px; align-items:center }
.footer-contact div{ color: rgba(255,255,255,0.95) }

/* Responsive */
@media (max-width:900px){
  .main-nav{ display:none }
  .hamburger{ display:inline-block; background:transparent; border:none; color:var(--white); font-size:1.35rem }

  /* show nav when mobile-open class active on main-nav */

  .hero{ padding:20px }
  .split{ flex-direction:column }
  .overlay-box{ width:90% }
  .cards-grid{ grid-template-columns: 1fr }
  .contact-panel{ flex-direction:column }
}

/* Small tweaks */
a{ color:inherit }
img{ max-width:100%; display:block }

.language-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.language-modal.hidden {
  display: none;
}

.language-modal-content {
  background: var(--beige-light);
  padding: 40px 50px;
  border-radius: 16px;
  text-align: center;
  color: rgb(var(--brown-dark));
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  min-width: 280px;
  position: relative;
  z-index: 10001;
}

.language-modal-content h2 {
  margin-bottom: 25px;
}

.lang-btn {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 14px;
  border: none;
  background: var(--beige-main);
  color: rgb(var(--brown-dark));
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.2s ease;
}

.lang-btn:hover {
  transform: scale(1.05);
}