/* ============================================
   GANDHI RESTAURANT - Estilos principales
   ============================================ */

:root {
  --bg: #21000b;
  --wine: #430718;
  --gold: #d4a437;
  --gold2: #e6be65;
  --text: #f6eadf;
  --muted: #d0beb3;
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(212, 164, 55, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #1d0009 0%, #2a0310 40%, #3a0715 100%);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1400px, calc(100% - 64px)); margin: auto; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(29, 0, 9, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  align-items: center; gap: 20px; height: 84px;
}
.logo img { height: 56px; object-fit: contain; }
.nav-links { display: flex; justify-content: center; gap: 34px; }
.nav-links a { color: #ddd2c9; font-weight: 500; font-size: .97rem; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -8px;
  width: 0; height: 1px; background: var(--gold); transition: .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; justify-content: flex-end; gap: 14px; align-items: center; }

.reserve-btn {
  background: var(--gold); color: #221306; border: none;
  border-radius: 6px; font-weight: 800; padding: 14px 24px; cursor: pointer; transition: .25s;
}
.reserve-btn:hover { background: var(--gold2); transform: translateY(-2px); }
.lang-btn {
  border: 1px solid rgba(255,255,255,.14); background: transparent;
  color: #ddd2c9; border-radius: 6px; height: 44px; min-width: 54px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; cursor: pointer;
}
.menu-toggle {
  display: none; border: 1px solid rgba(255,255,255,.14); background: transparent;
  color: #ddd2c9; border-radius: 6px; height: 44px; padding: 0 14px; font-size: 1.2rem; cursor: pointer;
}

/* ---- HERO ---- */
.hero {
  min-height: calc(100vh - 84px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(rgba(30,0,9,.52), rgba(30,0,9,.72)),
              url('../images/hero.jpg') center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 10%, rgba(0,0,0,.22) 55%, rgba(0,0,0,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 20px;
  transform: translateY(-100px);
  text-align: center;
}


.hero-mark { width: 130px; margin: 0 auto 14px; opacity: .96; animation: float 5s ease-in-out infinite; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.2rem, 9vw, 7.4rem); line-height: .88;
  color: #FFFFFF;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}
.hero-sub {
  margin: 10px 0 6px; font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: clamp(2rem, 3.5vw, 3.1rem); color: #f2e3d8;
}
.hero-since {
  display: inline-block; margin-bottom: 34px;
  letter-spacing: .28em; text-transform: uppercase; color: #FFFFFF;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.hero-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-btn-gold {
  background: var(--gold); color: #221306; border: none; border-radius: 6px;
  font-size: 1rem; font-weight: 800; padding: 18px 34px; cursor: pointer; transition: .25s; min-width: 210px;
}
.hero-btn-gold:hover { background: var(--gold2); transform: translateY(-2px); }
.hero-btn-outline {
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.03); color: #fff;
  border-radius: 6px; font-size: 1rem; font-weight: 700; padding: 18px 34px; transition: .25s; min-width: 180px;
}
.hero-btn-outline:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- SECCIONES ---- */
section { padding: 92px 0; border-top: 1px solid rgba(255,255,255,.04); }
.section-title {
  text-align: center; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: .96;
  color: var(--gold); font-weight: 500; margin-bottom: 10px;
}
.section-sub { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 46px; line-height: 1.7; }

/* ---- MENÚ ---- */
.menu-wrap { max-width: 1000px; margin: auto; }
.menu-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.menu-tab {
  padding: 13px 26px; border-radius: 6px; border: 1px solid var(--line-gold);
  background: transparent; color: #d2c1b5; font-weight: 700; cursor: pointer; transition: .25s; font-size: .95rem;
}
.menu-tab.active, .menu-tab:hover { background: var(--gold); color: #291708; border-color: transparent; }
.menu-category { display: none; }
.menu-category.active { display: block; }
.cat-title {
  font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: var(--gold);
  font-weight: 500; text-align: center; margin: 0 0 8px;
}
.cat-sub { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.menu-group { margin-bottom: 36px; }
.menu-group-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold2);
  font-weight: 500; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-gold);
}
.menu-item { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.menu-item:last-child { border-bottom: none; }
.dish-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 500; color: #f4e7dc; margin-bottom: 6px; }
.dish-desc { color: var(--muted); font-size: .95rem; line-height: 1.65; }

.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.dish-price {
  min-width: 90px;
  text-align: right;
  font-weight: 700;
  font-size: 1rem;
  color: #f6eadf;
  white-space: nowrap;
  padding-top: 6px;
}

@media (max-width: 760px) {
  .menu-item-top {
    flex-direction: column;
    gap: 8px;
  }

  .dish-price {
    text-align: left;
    padding-top: 0;
  }
}


/* ---- GALERÍA ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); cursor: pointer; background: #180007; position: relative; }
.gallery-card img { width: 100%; height: 320px; object-fit: cover; transition: transform .55s ease, filter .4s ease; }
.gallery-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.18)); pointer-events: none;
}
.gallery-card:hover img { transform: scale(1.06); filter: brightness(1.06); }

/* ---- HISTORIA ---- */
.history-grid { display: grid; grid-template-columns: 1fr 220px 1fr; gap: 48px; align-items: center; max-width: 1120px; margin: auto; }
.history-text p { margin-bottom: 26px; color: #e3d4c9; line-height: 1.85; font-size: 1.04rem; }
.history-mark { display: flex; justify-content: center; }
.history-mark img { width: 135px; opacity: .78; }
.history-stat { margin-top: 24px; padding: 36px 24px; border: 1px solid var(--line-gold); border-radius: 2px; text-align: center; }
.history-stat strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: var(--gold); font-weight: 500; }

/* ---- UBICACIÓN ---- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; max-width: 1260px; margin: auto; }
.map-frame { width: 100%; height: 420px; border: 0; border-radius: 8px; box-shadow: var(--shadow); }
.info-list { display: flex; flex-direction: column; gap: 32px; }
.info-block { display: grid; grid-template-columns: 38px 1fr; gap: 18px; align-items: start; }
.icon {
  width: 36px; height: 36px; border: 2px solid var(--gold); color: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-top: 4px; flex-shrink: 0;
}
.info-block h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 500; margin-bottom: 8px; }
.info-block p { color: var(--muted); line-height: 1.6; }
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--gold); color: #221306; padding: 18px 38px;
  border-radius: 6px; font-weight: 800; font-size: 1rem; margin-top: 6px; transition: .25s;
}
.wa-btn:hover { background: var(--gold2); transform: translateY(-2px); }

/* ---- FOOTER ---- */
.footer { padding: 32px 0; background: rgba(255,255,255,.03); border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.footer-logo img { height: 50px; }
.socials { display: flex; gap: 20px; align-items: center; color: var(--muted); }
.socials a { font-weight: 600; transition: .25s; }
.socials a:hover { color: #fff; }
.footer-copy { text-align: right; color: var(--muted); font-size: .93rem; }

/* ---- LIGHTBOX ---- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 95vw); max-height: 86vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); color: #fff; width: 46px; height: 46px;
  border-radius: 50%; font-size: 1.4rem; cursor: pointer;
}

/* ---- ANIMACIONES ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: all .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .nav-inner { grid-template-columns: 170px 1fr 170px; }
  .nav-links { gap: 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .history-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; }
  .footer-copy { text-align: center; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .nav-inner { grid-template-columns: 1fr auto auto; height: auto; padding: 16px 0; gap: 12px; }
  .nav-links {
    position: fixed; top: 84px; left: 0; right: 0;
    background: rgba(29,0,9,.98); border-top: 1px solid var(--line);
    flex-direction: column; gap: 18px; padding: 24px 28px; display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
  .hero { min-height: 82vh; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-btn-gold, .hero-btn-outline { width: 100%; min-width: unset; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card img { height: 260px; }
  .menu-tabs { gap: 8px; }
  .menu-tab { padding: 11px 18px; font-size: .88rem; }
}
.socials a .fa-instagram { color: #e1306c; }
.socials a .fa-facebook  { color: #1877f2; }
.socials a:hover .fa-instagram,
.socials a:hover .fa-facebook { opacity: .85; }