:root {
  --primary-color: #ff7a18; /* Orange */
  --secondary-color: #1e88e5; /* Blue */
  --dark-bg: #62422e; /* Dark Brown for Footer (matched to provided swatch) */
  --text-dark: #4b5563;
  --text-light: #ffffff;
  --text-grey: #1f2937;
  --bg-light-grey: #ffffff;
  --bg-light-peach: #fff7ed;
  --border-light: #f3f4f6;
  --radius: 10px;
  --container-width: 1320px;
}

/* Scroll-to-top button */
.scroll-top {
  right: 60px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  background: #0aa3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.scroll-top img {
  width: 52px;
  height: 52px;
  display: block;
}
.scroll-top:hover {
  transform: translateY(-4px);
  opacity: 0.95;
}

@media (max-width: 767px) {
  .scroll-top {
    right: 20px;
    bottom: 20px;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background: var(--bg);
  color: #111827;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
}
.logo {
  font-family: "Island Moments", cursive;
  font-weight: 400;
  font-size: 40.81px;
  font-style: "regular";
  color: var(--primary-color);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: flex;
  gap: 15rem;
}
.main-nav a {
  text-decoration: none;
  color: #374151;
  padding: 8px 0;
  font-family: "Inter", sans-serif;
  font-style: "medium";
  font-weight: 500;
  font-size: 16px;
}
.main-nav a.active {
  color: var(--primary-color);
}
.header-cta .btn {
  margin-left: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
}

.btn-secondary {
  background: var(--primary-color);
  color: #fff;
  padding: 0.9rem 3rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-style: "semi-bold";
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary-color);
  color: #fff;
  padding: 15px 196px 15px 196px;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-style: "semi-bold";
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.btn-primary:hover {
  background: #e56810; /* Darker shade of primary color */
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #111;
  display: block;
}

.food-details {
  background: #f3f4f6;
}

.food-details-container {
  display: flex;
  gap: 3rem;
  max-width: 1680px;
  padding: 0;
}

/* LEFT IMAGE */
.food-image {
  width: 50%;
}

.food-image img {
  width: 800px;
  height: 100%;
  object-fit: cover;
}

/* RIGHT PANEL */
.food-info {
  top: 20px;
  background: #ffffff;
  padding: 2rem;
  border-radius: 4px;
  position: relative;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #000;
  color: #fff;
  border: none;
  width: 40px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
}

/* Title */
.food-info h1 {
  font-size: 32px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  font-style: "bold";
  line-height: 1.2;
  color: #000;
  margin-bottom: 0.5rem;
}

.food-info .price {
  font-size: 24px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-style: "semi-bold";
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.description {
  font-size: 16px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  font-style: "regular";
  line-height: 1.3;
  color: #000000;
  margin-bottom: 3rem;
  padding: 0 3rem 0 0;
}

/* Meta Info */
.food-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 0 0 1rem;
  font-size: 16px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  font-style: "regular";
  line-height: 1.6;
  color: var(--text-dark);
}

.food-meta a {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Icon used in food-meta items */
.food-meta .meta-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Option Groups */
.option-group {
  margin-bottom: 2rem;
}

.option-group h3 {
  margin-bottom: 1rem;
  font-size: 24px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  font-style: "medium";
  line-height: 1.2;
  color: #000;
}

/* Option Items */
.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #bdbdbd;
  padding: 5px 11px;
  border-radius: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.option-item input {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 2px solid #e5e7eb;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
}

/* Radio specific */
.option-item input[type="radio"] {
  border-radius: 50%;
  border-width: 6px;
  border-color: var(--primary-color);
  background: #fff;
}

/* Checkbox specific */
.option-item input[type="checkbox"] {
  border-radius: 8px;
}
.option-item input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}

/* Focus ring */
.option-item input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.12);
}

.option-item span {
  flex: 1;
  margin-left: 10px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  font-style: "regular";
  line-height: 1.2;
  color: #000;
}

.option-item small {
  font-size: 16px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  font-style: "regular";
  line-height: 1.2;
  color: #000;
}

/* Instructions */
.instructions h3 {
  margin-bottom: 1rem;
  font-size: 24px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  font-style: "medium";
  line-height: 1.2;
  color: #000;
}

.instructions textarea {
  width: 100%;
  height: 120px;
  padding: 1rem;
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  resize: none;
  font-size: 16px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  font-style: "medium";
  line-height: 1.2;
  color: #000;
}

.instructions textarea::placeholder {
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  font-style: "medium";
}

/* --- Footer --- */
.footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 70px 100px 30px; /* Keep original padding */
  position: relative;
  z-index: 40;
  font-family: "Poppins", sans-serif;
  z-index: 1000;
}

.footer-container {
  font-family: "Jost", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-size: 1.55rem;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-col.brand p {
  font-family: "Jost", sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  font-style: medium;
  line-height: 1.6;
  color: #f5f5f5;
  width: 65%;
}

.footer-col p {
  font-size: 15px;
  line-height: 2.5;
  color: #f5f5f5;
}
.footer-col li {
  font-size: 15px;
  line-height: 1.8;
  color: #f5f5f5;
}

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

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

.footer-col a {
  text-decoration: none;
  color: #f5f5f5;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #ffd9b3;
}

.brand .logo {
  font-family: "Island Moments", cursive;
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--primary-color); /* orange logo color */
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 14px;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  /* Container */
  .container {
    max-width: 100%;
    padding: 0 16px;
  }

  /* Header */
  .header-inner {
    padding: 1rem 1.5rem;
  }

  .logo {
    font-size: 24px;
  }

  .main-nav {
    display: none; /* hide desktop nav */
  }

  .header-cta {
    display: none; /* hide desktop button */
  }

  .menu-toggle {
    display: flex; /* show hamburger */
  }
  /* Style for the cloned CTA inside the mobile nav */
  .main-nav .nav-cta {
    padding: 8px 12px;
  }
  .main-nav .nav-cta .header-cta,
  .main-nav .nav-cta .btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .main-nav .nav-cta .btn {
    padding: 12px 16px;
    border-radius: 8px;
  }

  /* Mobile nav dropdown (becomes visible when JS sets display:block) */
  .main-nav {
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.12);
    z-index: 2000;
    padding: 12px 8px;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
  }

  .main-nav a:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  /* =========================
   FOOD DETAILS MOBILE
========================= */

  .food-details-container {
    flex-direction: column;
    gap: 0;
  }

  .food-image {
    width: 100%;
  }

  .food-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .food-info {
    width: 100%;
    position: absolute;
    top: 380px;
    padding: 1.5rem;
    border-radius: 0;
  }

  /* Close button smaller */
  .close-btn {
    width: 30px;
    height: 20px;
    font-size: 10px;
  }

  /* Title */
  .food-info h1 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 22px;
    font-weight: 600;
    font-style: "semi-bold";
    line-height: 1.3;
  }

  /* Price */
  .food-info .price {
    font-size: 24px;
    font-weight: 600;
    font-style: "semi-bold";
  }

  /* Description */
  .description {
    padding: 0;
    margin-bottom: 2rem;
    font-size: 14px;
    line-height: 1.5;
  }

  /* Meta stacks */
  .food-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    font-size: 14px;
  }

  /* Option Groups */
  .option-group h3 {
    font-size: 18px;
  }

  /* Option Items tighter */
  .option-item {
    padding: 10px 12px;
  }

  .option-item input {
    width: 24px;
    height: 24px;
  }

  .option-item span,
  .option-item small {
    font-size: 14px;
  }

  /* Instructions */
  .instructions h3 {
    font-size: 18px;
  }

  .instructions textarea {
    height: 100px;
    font-size: 14px;
  }

  .footer {
    display: none;
  }
}
