/* =========================
   BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  background: #111;
  color: #f5f1e8;
  line-height: 1.6;
}

/* =========================
   HERO
========================= */
.page-hero {
  min-height: 55vh;
  padding: 20px 6%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(17,17,17,0.95)),
    url("https://images.unsplash.com/photo-1550547660-d9450f859349?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero-content {
  max-width: 760px;
  padding: 60px 0 30px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.hero-content p {
  color: #ddd8cf;
}

/* =========================
   TOP NAV
========================= */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 110px;
}

.logo {
  margin-top: 6px;
  color: #d8b15a;
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}


.return-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.nav-links a {
  color: #1a120d;
  font-size: 0.95rem;
  transition: 0.2s ease;
  text-decoration: none;
}

.return-menu {
  display: inline-block;
  text-decoration: none;
  color: #1a120d;
  background: #d4a25a;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.return-menu:hover {
  background: #e2b777;
  transform: translateY(-1px);
}

.kitchen-message {
  width: fit-content;
  margin: 12px auto;
  text-align: center;
  font-size: 20px;
  font-style: italic;
  color: #d4a14a;
  white-space: nowrap;
}

/* =========================
   STICKY HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, var(--parchment-1), var(--parchment-2));
  border-top: 2px solid rgba(55, 32, 19, 0.65);
  border-bottom: 2px solid rgba(55, 32, 19, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.15), transparent 30%),
    radial-gradient(circle at bottom, rgba(90,60,35,0.12), transparent 40%);
}

.header-inner {
  position: relative;
  width: min(100% - 1rem, 1400px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0.35rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.brand-left,
.top-sign-wrap,
.menu-toggle {
  position: relative;
  z-index: 2;
}

.brand-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0.6rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  color: #f2e2bc;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(to bottom, var(--wood-1), var(--wood-2));
  border: 2px solid #3a2114;
  border-radius: 10px;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.map-link:hover {
  filter: brightness(1.05);
}

.top-sign-wrap {
  justify-self: center;
}

.top-sign {
  position: relative;
  min-width: 230px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  color: #f2e2bc;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(to bottom, #5c3922, #2c180f);
  border: 2px solid #24130b;
  border-radius: 0.35rem;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.top-sign::before,
.top-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 2px;
  background: rgba(127, 88, 49, 0.55);
}

.top-sign::before {
  left: -20px;
}

.top-sign::after {
  right: -20px;
}

.menu-toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: 0.35rem;
  background: linear-gradient(to bottom, #67412a, #3a2215);
  border: 2px solid #3a2114;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: #f1e1bc;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: none;
  width: min(100% - 1rem, 1400px);
  margin: 0 auto;
  padding: 0 0 0.75rem;
}

.site-nav.open {
  display: block;
}

.site-nav a {
  display: block;
  padding: 0.9rem 0.3rem;
  color: #2a170e;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(70, 42, 25, 0.12);
}

/* =========================
   MAIN CONTENT
========================= */
main {
  padding: 60px 6%;
}

.section-heading {
  text-align: center;
  margin-bottom: 35px;
}

.section-heading h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-heading p:last-child {
  color: #c8c8c8;
}

.kitchen-menu {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.kitchen-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.kitchen-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #f3f3f3;
}

.kitchen-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: #c9c9c9;
  font-size: 1.05rem;
  line-height: 1.7;
}

.kitchen-filter-box {
  margin-bottom: 1.5rem;
}

.kitchen-filter-box label {
  display: block;
  margin-bottom: 0.65rem;
  color: #f2f2f2;
  font-size: 1rem;
  font-weight: 700;
}

.kitchen-select {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(207, 141, 67, 0.28);
  border-radius: 18px;
  background: rgba(19, 19, 19, 0.96);
  color: #f4f4f4;
  font-size: 1rem;
  outline: none;
  appearance: auto;
  box-shadow: 0 0 0 1px rgba(255, 153, 51, 0.06);
}

.kitchen-select:focus {
  border-color: #c98742;
  box-shadow: 0 0 0 3px rgba(201, 135, 66, 0.18);
}

.kitchen-items-grid {
  display: grid;
  gap: 1.25rem;
}

/* =========================
   CARDS
========================= */
.kitchen-card {
  position: relative;
  display: block;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.98), rgba(20, 20, 20, 0.98));
  border: 1px solid rgba(255, 153, 51, 0.12);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.kitchen-card.show {
  display: block;
}

.kitchen-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.kitchen-card-top h3,
.kitchen-info h3 {
  margin: 0;
  line-height: 1.2;
}

.kitchen-card-top h3 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.kitchen-card-top span {
  color: #d59a45;
  font-size: 1.25rem;
  font-weight: 800;
  white-space: nowrap;
}

.kitchen-info h3 {
  font-size: 1.4rem;
}

.kitchen-info p {
  margin-top: 6px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.kitchen-card-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.kitchen-info{
  flex: 1;
  min-width: 0;
}

.kitchen-info h3{
  margin: 0;
}

.kitchen-info p{
  margin: 8px 0 0;
}


.price-row{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.menu-order {
  width: 120px;
}



footer {
  text-align: center;
  padding: 24px;
  background: #0c0c0c;
  color: #aaa;
  border-top: 1px solid #222;
}

/* =========================
   Base / global protection
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

/* =========================
   Kitchen layout
========================= */
.kitchen-grid,
.kitchen-items-grid {
  width: 100%;
}

.kitchen-card {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Keep title/desc from running into prices on desktop */
.kitchen-card-top {
  padding-right: 130px;
}

/* Price block */

.price-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.size {
  font-size: 0.9rem;
  opacity: 0.8;
  white-space: nowrap;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #d59a45;
  white-space: nowrap;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.order-actions button {
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: #b7863b;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.order-cart {
  width: min(1100px, 92%);
  margin: 2rem auto 3rem;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.25rem;
}

.order-cart-header,
.summary-row,
.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-items {
  margin: 1rem 0;
}

.cart-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-item-meta {
  margin: 0.35rem 0 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

.remove-cart-item,
#clearCartBtn {
  margin-top: 0.5rem;
  border: none;
  background: transparent;
  color: #d7a35a;
  cursor: pointer;
  font-weight: 600;
}

.checkout-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  background: #d7a35a;
  color: #111;
  font-weight: 800;
  cursor: pointer;
}

.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================
   900px and below
========================= */
@media (max-width: 900px) {
  .kitchen-grid,
  .kitchen-items-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }
}

/* =========================
   768px and below
========================= */
@media (max-width: 768px) {
  .page-hero {
    padding: 2.5rem 1rem 2rem;
    min-height: 360px;
    background-position: center;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-content p {
    max-width: 100%;
    line-height: 1.5;
  }

  .kitchen-menu {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem 2.5rem;
  }

  .kitchen-heading,
  .kitchen-filter-box,
  .kitchen-items-grid {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .kitchen-card {
    border-radius: 22px;
    padding: 1.25rem 1.1rem;
  }

  .kitchen-card-top h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .kitchen-card-top span {
    font-size: 1.05rem;
  }

  .kitchen-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .kitchen-select {
    width: 100%;
    max-width: 100%;
    padding: 14px 42px 14px 14px;
    font-size: 16px;
  }

  .kitchen-message {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
    padding: 0 0.5rem;
  }

  .mobile-break {
    display: block;
  }

  /* Make price area less aggressive on tablet/mobile */
  .kitchen-card-top {
    padding-right: 105px;
  }



  .price {
    font-size: 1.3rem;
  }

  .size {
    font-size: 0.8rem;
  }
}

/* =========================
   600px and below
========================= */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero-content {
    padding-top: 30px;
  }

  /* Biggest fix for phone layout:
     stack prices under title instead of absolute positioning */
  .kitchen-card-top {
    padding-right: 0;
  }


  .price-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .price {
    font-size: 1.15rem;
  }

  .size {
    font-size: 0.8rem;
  }

  .kitchen-card {
    padding: 1rem;
  }

  .kitchen-card-top h3 {
    font-size: 0.98rem;
  }

  .kitchen-card p {
    font-size: 0.88rem;
  }
}

/* =========================
   Very small phones
========================= */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .kitchen-menu {
    padding: 1.25rem 0.8rem 2rem;
  }

  .kitchen-card {
    padding: 0.95rem;
  }

  .kitchen-card-top h3 {
    font-size: 0.92rem;
  }

  .kitchen-card p {
    font-size: 0.84rem;
  }

  .price {
    font-size: 1.05rem;
  }
}

