/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #faf7f2;
  --dark: #1a1108;
  --brown: #6b3f1a;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --text: #3d2b1a;
  --text-light: #7a6652;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26,17,8,.10);
  --radius: 12px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--dark); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: .9rem; font-weight: 500; letter-spacing: .03em;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
}
.navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--gold); }

.btn-nav {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--brown) !important; color: var(--white) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092?w=1800&q=85') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  position: relative; text-align: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,17,8,.65) 0%, rgba(26,17,8,.4) 60%, rgba(107,63,26,.5) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 720px; padding: 0 24px;
  animation: fadeUp .9s ease both;
}
.hero-tag {
  display: inline-block;
  background: rgba(201,169,110,.25);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white); margin-bottom: 20px;
}
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 40px; }

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--dark);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: var(--transition); box-shadow: 0 4px 20px rgba(201,169,110,.4);
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }

.btn-secondary {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white); padding: 12px 32px; border-radius: 50px;
  font-weight: 500; font-size: .95rem;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== ABOUT STRIP ===== */
.about-strip {
  background: var(--dark);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip-item {
  display: flex; align-items: center; gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: var(--transition);
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(201,169,110,.08); }
.strip-icon { font-size: 2rem; flex-shrink: 0; }
.strip-item strong { display: block; color: var(--gold); font-size: 1rem; margin-bottom: 2px; }
.strip-item p { color: rgba(255,255,255,.55); font-size: .82rem; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-header.light .section-tag { border-color: var(--gold); color: var(--gold); }
.section-tag {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--brown);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ===== MENU ===== */
.menu { padding: 100px 0; background: var(--cream); }

.menu-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 48px; flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px; border-radius: 50px;
  border: 2px solid var(--gold-light);
  background: transparent; color: var(--text-light);
  font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: var(--transition); font-family: 'Inter', sans-serif;
}
.tab-btn:hover, .tab-btn.active {
  background: var(--gold); border-color: var(--gold);
  color: var(--dark); font-weight: 600;
}

.menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--gold-light);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.menu-item {
  background: var(--white); padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  transition: var(--transition);
}
.menu-item:hover { background: #fdf8f2; }
.menu-item-info h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 6px; }
.menu-item-info p { font-size: .85rem; color: var(--text-light); max-width: 340px; }
.menu-item-badge {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: #e8f5e9; color: #2e7d32;
  padding: 3px 8px; border-radius: 20px; margin-left: 8px;
}
.menu-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--brown); font-weight: 700;
  flex-shrink: 0; white-space: nowrap;
}

.menu-note { text-align: center; margin-top: 24px; color: var(--text-light); font-size: .82rem; }

/* ===== GALERIA ===== */
.galeria { padding: 100px 0; background: var(--dark); }
.galeria .section-header .section-tag { color: var(--gold); border-color: var(--gold); }
.galeria .section-header h2 { color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 12px;
}
.gallery-item {
  background-size: cover; background-position: center;
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,17,8,.8) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { transform: scale(1.01); transition: transform .4s ease; }
.gallery-overlay span { color: var(--white); font-weight: 500; font-size: .9rem; }

/* ===== HORARIOS ===== */
.horarios { padding: 100px 0; background: var(--cream); }
.horarios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.horarios-text .section-tag { margin-bottom: 16px; }
.horarios-text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 20px; }
.horarios-text > p { color: var(--text-light); margin-bottom: 40px; }

.horario-lista { margin-bottom: 40px; }
.horario-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--gold-light);
}
.horario-row:first-child { border-top: 1px solid var(--gold-light); }
.dias { font-weight: 600; color: var(--dark); }
.horas { color: var(--text-light); font-size: .9rem; }

.contacto-info p { padding: 8px 0; color: var(--text-light); }
.contacto-info a { color: var(--brown); font-weight: 500; }
.contacto-info a:hover { color: var(--gold); }

.horarios-map iframe {
  width: 100%; height: 420px;
  border: none; border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== RESERVAS ===== */
.reservas {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #2d1a0a 100%);
}
.reserva-form {
  max-width: 740px; margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 20px; padding: 48px;
  backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { margin-bottom: 32px; }
.form-group label { color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 500; letter-spacing: .02em; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,169,110,.25);
  border-radius: 10px; padding: 13px 16px;
  color: var(--white); font-size: .95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition); outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: #2d1a0a; color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,169,110,.1);
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.5); cursor: pointer; }

.btn-submit {
  width: 100%; padding: 16px;
  background: var(--gold); color: var(--dark);
  border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; transition: var(--transition);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 20px rgba(201,169,110,.3);
}
.btn-submit:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,.4); }

.reserva-success {
  max-width: 740px; margin: 0 auto; text-align: center;
  padding: 64px 32px;
}
.reserva-success span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(201,169,110,.2); border: 2px solid var(--gold);
  font-size: 2rem; margin-bottom: 24px;
}
.reserva-success h3 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.reserva-success p { color: rgba(255,255,255,.6); }

/* ===== FOOTER ===== */
.footer { background: #0f0a04; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-logo {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--gold); margin-bottom: 16px;
}
.footer-brand p { color: rgba(255,255,255,.45); font-size: .9rem; line-height: 1.8; margin-bottom: 28px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,.1); }

.footer-links h4 { color: var(--white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { padding: 6px 0; color: rgba(255,255,255,.45); font-size: .9rem; }
.footer-links a { color: rgba(255,255,255,.45); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,.3); font-size: .78rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold); }
.demo-badge { color: rgba(201,169,110,.6); }
.demo-badge a { color: var(--gold); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-strip { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .horarios-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 280px; background: var(--dark);
    padding: 80px 32px 40px;
    gap: 24px; z-index: 99;
    transform: translateX(100%); transition: var(--transition);
    box-shadow: -4px 0 30px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { color: rgba(255,255,255,.8); font-size: 1.1rem; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .reserva-form { padding: 28px 20px; }
  .about-strip { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
