/* OPTIMIZED BUILD */
/* main.css - Estilos Globales DAKKO */
:root {
  /* Colores Brand */
  --primary: #E52E23;
  --secondary: #000000;
  --bg-main: #FF3126;
  --btn-bg: #F1E9D2;
  --btn-text: #000000;
  
  /* Paleta extendida */
  --accent: #FFB800;
  --text-light: #FFFFFF;
  --text-dark: #1A1A1A;
  --bg-dark: #0A0A0A;
  --card-bg: rgba(255, 255, 255, 0.05);
  --glass-effect: rgba(0, 0, 0, 0.7);
  
  /* Tipografía */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Otros */
  --border-radius: 24px;
  --card-radius: 16px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 8px 24px rgba(229, 46, 35, 0.3);
  --transition: all 0.3s ease;
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

/* Tipografía */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: 1.75rem; }

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--text-light);
}
.section-title span {
  color: var(--secondary);
  background: var(--btn-bg);
  padding: 0.1em 0.5em;
  border-radius: 40px;
  display: inline-block;
}

/* Navegación */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-effect);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: block;
  transition: var(--transition);
}
.logo-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.logo-img {
  height: 70px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  margin: -10px 0; /* Compensa el aumento para no agrandar el header */
}

.nav-menu {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-menu a:hover {
  border-bottom-color: var(--primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #b71c1c 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1626082896492-766af5f59ab2?q=80&w=2070&auto=format&fit=crop') center/cover;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

/* Contenedor circular */
.hero-content-circle {
  background-color: #F1E9D2;
  color: var(--secondary);
  width: min(80vw, 600px);
  height: min(80vw, 600px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: circleAppear 1s ease-out;
  border: 4px solid var(--secondary);
  margin: 0 auto;
}

@keyframes circleAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.hero-content-circle .hero-logo {
  max-width: 150px;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: var(--transition);
}

.hero-content-circle .hero-logo:hover {
  transform: scale(1.05);
}

.hero-content-circle h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  color: var(--secondary);
}

.hero-content-circle h1 span {
  color: var(--primary);
  background: var(--secondary);
  padding: 0 0.3em;
  display: inline-block;
  border-radius: 40px;
  font-size: 0.9em;
}

.hero-content-circle .hero-tagline {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  opacity: 0.8;
  color: var(--secondary);
  font-weight: 500;
  max-width: 80%;
}

.hero-content-circle .cta-button {
  display: inline-block;
  background-color: var(--primary);
  color: var(--btn-bg);
  font-weight: 700;
  text-decoration: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 60px;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--secondary);
}

.hero-content-circle .cta-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
  background-color: #b71c1c;
  color: white;
}

/* Menu Grid */
.menu-section {
  padding: var(--space-xl) 0;
  background-color: var(--secondary);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.item-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--space-md);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.item-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.item-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-sm);
  border: 2px solid var(--primary);
}

.item-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--btn-bg);
}

.item-card p {
  opacity: 0.8;
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.item-card .price {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 60px;
  align-self: flex-start;
  font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-main);
  color: var(--text-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  background: rgba(0,0,0,0.3);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 49, 38, 0.5);
}

.contact-info h3 {
  color: var(--btn-bg);
  margin-bottom: var(--space-sm);
}
.contact-details p {
  margin-bottom: var(--space-xs);
}
.contact-details a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
}
.contact-details a:hover {
  color: var(--btn-bg);
}

.contact-form h3 {
  color: var(--btn-bg);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.submit-btn {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: var(--space-sm) var(--space-md);
  font-weight: 700;
  border-radius: 60px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

/* Footer con redes sociales */
.site-footer {
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: var(--space-md) 0;
  border-top: 2px solid var(--primary);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.site-footer p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: var(--space-xs) 0;
}

/* Helix Powered dentro del footer */
.helix-powered {
  font-size: 0.8rem;
  opacity: 0.7;
  transition: var(--transition);
  margin-top: var(--space-xs);
}

.helix-powered a {
  color: white;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,0.3);
}

.helix-powered:hover {
  opacity: 1;
}

/* WhatsApp Float más grande */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 100;
  border: 3px solid white;
}

.whatsapp-float svg {
  width: 42px;
  height: 42px;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  background-color: #20b859;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* ===== ELEMENTOS OBLIGATORIOS ===== */
/* Toast System */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--secondary);
  color: white;
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease;
  border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: #00C851; }
.toast.error { border-left-color: #ff4444; }
.toast.info { border-left-color: var(--primary); }

.toast.hiding {
  animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* WhatsApp Float */
.whatsapp-float {
  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;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  z-index: 100;
  border: 2px solid white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20b859;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 0;
  }
  
  .logo-img {
    height: 60px;
    margin: -5px 0;
  }
  
  .nav-menu {
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-content-circle {
    width: min(85vw, 450px);
    height: min(85vw, 450px);
    padding: var(--space-md);
  }
  
  .hero-content-circle .hero-logo {
    max-width: 100px;
  }
  
  .hero-content-circle h1 {
    font-size: 1.8rem;
  }
  
  .hero-content-circle .hero-tagline {
    font-size: 0.9rem;
  }
  
  .hero-content-circle .cta-button {
    padding: var(--space-xs) var(--space-md);
    font-size: 1rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: var(--space-md);
  }
  
  .whatsapp-float {
    width: 70px;
    height: 70px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 36px;
    height: 36px;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
  }
  
  .social-links svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content-circle {
    width: 90vw;
    height: 90vw;
    padding: var(--space-sm);
  }
  
  .hero-content-circle h1 {
    font-size: 1.5rem;
  }
  
  .hero-content-circle .hero-tagline {
    font-size: 0.8rem;
    max-width: 90%;
  }
}

/* Contact details con íconos */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--btn-bg);
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--btn-bg);
  border-bottom-color: var(--btn-bg);
}