/* CSS Variables */
:root {
  --primary-red: #C8102E; /* Deep Mexican Red */
  --primary-red-hover: #990022;
  --secondary-orange: #E65100; /* Warm mole/salsa orange */
  --accent-yellow: #FFB300;
  
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --text-dark: #1F2937;
  --text-gray: #4B5563;
  --border-color: #E5E7EB;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Language Toggling Logic */
body.lang-es .lang-en { display: none !important; }
body.lang-en .lang-es { display: none !important; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

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

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

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text-dark);
}

.logo-accent {
  color: var(--secondary-orange);
}

.nav-links {
  display: none; /* Mobile first, shown on desktop */
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--primary-red);
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Language Button */
.btn-lang {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.2rem 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-lang:hover {
  background-color: var(--border-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-orange));
  color: white;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.6);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('./ASSETS/656652421_816562838153548_6914456040156368169_n.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px; 
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 4rem; /* For sticky nav clearance */
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
}

.divider {
  height: 4px;
  width: 60px;
  background: var(--secondary-orange);
  margin: 1rem auto;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

/* Menu Grid */
.menu-section {
  padding-bottom: 5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.menu-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .card-img-wrapper img {
  transform: scale(1.08); /* Zoom effect */
}

.price-tag {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: var(--primary-red);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 2;
}

.card-content {
  padding: 2rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.card-content .desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Service Info */
.service-info {
  background-color: var(--bg-white);
  padding: 4rem 0;
}

.info-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.info-box {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.glass-dark {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: white;
}

.glass-primary {
  background: linear-gradient(135deg, var(--secondary-orange), var(--primary-red));
  color: white;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.glass-dark .icon-circle {
  color: var(--accent-yellow);
}

.glass-primary .icon-circle {
  color: white;
}

.info-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.highlight-time {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}

.delivery-highlight {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background-color: #111827;
  color: white;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #9CA3AF;
}

.footer-contact h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-yellow);
}

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
}

.footer-contact a {
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--accent-yellow);
}

.footer-contact i {
  color: var(--secondary-orange);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #6B7280;
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition);
  animation: bounce-wa 2s infinite;
}

.floating-wa:hover {
  background-color: #1EBE5D;
  transform: scale(1.1);
}

@keyframes bounce-wa {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* Desktop Styles (Min-width: 768px) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .mobile-toggle {
    display: none;
  }
  
  .nav-links {
    display: flex;
  }
  
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  
  .info-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Custom Modifiers for full card heights in grid */
.menu-card {
  height: 100%;
}

/* Mobile Nav Overlay (handled in JS) */
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
