:root {
  --primary: #ff4d1c;
  --primary-dark: #d13a0f;
  --bg: #000;
  --bg-dark: #181818;
  --text: #fff;
  --text-light: #fff;
  --accent: #f7f7f7;
  --font-main: 'Poppins', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
  position: relative;
}
body::before {
  display: none;
}
main, header, footer, .navbar, .features, .about-container, .contact-container, .delivery-details {
  position: relative;
  z-index: 1;
}
body.explore-theme {
  background: var(--bg);
}
body.explore-theme::before {
  display: none;
}
@media (max-width: 700px) {
  body {
    background: var(--bg);
  }
}

header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  background: #000 !important;
  position: static;
  top: unset;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0;
}

.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  background: transparent !important;
  box-sizing: border-box;
}

.navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  min-width: 0;
}

.navbar-logo img {
  width: 60px;
  height: auto;
}

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

.nav-links li {
  display: inline-block;
}

.nav-link {
  color: var(--text-light) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s ease-out;
  z-index: 1;
}

.nav-link::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 77, 28, 0.2); /* Transparent primary color */
  border-radius: 4px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform-origin: left;
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text) !important;
}

.nav-link::after {
  content: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.phone-link {
  color: var(--text-light) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn {
  background: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
}

.btn:hover, .btn:focus {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.04);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
}

main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 0 1rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: #000 url('img/back.jpg') center/cover no-repeat; /* Fallback */
  border-radius: 24px;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.hero .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-content {
  text-align: center;
  background: none;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
}

.hero-content h1, .hero-content .hero-desc, h2, h3, h4, h5, p {
  background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-content h1, .hero-content .hero-desc {
  text-shadow: 0 2px 8px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.25);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--text-light);
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

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

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.btn-cta {
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  font-weight: 700;
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(255,77,28,0.08);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover, .btn-cta:focus {
  background: var(--primary-dark);
  transform: scale(1.07);
  box-shadow: 0 4px 18px rgba(255,77,28,0.18);
}

.features {
  margin: 3rem 0 2rem 0;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.features-list li {
  background: var(--accent);
  border-radius: 14px;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  color: #333;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.features-list li i {
  color: var(--primary);
  font-size: 1.5rem;
}

.features-list li:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 4px 16px rgba(255,77,28,0.08);
}

.about {
  margin: 3rem 0 2rem 0;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  background: var(--accent);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
}

.about-block {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
}

.about-block h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-block ul {
  list-style: none;
  padding: 0;
}

.about-block ul li {
  margin-bottom: 0.7rem;
}

.about-block ul li a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

.about-block ul li a:hover {
  color: var(--primary);
}

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

.social-links a {
  color: var(--primary);
  font-size: 1.3rem;
  transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
  color: var(--primary-dark);
  transform: scale(1.15);
}

address {
  font-style: normal;
  color: #555;
  font-size: 1rem;
}

footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 1.2rem 1rem 0.7rem 1rem;
  text-align: center;
  border-radius: 18px 18px 0 0;
  margin-top: 3rem;
}

.footer-content p {
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}

.footer-content a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-social {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.footer-social a {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: var(--primary);
  transform: scale(1.15);
}

#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,77,28,0.12);
  z-index: 200;
  transition: background 0.2s, transform 0.2s;
}

#scrollToTop:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

/* Responsive Styles */
@media (max-width: 900px) {
  .navbar-inner {
    padding: 1rem 1.2rem;
  }
}
@media (max-width: 700px) {
  .navbar-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 0.5rem;
    gap: 0.7rem;
  }
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .features-list {
    flex-direction: column;
    gap: 1rem;
  }
  .about-container {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
  }
  main {
    padding: 1rem 0.2rem 0 0.2rem;
  }
}

/* Dark mode (optional, can be toggled with a class on body) */
body.dark-mode {
  --bg: #181818;
  --text: #f7f7f7;
  --accent: #232323;
  --bg-dark: #111;
}

/* Menu Cards Section */
.menu-cards {
  margin: 2.5rem 0;
}
.menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.menu-card {
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  max-width: 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 1rem 1.5rem 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.menu-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 4px 16px rgba(255,77,28,0.08);
}
.menu-img {
  width: 100%;
  max-width: 160px;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.menu-info h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.menu-info p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.menu-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 1rem;
  gap: 0.7rem;
}
.menu-price {
  color: var(--primary-dark);
  font-weight: 700;
}
.menu-cat {
  color: #666;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
@media (max-width: 700px) {
  .menu-grid {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .menu-card {
    max-width: 95vw;
    min-width: 0;
  }
}

/* Contact Page Styles */
.contact-section {
  margin: 3rem 0 2rem 0;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  background: var(--accent);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
}
.contact-form {
  flex: 1 1 320px;
  max-width: 400px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
  resize: none;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
.form-message {
  margin-top: 0.5rem;
  font-size: 1rem;
  min-height: 1.2em;
}
.contact-info {
  flex: 1 1 220px;
  max-width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: flex-start;
}
.contact-info h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.contact-info p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info .social-links {
  margin-top: 0.7rem;
}
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
    align-items: center;
  }
  .contact-form, .contact-info {
    max-width: 95vw;
  }
}

/* Explore Page Unique Theme */
body.explore-theme {
  background: var(--bg);
}

#explore-hero {
  position: relative;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1; /* Adjust for readability */
}

.hero-content {
  position: relative;
  z-index: 1;
  /* Optionally add background or text-shadow for readability */
}

.explore-cards {
  background: rgba(255, 236, 210, 0.5);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 2px 16px rgba(252,182,159,0.10);
}

.explore-cards .menu-card {
  border: 2px solid #fcb69f;
  box-shadow: 0 4px 24px rgba(252,182,159,0.13);
  background: #fff9f4;
  transition: border 0.2s, box-shadow 0.2s, transform 0.2s;
}

.explore-cards .menu-card:hover {
  border: 2.5px solid #ff4d1c;
  box-shadow: 0 8px 32px rgba(255,77,28,0.13);
  background: #fff3e6;
  transform: translateY(-6px) scale(1.04);
}

/* Make sure explore page is responsive */
@media (max-width: 700px) {
  .explore-cards {
    padding: 1.2rem 0.5rem;
  }
}

/* Delivery Page Custom Alignment */
#delivery-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.delivery-options-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}
.menu-grid {
  justify-content: center;
}
.menu-card {
  align-items: center;
  text-align: center;
}
.menu-card .btn-cta {
  margin-top: 0.7rem;
  width: 100%;
  max-width: 180px;
}
.delivery-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2rem auto;
  max-width: 500px;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
}
#deliveryForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
#deliveryForm .form-group {
  width: 100%;
}
#deliveryForm input {
  width: 100%;
}
#deliveryForm .btn-cta {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}
.map-container {
  width: 100%;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 700px) {
  .delivery-details {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
  .delivery-options-cards {
    flex-direction: column;
    gap: 1.2rem;
  }
  .menu-card {
    max-width: 95vw;
  }
  .map-container iframe {
    height: 180px;
  }
}

/* Navbar for Explore page */
body.explore-theme .navbar {
  background: #000 !important;
}

/* Ensure nav-link and icons remain readable */
.nav-link, .navbar-actions .btn, .phone-link {
  color: #fff !important;
}
.nav-link.active, .nav-link:hover {
  color: #ffe3e3 !important;
}

/* Hide the dark mode/theme toggle button */
button.btn[style*="left: 2rem"] {
  display: none !important;
}

.cart-link {
  position: relative;
  color: #fff !important;
  font-size: 1.4rem;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}
.cart-link:hover {
  color: #ffe3e3 !important;
}
.cart-badge {
  position: absolute;
  top: -7px;
  right: -13px;
  background: #ff4d1c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  pointer-events: none;
}

/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 4rem 1rem;
    border-radius: 24px;
    margin-bottom: 2.5rem;
}

.about-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.about-story, .about-chefs {
    margin-bottom: 3rem;
    text-align: center;
}

.about-story img {
    max-width: 100%;
    border-radius: 18px;
    margin-top: 1.5rem;
}

.chefs-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.chef-card {
    background: var(--bg-dark);
    border-radius: 18px;
    padding: 1.5rem;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.chef-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.chef-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}