:root {
  --primary-color: #ff7a18; /* Orange */
  --secondary-color: #1e88e5; /* Blue */
  --dark-bg: #62422e; /* Dark Brown for Footer (matched to provided swatch) */
  --text-dark: #1f2937;
  --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;
}

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/Home\ screen\ top.png");
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 20px 140px 20px;
  margin: 0 0 0 2rem;
  max-width: 750px;
  gap: 42px;
}
.hero-content h1 {
  color: #fff;
  font-size: 48px;
  font-family: "Inter", sans-serif;
  font-style: "Bold";
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
}
.hero-content .lead {
  color: #fff;
  opacity: 0.95;
  font-size: 32px;
  font-family: "Inter", sans-serif;
  font-style: "Bold";
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-btn {
  padding: 12px 20px;
  border-radius: 8px;
}

/* Search */
.search-section {
  position: relative;
  margin-top: -35px;
  padding-bottom: 20px;
  z-index: 1200;
}
.search-box {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1300;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-box .icon {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-30%);
  width: 80px;
  height: 80px;
}
.search-box input[type="search"] {
  width: 100%;
  padding: 25px 20px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.295);
  font-size: 24px;
  font-family: "Inter", sans-serif;
  font-style: "semi-bold";
  font-weight: 600;
}
.search-box input::placeholder {
  padding-left: 3rem;
  color: var(--text-dark);
}

/* Sections */
.section {
  background: none;
  padding: 110px 0;
}
.section-title {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: "bold";
  margin: 0 0 60px;
  color: #1f2937;
}

/* Grid utilities */
.grid {
  display: grid;
  gap: 60px;
}
.categories-grid {
  grid-template-columns: repeat(3, 1fr);
}
.specials-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
}
.card-media img {
  width: 368px;
  height: 222px;
  object-fit: cover;
  display: block;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-card .card-title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-style: "semi-bold";
  color: #374151;
  padding: 3rem;
}

.chef-specials {
  background-color: #f3f4f6;
  padding: 80px 0;
}

/* 'View All Categories' base (hidden on desktop) */
.view-all-wrapper {
  display: block;
}
.view-all-categories {
  display: none; /* shown only on mobile via media query */
}

.container {
  width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: "bold";
  margin-bottom: 60px;
  color: #1f2937;
}

.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.food-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.card-content h3 {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-style: "semi-bold";
  margin-bottom: 12px;
  color: #1f2937;
}

.card-content p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: "medium";
  color: var(--text-dark);
  line-height: 24px;
  margin-bottom: 24px;
}

.card-below {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price {
  color: #ff7a1a;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: "medium";
}

.card-below button {
  background-color: #ff7a1a;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.card-below button:hover {
  background-color: #e66a0f;
}

/* Promotion */
.promotion {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
}
.promo-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/Home\ screen\ bottom.png");
  background-size: cover;
  background-position: center;
}
.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
}
.promo-content {
  position: relative;
  z-index: 2;
  padding: 40px 40px;
  color: #fff;
  max-width: 770px;
  gap: 70px;
}
.promo-content h2 {
  font-size: 45px;
  font-family: "Inter", sans-serif;
  font-style: "bold";
  font-weight: 800;
  margin: 0 0 12px;
}
.promo-content p {
  font-size: 24px;
  font-family: "Inter", sans-serif;
  font-style: "semi-bold";
  font-weight: 600;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.95);
}

/* --- Footer --- */
.footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 70px 100px 30px;
  font-family: "Poppins", sans-serif;
}

.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;
}

/* ===============================
   MOBILE STYLES (Max width 768px)
================================= */
@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);
  }

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding: 80px 20px 120px 20px;
    margin: 0;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content .lead {
    font-size: 16px;
    font-weight: 500;
  }

  /* Mobile Button */
  .btn-primary {
    padding: 15px 24px;
    width: fit-content;
    display: inline-block;
  }

  /* ================= SEARCH ================= */

  .search-section {
    margin-top: -30px;
    padding-bottom: 10px;
  }

  .search-box {
    padding: 0 9px;
  }

  .search-box .icon {
    top: 70%;
    left: 40px;
    width: 50px;
    height: 90px;
    transform: translateY(-50%);
  }

  .search-box input[type="search"] {
    font-weight: 400;
    font-style: "regular";
    font-size: 16px;
    padding: 16px 16px 16px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  }

  /* Popular categories: stacked cards, image on top, centered text */
  .categories-grid,
  .specials-grid {
    margin-top: -30px;
    grid-template-columns: 1fr;
    gap: 33px;
  }

  .section-title {
    font-weight: 600;
    font-style: "semi-bold";
    font-size: 24px;
  }
  .category-card {
    text-align: center;
    padding: 0;
  }
  .category-card .card-title {
    padding: 14px 0 22px;
    font-size: 15px;
    font-weight: 500;
    font-style: "medium";
  }

  .category-card:nth-child(n + 4) {
    display: none;
  }

  .food-card:nth-child(n + 4) {
    display: none;
  }

  /* Show 'View All Categories' link on mobile */
  .view-all-categories {
    display: inline-block;
    margin-top: 24px;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 16px;
    font-style: "regular";
    text-decoration: none;
  }
  .view-all-wrapper {
    text-align: center;
  }

  /* Chef's specials: one card per row, consistent padding, reduced image height */
  .food-card {
    width: 100%;
    border-radius: 12px;
  }
  .food-card img {
    height: 180px;
    object-fit: cover;
  }
  .card-content {
    padding: 16px;
  }
  .card-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .card-content p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .card-below {
    margin-top: auto;
    gap: 12px;
    padding-top: 8px;
  }
  .price {
    font-size: 16px;
  }
  .card-below button {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
  }

  /* Promotion: full-width bg, left aligned text, reduced sizes */
  .promotion {
    min-height: 100vh;
    padding: 0;
  }
  .promo-bg {
    background-position: center top;
  }
  .promo-content {
    padding: 28px 16px;
    max-width: 350px;
    max-height: 314px;
  }
  .promo-content h2 {
    font-size: 32px;
    font-weight: 700;
    font-style: "bold";
    margin-bottom: 8px;
    line-height: 40px;
  }
  .promo-content p {
    font-size: 20px;
    font-weight: 600;
    font-style: "semi-bold";
    margin-bottom: 16px;
    line-height: 28px;
    letter-spacing: 0.02em;
  }

  .footer {
    display: none;
  }
}
