/* ==========================================================================
   SILVINO'S CAFE DESIGN SYSTEM & BRANDING CSS
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  /* Color Palette - Terracotta, Warm Charcoal, Cream, Gold Accents */
  --color-bg-light: #fcfaf7;
  --color-bg-dark: #151413;
  --color-card-light: #ffffff;
  --color-card-dark: #1e1c1b;
  
  --color-primary: #c94c32;       /* Terracotta / Clay */
  --color-primary-dark: #a13924;
  --color-secondary: #631e15;     /* Deep Burgundy */
  --color-accent: #cfa151;        /* Muted Gold */
  --color-accent-dark: #b58739;
  
  --color-text-main: #2b2827;
  --color-text-muted: #6e6764;
  --color-text-light: #faf8f5;
  
  --color-border: #e8e2dd;
  --color-shadow-subtle: rgba(43, 40, 39, 0.05);
  --color-shadow-medium: rgba(43, 40, 39, 0.1);
  --color-shadow-heavy: rgba(43, 40, 39, 0.15);
  
  /* Glassmorphism Accents */
  --glass-bg: rgba(252, 250, 247, 0.7);
  --glass-bg-dark: rgba(21, 20, 19, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.08);
  
  /* Typography Variables */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Width Constraints */
  --container-width: 1280px;
}

/* ==========================================================================
   Base Rules & Global Styling
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for floating capsule header */
}

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ==========================================================================
   Typography Classes & Layout Helpers
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

.text-center { text-align: center; }
.margin-bottom-medium { margin-bottom: var(--space-lg); }
.margin-top-small { margin-top: var(--space-sm); }
.overflow-hidden { overflow: hidden; }

.highlight-text {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(201, 76, 50, 0.4);
  z-index: -1;
}

/* Flexbox & Grid Systems */
.grid {
  display: grid;
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-gap-large {
  gap: var(--space-xl);
}

.align-center {
  align-items: center;
}

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.max-width-small {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 4px 6px var(--color-shadow-subtle);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(201, 76, 50, 0.25);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

.btn-secondary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(207, 161, 81, 0.25);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Floating Capsule Navigation (legibility fix)
   ========================================================================== */
.header-main {
  position: fixed;
  top: 20px; /* Floating capsule spacing */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--space-md) * 2);
  max-width: var(--container-width);
  z-index: 100;
  /* Dark translucent backdrop for maximum legibility */
  background-color: rgba(21, 20, 19, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-normal);
}

/* Scrolled state transitions smoothly to top docked bar */
.header-main.scrolled {
  top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  background-color: rgba(21, 20, 19, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
  padding: 0.6rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.header-main.scrolled .header-container {
  padding: 0.6rem var(--space-lg);
}

.logo-container {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-right: 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-light); /* Highly visible light color */
}

.logo-highlight {
  color: var(--color-accent); /* Muted gold highlight */
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-light); /* White link text for dark capsule */
  position: relative;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 0.2rem;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--glass-bg-dark);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-content {
  text-align: center;
  position: relative;
  width: 100%;
  padding: var(--space-lg);
}

.mobile-nav-close {
  position: absolute;
  top: -40px;
  right: var(--space-md);
  color: var(--color-text-light);
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-text-light);
  font-weight: 600;
  display: block;
}

.mobile-nav-link:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: var(--space-xxl) var(--space-md) var(--space-xl);
  color: var(--color-text-light);
}

.hero-content {
  max-width: 850px;
  z-index: 2;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.hero-logo-img {
  max-width: 180px;
  height: auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: float-logo 6s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-subtitle {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-lg);
  font-weight: 300;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse-scroll {
  width: 26px;
  height: 44px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-full);
  display: block;
  position: relative;
}

.mouse-scroll .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-out infinite;
}

@keyframes scroll-wheel {
  0% { top: 8px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: var(--space-xxl) 0;
  background-color: var(--color-bg-light);
}

.about-visual {
  position: relative;
}

.about-single-image-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--color-shadow-heavy);
  border: 6px solid var(--color-bg-light);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  transition: transform var(--transition-normal);
}

.about-single-image-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px var(--color-shadow-heavy);
}

.about-single-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.about-single-image-wrapper:hover .about-single-img {
  transform: scale(1.03);
}

.about-collage {
  position: relative;
  width: 100%;
  height: 520px;
  margin-top: var(--space-md);
}

.about-collage-item {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--color-shadow-heavy);
  border: 4px solid var(--color-bg-light);
  transition: all var(--transition-normal);
}

.about-collage-item:hover {
  z-index: 10;
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 15px 35px var(--color-shadow-heavy);
}

.primary-item {
  top: 0;
  left: 0;
  width: 75%;
  height: 380px;
  z-index: 2;
}

.secondary-item {
  bottom: 0;
  right: 0;
  width: 62%;
  height: 285px;
  z-index: 3;
}

.about-collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.about-collage-item:hover .about-collage-img {
  transform: scale(1.05);
}

.badge-experience {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: var(--color-secondary);
  color: var(--color-text-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 25px rgba(99, 30, 21, 0.3);
  transform: rotate(-3deg);
}

.badge-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.badge-txt {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-tagline {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-size: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.about-description {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.feature-card {
  padding: var(--space-sm) 0;
}

.feature-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(201, 76, 50, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
  font-family: var(--font-sans);
  font-weight: 600;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.quote-box {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-md);
  margin-top: var(--space-lg);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-secondary);
  line-height: 1.5;
}

.quote-author {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ==========================================================================
   Menu Section & Filtering
   ========================================================================== */
.menu-section {
  padding: var(--space-xxl) 0;
  background-color: #faf8f5;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.menu-tabs-wrapper {
  position: relative;
  width: 100%;
}

/* Gradient shadow fading to the section background on the right */
.menu-tabs-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: calc(100% - 8px);
  width: 80px;
  background: linear-gradient(to right, rgba(250, 248, 245, 0), #faf8f5 85%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 5;
}

/* Hide the fade shadow when scrolled to end */
.menu-tabs-wrapper.scrolled-to-end::after {
  opacity: 0;
}

.menu-tabs-container {
  overflow-x: auto;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xs);
  scrollbar-width: none; /* Firefox hiding scrollbar */
}

.menu-tabs-container::-webkit-scrollbar {
  display: none; /* Safari/Chrome hiding scrollbar */
}

/* Floating animated arrow pointing to more items */
.scroll-hint-arrow {
  position: absolute;
  right: 12px;
  top: calc(50% - 6px); /* Align with buttons middle */
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(201, 76, 50, 0.35);
  z-index: 10;
  pointer-events: none;
  animation: hint-bounce-right 1.6s infinite ease-in-out;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
}

/* Hide the floating arrow when scrolled to end or content doesn't overflow */
.menu-tabs-wrapper.scrolled-to-end .scroll-hint-arrow {
  opacity: 0;
  transform: translateY(-50%) scale(0.8);
}

@keyframes hint-bounce-right {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(6px); }
}

.menu-tabs {
  display: flex;
  gap: var(--space-xs);
  justify-content: flex-start;
  min-width: max-content;
  margin: 0 auto;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-xs);
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
}

.tab-btn:hover {
  color: var(--color-primary);
  background-color: rgba(201, 76, 50, 0.05);
}

.tab-btn.active {
  color: var(--color-text-light);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(201, 76, 50, 0.2);
}

/* Menu Grid & Item Cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.menu-item-card {
  background-color: var(--color-card-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--color-shadow-subtle);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

/* Smooth filtering transitions */
.menu-item-card.hide {
  display: none;
  opacity: 0;
  transform: scale(0.9);
}

.menu-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px var(--color-shadow-medium);
  border-color: var(--color-accent);
  border-left-color: var(--color-primary);
}

.menu-title-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.menu-item-badge-inline {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(201, 76, 50, 0.2);
}

.menu-item-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xs);
  gap: var(--space-xs);
}

.menu-item-header h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.menu-item-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
  white-space: nowrap;
}

.menu-item-desc {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: var(--space-md);
  flex-grow: 1;
  line-height: 1.5;
}

.menu-item-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.menu-tag {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ==========================================================================
   Space & Gallery Section
   ========================================================================== */
.gallery-section {
  padding: var(--space-xxl) 0;
  background-color: var(--color-bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow-subtle);
  height: 280px;
  background-color: var(--color-border);
  position: relative;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item img.focus-top,
.about-collage-img.focus-top {
  object-position: center 10% !important;
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-section {
  padding: var(--space-xxl) 0;
  background-color: #faf8f5;
  border-top: 1px solid var(--color-border);
}

.contact-intro {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(207, 161, 81, 0.1);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-icon.whatsapp-icon-wrapper {
  background-color: transparent !important;
  box-shadow: none;
}

.whatsapp-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.contact-info-list h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 2px;
}

.contact-info-list p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.social-box {
  margin-top: var(--space-xl);
}

.social-box h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 6px var(--color-shadow-subtle);
  transition: all var(--transition-fast);
}

.facebook-btn {
  background-color: #1877f2;
  color: white;
}

.facebook-btn:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(24, 119, 242, 0.25);
}

.contact-map-container {
  height: 100%;
  min-height: 450px;
}

.map-card-wrapper {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--color-shadow-heavy);
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-border);
}

.glass-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.map-placeholder {
  height: 100%;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(252, 250, 247, 0.8);
}

.map-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.map-placeholder h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.map-placeholder p {
  color: var(--color-text-muted);
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   Table Reservation Modal Dialog
   ========================================================================== */
.reservation-dialog {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: 580px;
  width: calc(100% - var(--space-md) * 2);
  border-radius: var(--radius-lg);
  overflow: visible;
  outline: none;
  box-shadow: 0 20px 50px rgba(21, 20, 19, 0.4);
}

/* Dialog entry/close animation styling */
.reservation-dialog[open] {
  animation: dialog-show var(--transition-normal) forwards;
}

@keyframes dialog-show {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Styling backdrop pseudo-element */
.reservation-dialog::backdrop {
  background-color: rgba(21, 20, 19, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: backdrop-fade var(--transition-fast) forwards;
}

@keyframes backdrop-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.dialog-content {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.dialog-header h2 {
  font-size: 1.65rem;
  color: var(--color-secondary);
}

.dialog-close-btn {
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.dialog-close-btn:hover {
  color: var(--color-primary);
}

.dialog-intro {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-xs);
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.col-span-2 {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a39c99;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--color-primary);
  background-color: var(--color-card-light);
  box-shadow: 0 0 0 3px rgba(201, 76, 50, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

/* ==========================================================================
   Toast Notifications System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 380px;
  width: calc(100% - var(--space-lg) * 2);
}

.toast {
  background-color: var(--color-card-light);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(21, 20, 19, 0.15);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  transform: translateY(20px);
  opacity: 0;
  animation: toast-in var(--transition-normal) forwards;
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

@keyframes toast-in {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.toast.removing {
  transform: translateX(50px);
  opacity: 0;
}

.toast-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.toast-title {
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.toast-message {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================================
   Footer Main
   ========================================================================== */
.footer-main {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--space-xxl) 0 var(--space-md);
  border-top: 4px solid var(--color-primary);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  justify-items: center;
  align-items: start;
}

.footer-brand {
  max-width: 480px;
  text-align: center;
  margin: 0 auto;
}

.footer-brand .logo-text {
  color: var(--color-text-light);
  font-size: 1.8rem;
  display: block;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.footer-desc {
  color: #9e9794;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.footer-links {
  text-align: center;
  width: 100%;
}

.footer-links h3, 
.footer-schedule h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #9e9794;
  transition: all var(--transition-fast);
  display: inline-block;
  text-align: center;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.footer-schedule {
  text-align: center;
  width: 100%;
}

.footer-schedule p {
  color: #9e9794;
  margin-bottom: var(--space-xs);
  text-align: center;
}

.schedule-badge {
  display: inline-block;
  background-color: rgba(207, 161, 81, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(207, 161, 81, 0.3);
  padding: 0.4rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  color: #6e6764;
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   Entrance Animations & Scroll Effects
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Intersection Observer Classes */
.anim-reveal-left, 
.anim-reveal-right, 
.anim-reveal-up {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.anim-reveal-left { transform: translateX(-40px); }
.anim-reveal-right { transform: translateX(40px); }
.anim-reveal-up { transform: translateY(40px); }

.anim-reveal-left.revealed, 
.anim-reveal-right.revealed, 
.anim-reveal-up.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ==========================================================================
   Responsive Viewport Design (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }
  .gallery-item {
    height: 220px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .header-main {
    top: 10px;
    width: calc(100% - var(--space-sm) * 2);
  }
  
  .header-container {
    padding: 0.5rem var(--space-sm);
  }
  
  .brand-logo-img {
    height: 40px;
    margin-right: 8px;
  }
  
  .logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
  }
  
  .logo-container .logo-highlight {
    display: none; /* Hide 'Restaurante' on mobile to avoid overlap */
  }
  
  .header-actions {
    gap: var(--space-xs); /* Reduce gap on mobile */
  }
  
  .delivery-badge-header {
    display: none !important;
  }
  
  .header-main.scrolled {
    top: 0;
    width: 100%;
  }
  
  .nav-menu {
    display: none; /* Hide default nav menu on mobile */
  }
  
  .mobile-menu-toggle {
    display: block; /* Show mobile menu trigger */
    color: var(--color-text-light);
  }
  
  .header-actions .btn-primary {
    display: none; /* Hide reserve btn on mobile header (lives inside overlay now) */
  }
  
  .about-img {
    height: 380px;
    transform: translate(10px, 10px);
  }
  
  .badge-experience {
    bottom: -15px;
    left: 10px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .contact-map-container {
    min-height: 320px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .col-span-2 {
    grid-column: span 1;
  }
  
  .form-actions {
    flex-direction: column-reverse;
  }
  
  .form-actions button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Bilingual Translation & Order-to-Call Feature Upgrades
   ========================================================================== */

/* Language Toggle Button Styles */
.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition-normal);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(229, 184, 99, 0.3);
}

.lang-label {
  color: var(--color-text-muted);
  transition: all var(--transition-normal);
}

.lang-label.active {
  color: var(--color-accent);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(229, 184, 99, 0.4);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
}

.nav-lang-item {
  display: flex;
  align-items: center;
  margin-left: var(--space-sm);
}

/* Mobile-specific language toggle button in header */
.header-lang-mobile {
  display: none;
}

@media (max-width: 768px) {
  .header-lang-mobile {
    display: inline-flex;
    margin-right: 4px;
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* Delivery Badge Styles */
.delivery-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 184, 99, 0.12);
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: var(--space-sm);
  border: 1px solid rgba(229, 184, 99, 0.3);
  animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(229, 184, 99, 0.3);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 6px rgba(229, 184, 99, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(229, 184, 99, 0);
  }
}

/* Hero Order Wrapper and Tags */
.hero-order-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-delivery-tag {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Floating Call Bar Styles */
.floating-call-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 184, 99, 0.35);
  border-radius: 100px;
  padding: 6px 18px 6px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-call-bar:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-accent);
  box-shadow: 0 20px 45px rgba(229, 184, 99, 0.22);
}

.floating-call-icon {
  background: var(--color-primary);
  color: var(--color-text-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 2.5s infinite;
}

.floating-call-icon.whatsapp-icon {
  background: transparent !important;
  animation: pulse-ring-whatsapp 2.5s infinite;
}

.whatsapp-floating-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.floating-call-info {
  display: flex;
  flex-direction: column;
}

.floating-call-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.2;
}

.floating-call-number,
.floating-call-numbers {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-serif);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-call-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.floating-call-link:hover {
  color: var(--color-text-light);
  transform: translateY(-1px);
}

.floating-call-numbers .divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.floating-call-delivery {
  font-size: 0.72rem;
  background: rgba(46, 125, 50, 0.2);
  color: #81c784;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  border: 1px solid rgba(129, 199, 132, 0.3);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 30, 21, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(99, 30, 21, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 30, 21, 0);
  }
}

@keyframes highlight-scale {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.08); border-color: var(--color-accent); box-shadow: 0 25px 50px rgba(229, 184, 99, 0.4); }
  100% { transform: translateY(0) scale(1); }
}

.floating-call-bar.highlight-pulse {
  animation: highlight-scale 0.8s ease-in-out;
}

@media (max-width: 768px) {
  .floating-call-bar {
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 0;
    border-width: 1px 0 0 0;
    padding: 12px var(--space-md);
    justify-content: space-between;
    width: 100%;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
  }
  
  .floating-call-bar:hover {
    transform: none;
  }
  
  /* Add padding to footer to ensure content isn't covered by bottom sticky bar */
  footer {
    padding-bottom: 80px !important;
  }
}

/* Make delivery motorcycle emoji larger */
.delivery-icon {
  font-size: 1.4em;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
  transition: transform var(--transition-normal);
}

.delivery-badge-header:hover .delivery-icon,
.hero-delivery-tag:hover .delivery-icon {
  transform: scale(1.15) rotate(-5deg);
}

@keyframes pulse-ring-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}


