:root {
  --primary: #e63e00;
  
  --primary-dark: #b83100;
  --secondary: #192e4c;
  
  --accent: #e5a502;
  
  --background: #f1f3f5;
  --surface: #f5f5f5;
  --text-main: #1a1d20;
  --text-light: #616970;
  --success: #228e3b;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

app-navbar,
app-footer {
  display: block;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

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


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}


.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}


.hero {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 80vh;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

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

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-overlay {
  position: absolute;
  top: -20px;
  right: -20px;
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}


.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-image {
  height: 200px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.card-title h3 {
  font-size: 1.25rem;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.card-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}


.footer {
  background: var(--secondary);
  color: white;
  padding: 5rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-info h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-info i {
  color: var(--primary);
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}


.faq-section {
  padding: 5rem 0;
  background: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.5rem;
  background: #f8f9fa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--secondary);
}

.faq-question:hover {
  background: #f1f3f5;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  background: white;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: var(--transition);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto 1.5rem;
  }

  .social-links {
    justify-content: center;
  }

  .footer-info p {
    justify-content: center;
  }
}


@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-text p {
    margin: 0 auto 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
    
  }

  .mobile-toggle {
    display: block;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card-image {
    height: 110px;
  }

  .card-content {
    padding: 10px;
  }

  .card-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
  }

  .card-title h3 {
    font-size: 0.95rem;
    line-height: 1.2;
    margin: 0;
  }

  .price {
    font-size: 0.95rem;
  }

  .card-desc {
    font-size: 0.75rem;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .card:active {
    transform: scale(0.98);
  }

  .card .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    width: 100%;
    margin-top: auto;
  }

  .category-nav {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .cat-link {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}


.cart-fab {
  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(255, 69, 0, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}

.cart-fab:hover {
  transform: scale(1.1) rotate(5deg);
}

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


.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-modal.active {
  display: flex;
  opacity: 1;
}

.cart-content {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.close-cart {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.cart-item-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-small {
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  background: #eee;
}

.cart-total {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.notification {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--secondary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  z-index: 2001;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}


.chat-fab {
  position: fixed;
  bottom: 100px;
  
  right: 30px;
  background: var(--secondary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(29, 53, 87, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}

.chat-fab:hover {
  transform: scale(1.1);
}

.chat-window {
  position: fixed;
  bottom: 170px;
  right: 30px;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.chat-window.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--secondary);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8f9fa;
}

.message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.message.bot {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.message.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-input-area {
  padding: 1rem;
  background: white;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

.chat-input-area input:focus {
  border-color: var(--primary);
}

.chat-send {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send:hover {
  background: var(--primary-dark);
}


.typing {
  display: flex;
  gap: 5px;
  padding: 10px 15px;
  background: white;
  align-self: flex-start;
  border-radius: 15px;
  border-bottom-left-radius: 2px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
  animation-delay: -0.32s;
}

.dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .chat-window {
    width: 90%;
    
    right: 5%;
    bottom: 100px;
    
    height: 60vh;
  }
}


.card-image {
  overflow: hidden;
}
.card-image img {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover .card-image img {
  transform: scale(1.1) rotate(1.5deg);
}
.hero-image img {
  animation: floatingFood 4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes floatingFood {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.02);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}


.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 69, 0, 0.8);
}


.menu-section img {
  cursor: zoom-in;
}

/* --- Dark Mode --- */
body.dark-mode {
  --background: #121212;
  --surface: #1e1e1e;
  --text-main: #f8f9fa;
  --text-light: #adb5bd;
  --shadow-sm: 0 2px 4px rgba(255,255,255,0.02);
  --shadow-md: 0 4px 6px rgba(255,255,255,0.05);
  --shadow-lg: 0 10px 15px rgba(255,255,255,0.05);
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
  color: #fff;
}

body.dark-mode .card,
body.dark-mode .builder-section,
body.dark-mode .summary-card,
body.dark-mode .cart-content {
  background: var(--surface);
  border-color: #333;
}

body.dark-mode input, body.dark-mode select {
    background: #333;
    color: #fff;
    border-color: #444;
}

body.dark-mode .faq-section {
    background: var(--background);
}

body.dark-mode .faq-question {
    background: var(--surface);
    color: #fff;
    border: 1px solid #333;
}

body.dark-mode .faq-question:hover {
    background: #2a2a2a;
}

body.dark-mode .faq-item {
    border-color: #333;
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background-color: var(--success);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  font-family: var(--font-body);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.toast.show {
  transform: translateX(0);
  opacity: 1;
}
