/* ============================================
   GENERAL STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-orange: #ffa700;
  --btn-primary-color: #fcc50f;
  --dark-blue-text: #002f55;
  --dark-blue: #052347;
  --light-blue: #2c4e82;
  --light-gray: #f5f5f5;
  --text-dark: #1a1a1a;
  --text-light: #666666;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.link {
  color: white;
  text-decoration: none;
}

.highlight {
  color: var(--header-orange);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-filled {
  background-color: var(--btn-primary-color);
  border-color: var(--btn-primary-color);
}

.btn-outline {
  background-color: var(--btn-primary-color);
  color: var(--btn-primary-color);
  border-color: var(--btn-primary-color);
  background: transparent;
}

.btn-outline:hover {
  transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
  color: #fff;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.hero-image {
  width: 591px;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--header-orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--header-orange);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 400px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.our-story {
  background-color: var(--light-gray);
  padding: 5rem 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text .highlight {
  color: var(--dark-blue-text);
}

.story-text h1 {
  color: var(--header-orange);
}

.story-text p {
  font-size: 22px;
  line-height: 1.5;
  color: var(--dark-blue-text);
  margin-bottom: 1.5rem;
}

.story-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  img {
    max-width: 360px;
  }
}

/* ============================================
   OUR MENU SECTION
   ============================================ */
.our-menu {
  background-color: var(--dark-blue);
  color: #fff;
  padding: 5rem 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.menu-header .menu-header-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.menu-header .sub-text {
  font-size: 18px;
  font-weight: 400;
  top: 60px;
}

.menu-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.food-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 28px;
  font-weight: 600;
}

.food-upgrade {
  padding-bottom: 2rem;
}

.food-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
  margin-top: 10px;
}

.food-price {
  position: relative;
  text-align: center;
  color: var(--btn-primary-color);
}

.price-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--btn-primary-color);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: -0.4px;
}

.food-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.food-name {
  color: var(--btn-primary-color);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: -0.48px;
}

.food-name-sub {
  font-style: italic;
}

.bottom-ticks {
  display: flex;
  justify-content: flex-end;
}

.toppings {
  max-width: 333px;
}

.finger-foods-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  gap: 2rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  background-color: var(--light-gray);
  padding: 5rem 0;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;

  h1 {
    color: var(--dark-blue-text);
  }
}

.gallery-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.carousel-nav {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--text-light);
  background-color: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: var(--header-orange);
  border-color: var(--header-orange);
}

.gallery-desc {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.gallery-slider {
  overflow: hidden;
  width: calc(3.5 * (250px + 2rem) - 2rem); /* 3.5 items width minus one gap */
  margin: 0 auto;
}

.slider-container {
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease;
  width: calc(8 * (250px + 2rem) - 2rem); /* 8 items width */
}

.gallery-item {
  flex: 0 0 250px;
  height: 300px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
#testimonials {
  background-color: #fff;
  padding: 5rem 0;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;

  h2 {
    color: var(--dark-blue-text) !important;
  }
}

.testimonials-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.testimonials-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.testimonials-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--header-orange);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: #e6a800;
}

.testimonial-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.testimonial-card {
  background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--header-orange);
  /* transition: transform 0.3s ease; */
}

.stars {
  color: var(--header-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  color: var(--text-light);
  font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #1a4a6f 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 184, 0, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-light);
}

.contact-form button {
  align-self: flex-start;
}

.info {
  display: flex;
  gap: 1rem;
}

#dialog-message {
  color: black;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--dark-blue);
  color: #fff;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--header-orange);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--header-orange);
}


/* ============================================
   DIALOG STYLES
   ============================================ */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dialog-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.dialog-content p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}


/* ============================================
   SPINNER STYLES
   ============================================ */
.spinner {
  border: 3px solid #ffffff;
  border-top: 3px solid #000000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 832px) {
  .burger-4 {
    display: none;
  }

  .toppings {
    margin-top: 3rem;
  }

  .burger-1 {
    display: none;
  }

  .food-item {
    max-width: 90vw;
  }

  .top-ticks {
    display: none;
  }

  .story-image {
    img {
      max-width: 100%;
    }
  }
  .hero-image {
    display: none;
  }

  .container {
    padding: 0 1.5rem;
  }

  .header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-blue);
    flex-direction: column;
    width: 100%;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
  }

  .nav.active {
    max-height: 500px;
  }

  .nav ul {
    width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem 0;
    margin: 0;
  }

  .nav .btn {
    margin: 0 auto 1rem;
    display: block;
    width: fit-content;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .story-content {
    grid-template-columns: 1fr;
  }

  .story-text h2 {
    font-size: 1.8rem;
  }

  .menu-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav {
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .testimonials-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .menu-header h2,
  .gallery-header h2,
  .testimonials-header h2,
  .contact-text h2,
  .story-text h2 {
    font-size: 1.5rem;
  }

  .nav {
    gap: 1rem;
  }

  .nav ul {
    gap: 0.5rem;
  }
}
