/* ======= VARIABLES & RESET ======= */
:root {
  --color-gold: #F2BE5C;
  --color-orange: #F2921D;
  --color-red: #BF1304;
  --color-maroon: #590202;
  --color-light: #F2F2F2;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-gray: #e0e0e0;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(89, 2, 2, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--color-light);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-maroon);
  margin-bottom: 3rem;
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-orange);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-maroon) 100%);
  color: var(--color-white);
  box-shadow: 0 8px 15px rgba(191, 19, 4, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(191, 19, 4, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background-color: var(--color-gold);
  color: var(--color-maroon);
}

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

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

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

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

/* ======= NAVBAR ======= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(89, 2, 2, 0.25)); /* Soft maroon-tinted shadow for contrast */
  transition: var(--transition);
}

.logo img:hover {
  filter: drop-shadow(0 6px 12px rgba(89, 2, 2, 0.35));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-maroon);
  transition: var(--transition);
}

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

.cart-icon {
  position: relative;
  cursor: pointer;
  width: 45px;
  height: 45px;
  background-color: var(--color-maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cart-icon img {
  width: 20px;
  height: 20px;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--color-gold);
  color: var(--color-maroon);
  font-size: 0.75rem;
  font-weight: bold;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--color-white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-maroon);
  position: absolute;
  transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-maroon);
}

/* ======= HERO SECTION ======= */
.hero {
  padding-top: 120px;
  min-height: 90vh;
  background: radial-gradient(circle at top right, var(--color-gold) 0%, var(--color-light) 50%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  color: var(--color-maroon);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-text h1 span {
  color: var(--color-red);
}

.hero-text p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(89, 2, 2, 0.2));
}

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

/* ======= MENU SECTION ======= */
.menu {
  padding: 6rem 0;
  background-color: var(--color-white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--color-gray);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  border-color: var(--color-gold);
}

.product-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: -4rem auto 1rem;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-img {
  transform: scale(1.1) rotate(5deg);
}

.product-card h3 {
  font-size: 1.4rem;
  color: var(--color-maroon);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-red);
  margin-bottom: 1.5rem;
}

.product-card .btn {
  width: 100%;
}

/* ======= HORARIO SECTION ======= */
.horario {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-maroon) 0%, #300101 100%);
  color: white;
  position: relative;
}

.horario-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.horario-icon {
  width: 80px;
  height: 80px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.horario-icon img{
  width: 40px;
  height: 40px;
}

.horario h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-gold);
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
  font-weight: 500;
}

.schedule-list li:last-child {
  border-bottom: none;
}

/* ======= UBICACION & CONTACT SECTION ======= */
.ubicacion {
  padding: 6rem 0;
}

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

.contact-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.c-icon {
  width: 60px;
  height: 60px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.whatsapp-card .c-icon {
  background: #25D366;
}

.c-icon img {
  width: 30px;
}

.contact-card h3 {
  color: var(--color-maroon);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.phone-number {
  font-size: 1.8rem !important;
  font-weight: 800;
  color: var(--color-red) !important;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ======= FOOTER ======= */
footer {
  background: #111;
  color: #888;
  padding: 3rem 0;
  text-align: center;
}

/* ======= CART DRAWER ======= */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background: var(--color-white);
  z-index: 1003;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  color: var(--color-maroon);
}

.close-cart {
  background: none;
  border: none;
  font-size: 2rem;
  color: #aaa;
  cursor: pointer;
  transition: var(--transition);
}

.close-cart:hover {
  color: var(--color-red);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.empty-cart-msg {
  text-align: center;
  color: #888;
  margin-top: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-gray);
  margin-bottom: 1rem;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  color: var(--color-maroon);
  font-size: 1rem;
  line-height: 1.2;
}

.cart-item-price {
  color: var(--color-red);
  font-weight: 600;
  margin-top: 0.25rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  background: var(--color-light);
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.qty-btn:hover {
  background: var(--color-gray);
}

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.remove-btn img {
  filter: invert(1) sepia(100%) saturate(10000%) hue-rotate(345deg); /* Make it red */
  transition: var(--transition);
}

.remove-btn:hover img {
  transform: scale(1.2);
}

.cart-footer {
  padding: 1.5rem 2rem;
  background: var(--color-light);
  border-top: 1px solid var(--color-gray);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-maroon);
  margin-bottom: 1.5rem;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
}

.form-group input {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(242, 146, 29, 0.2);
}

.form-instructions {
  font-size: 0.8rem;
  color: #777;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    margin-top: 2rem;
  }
  .nav-links {
    display: none; /* Hide on small, handled by mobile nav */
  }
  .mobile-menu-btn {
    display: block;
  }
  .cart-icon {
    margin-left: auto;
    margin-right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}
