:root {
  --primary-color: #ff6600;
  --background-color: #141417;
  --surface-color: #0c0c0f;
  --head-color: #fd1c08;
  --text-color: #e6e6e6;
  --heading-color: #ffffff;
  --border-color: #444444;
  --section-bg: #181818;
}

[data-theme="light"] {
  --background-color: #ffffff;
  --surface-color: #ffffff;
  --text-color: #333333;
  --heading-color: #141417;
  --border-color: #e5e5e5;
  --section-bg: #f8f9fa;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

h1,
h2,
h3,
.section-title h2,
.menu-category h3,
.logo {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  transition: 0.3s ease;
}

body.modal-open {
  padding-right: 0 !important;
}

header {
  background-color: var(--surface-color);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header .logo img {
  max-height: 65px;
  margin-right: 6px;
}

.logo-image {
  width: 50px;
  height: auto;
  display: block;
}

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

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

.logo {
  text-decoration: none;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

nav a:hover {
  color: #fd1c08;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  background: var(--surface-color);
  transition: all 0.3s ease;
  padding: 20px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar.navbar-scrolled {
  background: var(--surface-color);
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-collapse {
  flex-grow: 0;
}

.navbar-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
}

.nav-link:hover {
  color: #d62828;
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 2px 4px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.theme-btn {
  width: 22px;
  height: 22px;

  border: none;
  border-radius: 50%;
  background: transparent;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  color: #888;
  transition: all 0.3s ease;
}

.theme-btn i {
  font-size: 0.8rem;
}

.theme-btn.active {
  background: var(--primary-color);
  color: #fff;
}

.theme-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

[data-theme="dark"] .theme-switcher {
  background: #2b2b2b;
  border-color: #555;
}

[data-theme="dark"] .theme-btn {
  color: #cfcfcf;
}

/* ==================
   Hero Section
================== */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Carousel fills hero */
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  width: 100%;
  height: 100%;
}

.hero-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
}

.hero-text {
  max-width: 700px;
  color: #fff;
}

.hero-text h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-order {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 30px;
  background: linear-gradient(90deg, #fd1c08, #f8c537);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-order:hover {
  transform: translateY(-3px);
}
/* ==================
   Menu Section
================== */

#menu {
  padding: 90px 0;
  background: var(--section-bg);
}

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

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.section-title p {
  opacity: 0.8;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.menu-category {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.menu-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    hsla(5, 98%, 51%, 1) 0%,
    hsla(49, 89%, 61%, 1) 100%
  );
}

.menu-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.menu-category h3 {
  font-family: "Bebas Neue", sans-serif;
  color: var(--heading-color);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0;
}

.menu-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.menu-item span:first-child {
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.4;
}

.menu-item span:last-child {
  color: #fd1c08;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.menu-item small {
  display: block;
  opacity: 0.65;
  font-size: 0.8rem;
  margin-top: 3px;
}

/* ==================
   Menu Order Section
================== */
.menu-order {
  margin-top: 70px;
  text-align: center;
  padding: 45px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.menu-order h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.menu-order p {
  max-width: 650px;
  margin: auto;
  opacity: 0.8;
  line-height: 1.7;
}

.btn-create-order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 38px;
  border-radius: 50px;
  background: linear-gradient(
    90deg,
    hsla(5, 98%, 51%, 1) 0%,
    hsla(49, 89%, 61%, 1) 100%
  );
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-create-order:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 992px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2.4rem;
  }
}

.order-modal {
  background: var(--surface-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

.order-modal .modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 25px 30px;
}

.order-modal .modal-body {
  padding: 30px;
}

.order-modal h2 {
  color: var(--primary-color);
}

.order-modal hr {
  border-color: var(--border-color);
}

/* ==================
   About Section
================== */

#about {
  padding: 80px 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.about-text h3 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-text p {
  line-height: 1.8;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.about-card h4 {
  margin-bottom: 15px;
}

.about-card p {
  line-height: 1.7;
}

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

.about-card li {
  margin-bottom: 10px;
}

.about-card li::before {
  content: "✔";
  color: var(--primary-color);
  margin-right: 8px;
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

/* ==================
   Events Section
================== */

#events {
  padding: 80px 0;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.event-card {
  background: var(--surface-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-card h3 {
  color: var(--head-color);
  margin: 20px 20px 10px;
  font-size: 1.4rem;
}

.event-card small {
  display: block;
  margin: 0 20px;
  color: #777;
}

.event-card p {
  margin: 15px 20px 20px;
  line-height: 1.6;
}

#reviews {
  padding: 80px 0;
  margin-top: 100px;
  background: var(--section-bg);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0 40px;
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-8px);
}

.review-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-bottom: -45px;
  z-index: 2;
}

.review-bubble {
  position: relative;
  width: 100%;
  background: var(--surface-color);
  border-radius: 20px;
  padding: 60px 22px 22px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.review-card:hover .review-bubble {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.review-expand {
  position: absolute;
  top: 18px;
  right: 18px;
}

.review-icon {
  color: var(--primary-color);
  font-size: 16px;
  transition: 0.3s;
}

.review-card:hover .review-icon {
  transform: translate(3px, -3px);
}

.stars {
  font-size: 18px;
  margin-bottom: 15px;
}

.review-bubble p {
  flex: 1;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 20px;
}

.review-bubble h4 {
  margin: 0;
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
}

/* Carousel */

#reviewCarousel {
  overflow: visible;
}

#reviewCarousel .carousel-item {
  padding-bottom: 35px;
}

.carousel-indicators {
  bottom: -45px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #888;
  opacity: 0.5;
  margin: 0 6px;
  transition: 0.3s;
}

.carousel-indicators .active {
  background: var(--primary-color);
  opacity: 1;
  transform: scale(1.2);
}

/* Modal */

#modalReview {
  line-height: 1.8;
}

#modalName {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive */

@media (max-width: 992px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 576px) {
  .review-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-bubble {
    min-height: auto;
  }

  .review-card img {
    width: 80px;
    height: 80px;
    margin-bottom: -40px;
  }
}
#modalReview {
  line-height: 1.8;
}

#modalName {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==================
   Contact Section
================== */

#contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.contact-item h3 {
  margin-bottom: 10px;
  color: #d62828;
}

.contact-item p {
  line-height: 1.6;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
  border-radius: 10px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 25px;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  background: var(--surface-color);
}

.contact-icon {
  width: 50px;
  height: 50px;

  background: transparent;
  border: 2px solid #fff;
  border-radius: 50%;

  color: #fff;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 20px;

  flex-shrink: 0;
}

.contact-info p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .event-list {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 350px;
  }
}

/* ==================
   Footer Section
================== */

footer {
  background: var(--section-bg);
  color: var(--footer-text);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h2,
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 20px;
}

.footer-brand p,
.footer-contact p {
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-social {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  color: var(--footer-text);
  font-size: 1.5rem;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.9rem;
}

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

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

.order-box {
  background: transparent;
  box-shadow: none;
  padding: 0;
  max-width: 100%;
}

.order-item {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.order-item select,
.order-item input {
  flex: 1;
  padding: 12px;
}

.order-item button {
  padding: 12px 20px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

textarea,
input,
select {
  width: 100%;
  margin: 10px 0;
  padding: 12px;

  background: var(--background-color);
  color: var(--text-color);

  border: 1px solid var(--border-color);

  border-radius: 8px;
}

textarea::placeholder,
input::placeholder {
  color: #888;
}

select option {
  background: var(--surface-color);
  color: var(--text-color);
}

#generateOrder,
#copyOrder,
#addItem {
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: 0.3s;
}

#generateOrder,
#addItem {
  background: var(--primary-color);
  color: #fff;
}

#copyOrder {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

#generateOrder:hover,
#copyOrder:hover,
#addItem:hover {
  transform: translateY(-2px);
}

#orderList {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 15px;
  min-height: 70px;
  margin-bottom: 20px;
}

/* ==========================
   PRELOADER
========================== */

#preloader {
  position: fixed;
  inset: 0;
  background: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition:
    opacity 1s ease,
    visibility 1s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

.loader-line {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.loader-line {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.loader-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--primary-color);
  transform-origin: left;
  animation: loading 1.5s linear forwards;
}

@keyframes loading {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}
