/* ─── La Terraza Mediterránea — Voltereta-inspired warm theme ─── */
:root {
  --color-bg: #F4EDE4;
  --color-bg-alt: #EDE5DA;
  --color-bg-hero: #2C1810;
  --color-text: #3C2415;
  --color-text-light: #8C7B6B;
  --color-text-inverse: #F4EDE4;
  --color-accent: #8B3A2F;
  --color-accent-hover: #6E2E25;
  --color-gold: #B8915A;
  --color-border: rgba(60, 36, 21, 0.1);
  --color-border-dark: rgba(60, 36, 21, 0.2);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

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

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

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 41px; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.navbar.scrolled {
  background: rgba(244, 237, 228, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.4em;
  font-weight: 400;
  color: var(--color-text-inverse);
  letter-spacing: 1px;
  font-style: italic;
  transition: color 0.4s;
}
.navbar.scrolled .navbar-brand { color: var(--color-text); }

.navbar-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.navbar-links a {
  font-size: 0.85em;
  font-weight: 400;
  color: rgba(244, 237, 228, 0.8);
  transition: color 0.3s;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.navbar.scrolled .navbar-links a { color: var(--color-text-light); }
.navbar-links a:hover { color: var(--color-accent); }
.navbar.scrolled .navbar-links a:hover { color: var(--color-accent); }

.navbar-cta {
  padding: 10px 28px;
  border: 1px solid rgba(244, 237, 228, 0.4);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar.scrolled .navbar-cta {
  border-color: var(--color-text);
  color: var(--color-text) !important;
}
.navbar-cta:hover {
  background: rgba(255,255,255,0.1);
}
.navbar.scrolled .navbar-cta:hover {
  background: var(--color-text);
  color: var(--color-text-inverse) !important;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1550966871-3ed3cdb51f3a?w=1600&h=1000&fit=crop&q=80') center/cover no-repeat;
  background-color: var(--color-bg-hero);
}

/* Dark overlay for readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, 0.6);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-restaurant-name {
  font-family: var(--font-heading);
  font-size: clamp(3em, 8vw, 6em);
  font-weight: 400;
  color: var(--color-text-inverse);
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-action {
  font-family: var(--font-heading);
  font-size: 1.1em;
  font-style: italic;
  color: var(--color-text-inverse);
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(244, 237, 228, 0.3);
  transition: border-color 0.3s, opacity 0.3s;
}
.hero-action:hover {
  border-color: var(--color-text-inverse);
}

.hero-cta-bottom {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95em;
  color: rgba(244, 237, 228, 0.7);
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s;
}
.hero-cta-bottom:hover { color: var(--color-text-inverse); }
.hero-cta-bottom span {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.8em;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: subtleBounce 3s infinite;
}
@keyframes subtleBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Warm light accents in hero */
.hero-light {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 200, 100, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 20px 8px rgba(255, 200, 100, 0.15);
  pointer-events: none;
}
.hero-light:nth-child(1) { top: 15%; left: 20%; }
.hero-light:nth-child(2) { top: 25%; right: 25%; }
.hero-light:nth-child(3) { top: 10%; left: 55%; }

/* ─── Section Base ───────────────────────────────────── */
.section {
  padding: 100px 40px;
}

.section-tag {
  display: block;
  font-size: 0.75em;
  font-weight: 400;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--color-text-light);
  max-width: 600px;
  font-size: 1em;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc {
  margin: 0 auto;
}

/* ─── Bienvenido / About ────────────────────────────── */
.welcome {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.welcome-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--color-accent);
}

.welcome-icon svg {
  width: 100%;
  height: 100%;
}

.welcome .section-desc {
  margin: 0 auto;
}

/* ─── Spaces / Zones ────────────────────────────────── */
.spaces {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 80px;
}

.space-label {
  text-align: center;
}
.space-label-tag {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 8px;
}
.space-label-name {
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 400;
}
.space-label-sub {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-text-light);
  margin-top: 4px;
}

.space-image {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.space-image-inner {
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=800&h=600&fit=crop&q=80') center/cover no-repeat;
  position: relative;
}

/* ─── Food Gallery (carousel-like) ──────────────────── */
.food-gallery {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.food-card {
  width: 260px;
  text-align: center;
}

.food-card-image {
  width: 260px;
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.food-card-image-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Real food images from Unsplash */
.food-1 .food-card-image-inner {
  background: url('https://images.unsplash.com/photo-1565557623262-b51c2513a641?w=520&h=520&fit=crop&q=80') center/cover no-repeat;
}
.food-2 .food-card-image-inner {
  background: url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?w=520&h=520&fit=crop&q=80') center/cover no-repeat;
}
.food-3 .food-card-image-inner {
  background: url('https://images.unsplash.com/photo-1534080564583-6be75777b70a?w=520&h=520&fit=crop&q=80') center/cover no-repeat;
}

.food-card-name {
  font-family: var(--font-heading);
  font-size: 1.1em;
  font-weight: 400;
  margin-bottom: 4px;
}

.food-card-price {
  color: var(--color-text-light);
  font-size: 0.9em;
}

/* ─── Gastronómica Section ──────────────────────────── */
.gastronomica {
  text-align: center;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.gastronomica .section-desc {
  margin: 0 auto 32px;
}

.gastronomica-link {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1em;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}
.gastronomica-link:hover { opacity: 0.7; }

/* ─── Reservation Section ────────────────────────────── */
.reservation {
  text-align: center;
}

.reservation-subtitle {
  font-family: var(--font-heading);
  font-size: 1em;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.reservation-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1em;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  margin-bottom: 48px;
  transition: opacity 0.3s;
  cursor: pointer;
}
.reservation-link:hover { opacity: 0.7; }

.reservation-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 40px rgba(60, 36, 21, 0.08);
}

/* ─── Location & Hours ──────────────────────────────── */
.location {
  background: var(--color-bg);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-left h3 {
  font-family: var(--font-heading);
  font-size: 0.8em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.location-address {
  font-family: var(--font-heading);
  font-size: 1.1em;
  font-weight: 400;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  margin-bottom: 32px;
  transition: opacity 0.3s;
}
.location-address:hover { opacity: 0.7; }

.hours-title {
  font-family: var(--font-heading);
  font-size: 0.8em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hours-group {
  margin-bottom: 16px;
}

.hours-label {
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 4px;
}

.hours-time {
  color: var(--color-text-light);
  font-size: 0.9em;
  line-height: 1.6;
}

.map-container {
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.map-placeholder-inner {
  text-align: center;
  color: var(--color-text-light);
}
.map-placeholder-inner .map-icon {
  font-size: 2em;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* ─── Hero Banner (bottom, similar to Voltereta "Tanzania" image) ─── */
.hero-banner {
  position: relative;
  height: 50vh;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1559339352-11d035aa65de?w=1400&h=700&fit=crop&q=80') center/cover no-repeat;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, 0.55);
  pointer-events: none;
}

.hero-banner-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-text-inverse);
}

.hero-banner-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5em, 6vw, 4.5em);
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.hero-banner-text p {
  font-family: var(--font-heading);
  font-style: italic;
  margin-top: 12px;
  font-size: 1.1em;
  opacity: 0.7;
  letter-spacing: 1px;
}

/* ─── Gallery (Two large images with captions, like Voltereta) ─── */
.gallery-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-duo-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
}

.gallery-duo-bg {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-duo-1 .gallery-duo-bg {
  background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=800&h=600&fit=crop&q=80') center/cover no-repeat;
}

.gallery-duo-2 .gallery-duo-bg {
  background: url('https://images.unsplash.com/photo-1600891964092-4316c288032e?w=800&h=600&fit=crop&q=80') center/cover no-repeat;
}

.gallery-duo-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: var(--color-text-inverse);
  z-index: 1;
}

.gallery-duo-caption-tag {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}

.gallery-duo-caption-name {
  font-family: var(--font-heading);
  font-size: 1.3em;
  font-weight: 400;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2em;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8em;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--color-accent); }

.footer-powered {
  font-size: 0.75em;
  color: var(--color-text-light);
}
.footer-powered a {
  color: var(--color-accent);
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding: 20px 40px;
  font-size: 0.75em;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .spaces { grid-template-columns: 1fr; gap: 40px; }
  .space-image { max-width: 500px; margin: 0 auto; }
  .location-grid { grid-template-columns: 1fr; }
  .gallery-duo { grid-template-columns: 1fr; }
  .food-gallery { gap: 16px; }
  .food-card { width: 220px; }
  .food-card-image { width: 220px; height: 220px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .navbar-links { display: none; }
  .section { padding: 60px 20px; }
  .container { padding: 0 20px; }
  .hero-restaurant-name { letter-spacing: 3px; }
  .hero-actions { gap: 24px; }
  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-links { gap: 20px; }
}

@media (max-width: 480px) {
  .food-gallery { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; gap: 16px; }
}
