/* GUST Doner Kebab - Restaurant Custom Stylesheet */

:root {
  --primary-red: #D32F2F;
  --primary-red-hover: #B71C1C;
  --accent-red-light: #FFEBEE;
  --accent-gold: #F59E0B;
  --bg-dark: #111827;
  --bg-light: #F9FAFB;
  --card-bg: #FFFFFF;
  --text-primary: #1F2937;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 36px rgba(211, 47, 47, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Header & Navigation */
.top-bar {
  background: #0F172A;
  color: #F8FAFC;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contacts {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-contact-item:hover {
  color: #FFFFFF;
}

.badge-open {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-open::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
}

.main-navbar {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-red);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
}

.brand-text h1 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #111827;
  line-height: 1;
}

.brand-text span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #4B5563;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: var(--primary-red);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.25);
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid #D1D5DB;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: rgba(211, 47, 47, 0.04);
}

.cart-button {
  position: relative;
  background: #F3F4F6;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1F2937;
}

.cart-button:hover {
  background: var(--accent-red-light);
  color: var(--primary-red);
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
  padding: 60px 20px 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  color: var(--primary-red);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary-red);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #4B5563;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #F3F4F6;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  background: white;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E5E7EB;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 480px;
  height: 440px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.hero-image-wrapper:hover img {
  transform: scale(1.04);
}

.floating-delivery-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 2px dashed var(--primary-red);
  text-align: center;
  max-width: 200px;
}

.floating-delivery-badge h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6B7280;
  margin-bottom: 4px;
}

.floating-delivery-badge .time {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
}

.floating-delivery-badge .days {
  font-size: 0.75rem;
  font-weight: 700;
  color: #111827;
  margin-top: 4px;
}

/* Category Slider Nav */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-sub {
  color: var(--primary-red);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: #111827;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.category-card:hover, .category-card.active {
  transform: translateY(-4px);
  border-color: var(--primary-red);
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.12);
  background: #FFFBFB;
}

.category-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.category-name {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.category-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Dish Cards Grid */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.dish-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.dish-img-wrapper {
  height: 180px;
  position: relative;
  overflow: hidden;
}

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

.dish-card:hover .dish-img-wrapper img {
  transform: scale(1.06);
}

.dish-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-red);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.dish-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dish-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.dish-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.dish-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4B5563;
  margin-bottom: 16px;
}

.star-rating {
  color: var(--accent-gold);
}

.dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
}

.dish-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-red);
}

.btn-add-cart {
  background: var(--accent-red-light);
  color: var(--primary-red);
  border: 1px solid rgba(211, 47, 47, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--primary-red);
  color: white;
}

/* Combos Section */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.combo-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 2px solid #FEE2E2;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.combo-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 12px 30px rgba(211, 47, 47, 0.1);
  transform: translateY(-4px);
}

.combo-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #111827;
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.combo-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #111827;
  margin-top: 8px;
  margin-bottom: 8px;
}

.combo-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.combo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Features Grid "¿POR QUÉ ELEGIR GUST?" */
.why-us-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.feature-box {
  padding: 20px 10px;
}

.feature-box-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-red-light);
  color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px auto;
}

.feature-box h4 {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #111827;
}

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

/* Footer Section */
.main-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--primary-red);
  transform: translateY(-2px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* Cart Side Drawer Modal */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: white;
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

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

.cart-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.btn-close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.cart-body {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}

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

.cart-item-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-item-price {
  color: var(--primary-red);
  font-weight: 800;
  font-size: 0.88rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F3F4F6;
  border-radius: var(--radius-full);
  padding: 2px 8px;
}

.btn-qty {
  background: none;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: #F9FAFB;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary-red);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta, .hero-features {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
}
