:root {
  --primary-color: #FF6B00;
  --primary-dark: #E55A00;
  --secondary-color: #FFC107;
  --dark-color: #1A1A1A;
  --light-color: #F8F9FA;
  --gray-color: #6C757D;
  --success-color: #28A745;
  --font-primary: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--dark-color);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.logo p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.burger-icon {
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Estilos para el logo con imagen */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background-color: white;
  padding: 5px;
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.8rem;
  color: var(--secondary-color);
  margin: 0;
  opacity: 0.9;
  font-weight: 300;
}

.btn-pedido {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-pedido:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('https://images.unsplash.com/photo-1572802419224-296b0aeee0d9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover fixed;
  z-index: -1;
}

.hero-content {
  width: 100%;
  text-align: center;
  color: white;
  z-index: 1;
  padding: 0 1rem;
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 107, 0, 0.3);
}

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

.btn-secondary:hover {
  background-color: white;
  color: var(--dark-color);
  transform: translateY(-3px);
}

.hero-image {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

.hero-image img {
  max-width: 80%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: rotate(5deg);
  transition: transform 0.5s;
}

.hero-image img:hover {
  transform: rotate(0) scale(1.05);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-color);
  margin-bottom: 3rem;
}

/* Menú */
.menu-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.menu-categories {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-btn {
  background-color: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn.active, .category-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 0, 0.2);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.producto {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s;
  position: relative;
}

.producto:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.producto-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.producto:hover .producto-img img {
  transform: scale(1.1);
}

.producto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.producto:hover .producto-overlay {
  opacity: 1;
}

.precio {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
}

.producto-info {
  padding: 1.5rem;
}

.producto-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.producto-info p {
  color: var(--gray-color);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.btn-agregar {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.btn-agregar:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

.menu-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-pedido-grande {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.btn-pedido-grande:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 107, 0, 0.3);
  color: white;
}

.about-section {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-color);
}

.about-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.feature span {
  font-weight: 500;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Estilos para precios con descuento */
.precio-con-descuento {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  background: transparent;
  padding: 0;
}

.precio-viejo {
  font-size: 0.9rem;
  color: #ffcccc;
  text-decoration: line-through;
  text-decoration-color: #ff6b6b;
  text-decoration-thickness: 2px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
  border-radius: 15px;
}

.precio-nuevo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.4);
  position: relative;
  animation: destacar-precio 1s ease-in-out;
}

/* Animación para destacar el nuevo precio */
@keyframes destacar-precio {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Badge de "OFERTA" opcional */
.precio-con-descuento::before {
  content: "🔥 OFERTA";
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: white;
  padding: 2px 6px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer */
.footer {background-color: var(--dark-color);color: white;padding: 3rem 0 1rem;}
.footer-content {display: grid;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));gap: 2rem;margin-bottom: 2rem;}
.footer-info h3 {font-size: 1.5rem;margin-bottom: 1rem;}
.footer-info p {margin-bottom: 1.5rem;opacity: 0.8;}
.social-links {display: flex;gap: 1rem;}
.social-links a {display: flex;align-items: center;justify-content: center;width: 40px;height: 40px;background-color: rgba(255,255,255,0.1);border-radius: 50%;color: white;transition: all 0.3s;}
.social-links a:hover {background-color: var(--primary-color);transform: translateY(-3px);}
.footer-contact h4, .footer-hours h4 {  font-size: 1.2rem;margin-bottom: 1.5rem;position: relative;padding-bottom: 0.5rem;}
.footer-contact h4::after, .footer-hours h4::after {content: '';position: absolute;width: 40px;height: 3px;background-color: var(--primary-color);bottom: 0;left: 0;}
.footer-contact p, .footer-hours p {margin-bottom: 0.8rem;display: flex;align-items: center;gap: 0.5rem;opacity: 0.8;}
.footer-contact a {color: white;text-decoration: none;}
.footer-contact a:hover {color: var(--secondary-color);}
.footer-bottom {border-top: 1px solid rgba(255,255,255,0.1);padding-top: 1.5rem;text-align: center;}
.copyright {opacity: 0.7;font-size: 0.9rem;}

/* Carrito flotante */
.cart-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.cart-icon {
  background-color: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
  transition: all 0.3s;
  position: relative;
}

.cart-icon:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-preview {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
}

.cart-floating:hover .cart-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart-preview h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.cart-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f5f5f5;
}

.cart-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}

@media (max-width: 992px) {
  .hero-content h2 {font-size: 2.5rem;}
  .about-content {flex-direction: column;}
  .about-features {justify-content: center;}
}

@media (max-width: 768px) {
  .mobile-menu-toggle {display: block;}
  nav ul {position: fixed;top: 70px;left: 0;width: 100%;background-color: var(--dark-color);flex-direction: column;align-items: center;padding: 1rem 0;transform: translateY(-100%);opacity: 0;visibility: hidden;transition: all 0.3s;z-index: 999;}
  nav ul.active {transform: translateY(0);opacity: 1;visibility: visible;}
  nav ul li {margin: 0.8rem 0;}
  .hero {flex-direction: column;text-align: center;padding: 2rem 0;}
  .hero::before {width: 100%;opacity: 0.3;}
  .hero-content, .hero-image {width: 100%;}
  .hero-content {margin-bottom: 2rem;}
  .hero-buttons {justify-content: center;}
  .section-title {font-size: 2rem;}
  .menu-grid {grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));}
  .about-features {flex-direction: column;gap: 1rem;}
  .precio-con-descuento {align-items: center;}
  .precio-viejo {font-size: 0.8rem;}
  .precio-nuevo {font-size: 1.1rem;}
  .logo {gap: 10px;}
  .logo-img {width: 40px;height: 40px;}
  .logo-text h1 {font-size: 1.2rem;}
  .logo-text p {font-size: 0.7rem;}
}

@media (max-width: 576px) {
  .hero-content h2 {font-size: 2rem;}
  .hero-buttons {flex-direction: column;align-items: center;}
  .menu-categories {flex-direction: column;align-items: center;}
  .category-btn {width: 80%;}
  .cart-preview {width: 280px;right: -50px;}
}