/* ===== CUADRA — Bar & Restaurante | Demo LuKami-Studio ===== */

:root {
  --bg: #17181c;
  --bg-soft: #1f2126;
  --surface: #24262c;
  --text: #f2f1ed;
  --text-muted: #a8a7a3;
  --accent: #ff6b35;
  --accent-soft: #ffb08a;
  --line: rgba(242, 241, 237, 0.1);
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 14px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.section {
  padding: 5.5rem 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { color: var(--text-muted); margin-top: 0.9rem; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-primary:hover { transform: translateY(-2px); background: #ff7c4d; }
.btn-outline { border-color: rgba(242,241,237,0.35); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); }

.btn-demo-disabled {
  position: relative;
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-demo-disabled:hover { transform: none; }

.demo-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-style: italic;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.3rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
  background: rgba(23, 24, 28, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.9rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:not(.btn) { color: var(--text-muted); transition: color 0.2s ease; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
  padding: 0.4rem;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 1.4rem;
  font-family: var(--font-display);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative;
  padding: 9.5rem 0 4.5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,24,28,0.55) 0%, rgba(23,24,28,0.92) 100%);
}
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 1rem auto 0; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.2rem;
}
.breadcrumb a:hover { color: var(--accent-soft); }

/* ===== HOME HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center 65%;
  transform: scale(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,24,28,0.5) 0%, rgba(23,24,28,0.75) 60%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 4rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 1.3rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-soft);
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-meta-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-soft);
}
.hero-meta-item small {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== ABOUT / STORY ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; }
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ===== HIGHLIGHTS / FEATURE CARDS ===== */
.highlights {
  background: var(--bg-soft);
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.highlight-card:hover { transform: translateY(-4px); border-color: rgba(255,107,53,0.4); }
.highlight-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,107,53,0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}
.highlight-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.highlight-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== MENU PREVIEW (home) / FULL MENU (menu.html) ===== */
.menu-preview-grid, .menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.dish-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
}
.dish-card:hover { transform: translateY(-5px); }
.dish-img { aspect-ratio: 4/3; overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dish-card:hover .dish-img img { transform: scale(1.08); }
.dish-body { padding: 1.3rem 1.4rem 1.5rem; }
.dish-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.dish-title-row h3 { font-size: 1.15rem; }
.dish-price { color: var(--accent-soft); font-weight: 600; font-family: var(--font-display); white-space: nowrap; }
.dish-body p { color: var(--text-muted); font-size: 0.9rem; }
.dish-tags { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  background: rgba(242,241,237,0.08);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu-tabs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}
.menu-tab {
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
}
.menu-tab:hover { color: var(--text); border-color: rgba(255,107,53,0.4); }
.menu-tab.active { background: var(--accent); color: #1a1a1a; border-color: var(--accent); }

.menu-category { margin-bottom: 4rem; }
.menu-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.menu-category-title h2 { font-size: 1.8rem; }
.menu-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.menu-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 1rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  columns: 3 260px;
  column-gap: 1.2rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,12,0.94);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1.8rem; right: 2rem;
  font-size: 2rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--text);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.stars { color: var(--accent); letter-spacing: 0.15em; margin-bottom: 1rem; }
.testimonial-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,107,53,0.2);
  color: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { color: var(--text-muted); font-size: 0.78rem; }

/* ===== RESERVA / CTA ===== */
.reserva {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 4.5rem 3rem;
  text-align: center;
  margin: 0 1.5rem;
  background: linear-gradient(135deg, #ff6b35 0%, #d94f1e 100%);
  color: #1a1408;
}
.reserva h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #1a1408; }
.reserva p { color: rgba(26,20,8,0.75); max-width: 480px; margin: 1rem auto 2rem; }
.reserva .btn-primary { background: #1a1408; color: #fff; }
.reserva .btn-primary:hover { background: #2b2312; }
.reserva .btn-outline { border-color: rgba(26,20,8,0.4); color: #1a1408; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-card h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.info-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,107,53,0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-row strong { display: block; font-size: 0.95rem; }
.info-row span { color: var(--text-muted); font-size: 0.88rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  margin-top: 2rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}
.footer-logo span { color: var(--accent); }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent-soft); }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(255,107,53,0.12);
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 600;
}
.made-by-lukami {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.made-by-lukami img { border-radius: 4px; display: block; }
.made-by-lukami:hover { color: var(--text); border-color: rgba(242,241,237,0.35); }

/* ===== ANIMATIONS ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; margin: 0 auto; }
  .highlight-grid, .menu-preview-grid, .menu-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .highlight-grid, .menu-preview-grid, .menu-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 200px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reserva { padding: 3rem 1.6rem; margin: 0 1rem; }
  .hero-meta { gap: 1.6rem; }
}
