/* Reset & Custom Properties */
:root {
  --bg-color: #fdfbf7;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --primary: #ea580c;       /* Vibrant orange */
  --primary-hover: #c2410c; /* Darker orange */
  --accent: #f59e0b;        /* Amber */
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand {
  font-family: 'Outfit', sans-serif;
}

a { text-decoration: none; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeUp 0.8s ease forwards;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.brand svg {
  width: 28px; height: 28px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
}

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

.btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 999px; /* Pill shape */
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.3);
}

/* Hero Section */
.hero {
  padding: 160px 5% 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 85vh;
  justify-content: center;
  position: relative;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0.4), rgba(17, 24, 39, 0.8)), url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Background decorative element */
.hero::before {
  display: none;
}

.hero-label {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-block;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  max-width: 800px;
  letter-spacing: -1px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.hero h1 span {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.3));
}

.hero p {
  font-size: 18px;
  color: #e5e7eb;
  max-width: 600px;
  margin-bottom: 40px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Featured Menu (Like Brands Section) */
.featured-section {
  padding: 80px 5%;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-card {
  background: var(--bg-color);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.02);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(234, 88, 12, 0.2);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #fff3eb, #ffedd5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}

.menu-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.menu-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Business Opportunity Banner */
.business-section {
  padding: 80px 5%;
  margin-top: 40px;
}

.business-banner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--text-dark), #111827);
  border-radius: 24px;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.business-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(234,88,12,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.business-text {
  color: var(--white);
  max-width: 600px;
  z-index: 10;
}

.business-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.business-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

/* Footer */
footer {
  background-color: var(--white);
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 80px;
}

.footer-content h4 {
  color: var(--text-dark);
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.copyright {
  font-size: 13px;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide standard links on mobile to keep it simple, or add hamburger later */
  }
  
  .hero {
    padding-top: 130px;
  }
  
  .business-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
}

/* --- DETAILED MENU SECTION --- */
.detailed-menu-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.02);
  min-height: 600px;
}

.menu-sidebar {
  width: 250px;
  background: #fcfaf8;
  border-right: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.category-btn {
  padding: 18px 20px;
  text-align: left;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.category-btn:hover {
  background: rgba(234, 88, 12, 0.05);
  color: var(--primary);
}

.category-btn.active {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}

.menu-content {
  flex: 1;
  padding: 30px;
  background: var(--white);
}

.menu-category-title {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.item-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.item-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(234, 88, 12, 0.2);
}

.item-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fdfbf7;
}

.item-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.item-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
  flex: 1;
}

.item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.add-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition);
}

.add-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* Responsive Menu */
@media (max-width: 768px) {
  .detailed-menu-wrapper {
    flex-direction: column;
  }
  .menu-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .category-btn {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .category-btn.active {
    border-bottom-color: var(--primary);
  }
}

/* Troli System */
.cart-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
  cursor: pointer;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cart-float:hover {
  transform: scale(1.1);
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 12px;
  font-weight: bold;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.cart-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-content {
  background: var(--white);
  width: 90%;
  max-width: 400px;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.close-cart {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}
.cart-items {
  margin: 20px 0;
  overflow-y: auto;
  flex-grow: 1;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cart-item-remove {
  color: #ef4444;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
}
.whatsapp-btn {
  background: #25D366;
  color: white;
  width: 100%;
  border-radius: 30px;
  padding: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  transition: opacity 0.3s;
}
.whatsapp-btn:hover {
  opacity: 0.9;
}
.toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--text-dark);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1001;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
