html {
  scroll-behavior: smooth;
}

:root {
  --koolstoof-brown-dark: #3E2723;
  --koolstoof-brown: #6D4C41;
  --koolstoof-brown-light: #A1887F;
  --koolstoof-cream: #F5F1EA;
  --koolstoof-black: #1A1A1A;
  --koolstoof-white: #FFFFFF;
}

body {
  background-color: var(--koolstoof-cream);
  background-image: url('https://images.unsplash.com/photo-1506968430777-bf7784a87f23?w=1600&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--koolstoof-black);
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.content-card {
  background-color: var(--koolstoof-cream);
  border-radius: 0.75rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  /* Narrower than the page so the background photo shows on both sides, even on phones. */
  max-width: 1000px;
  width: calc(100% - 1.5rem);
  padding: 1.25rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .content-card {
    width: calc(100% - 4rem);
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--koolstoof-brown-dark);
}

.navbar {
  background-color: var(--koolstoof-brown-dark) !important;
}
.navbar .navbar-brand,
.navbar .nav-link {
  color: var(--koolstoof-white) !important;
}
.navbar .nav-link:hover {
  color: var(--koolstoof-brown-light) !important;
}

/* The phone menu button must stay visible against the dark header. */
.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}
.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.btn-primary {
  background-color: var(--koolstoof-brown);
  border-color: var(--koolstoof-brown);
  color: var(--koolstoof-white);
}
.btn-primary:hover {
  background-color: var(--koolstoof-brown-dark);
  border-color: var(--koolstoof-brown-dark);
  color: var(--koolstoof-white);
}

footer.footer {
  background-color: var(--koolstoof-brown-dark);
  color: var(--koolstoof-white) !important;
}
footer.footer a {
  color: var(--koolstoof-white) !important;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--koolstoof-brown-dark);
  color: var(--koolstoof-white);
  padding: 4rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-carousel {
  z-index: 0;
}
.hero-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 15, 12, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}

.location-section {
  margin-bottom: 3rem;
}

.card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.15);
  overflow: hidden;
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(62, 39, 35, 0.22);
}
.card .list-group-item {
  border-left: none;
  border-right: none;
  padding: 0.9rem 1.1rem;
  transition: background-color 0.15s ease-in-out;
}
.card .list-group-item:hover {
  background-color: rgba(161, 136, 127, 0.12);
}

.category-hero {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 65%);
}
.category-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.category-hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.category-hero-btn {
  border-color: #FFFFFF;
  color: #FFFFFF;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
}
.category-hero-btn:hover {
  background-color: #FFFFFF;
  color: var(--koolstoof-brown-dark);
}

.order-lane {
  background-color: var(--koolstoof-cream);
  border: 1px solid var(--koolstoof-brown-light);
  border-radius: 0.5rem;
  padding: 1rem;
  height: 100%;
}
.order-lane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--koolstoof-brown-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.admin-login-body {
  background-color: var(--koolstoof-brown-dark);
  background-image: none;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.admin-login-card {
  background-color: var(--koolstoof-white);
  border-radius: 0.5rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  margin: 1rem;
}
.location-map {
  border: 1px solid var(--koolstoof-brown-light);
  border-radius: 0.5rem;
  overflow: hidden;
}
.hero-logo {
  display: block;
  height: 90px;
  margin: 0 auto 1rem;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--koolstoof-brown-light);
  color: var(--koolstoof-brown-light);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.hero-title {
  color: var(--koolstoof-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-subtitle {
  color: var(--koolstoof-brown-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-actions .btn {
  margin: 0 0.5rem;
}
.btn-outline-light {
  border-color: var(--koolstoof-white);
}

.info-strip {
  background-color: var(--koolstoof-white);
  border: 1px solid var(--koolstoof-brown-light);
  border-radius: 0.5rem;
  padding: 2rem 1rem;
  margin-bottom: 3rem;
}

.section-eyebrow {
  color: var(--koolstoof-brown);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.section-title {
  margin-bottom: 2rem;
}

/* Room below each home-page section so the button at its foot isn't crowding the next one. */
.menu-teaser {
  margin-bottom: 3.5rem;
}
.menu-teaser > .text-center {
  margin-top: 0.5rem;
}

/* Stacks with a gap on phones instead of the two buttons touching. */
.location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.menu-teaser-card {
  background-color: var(--koolstoof-white);
  border: 1px solid var(--koolstoof-brown-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  height: 100%;
}
.menu-teaser-card .price {
  color: var(--koolstoof-brown);
  font-weight: 700;
}

.closing-cta {
  background-color: var(--koolstoof-brown-dark);
  color: var(--koolstoof-white);
  padding: 3rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.closing-cta h2 {
  color: var(--koolstoof-white);
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.cart-floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--koolstoof-brown-dark);
  color: var(--koolstoof-white);
  padding: 0.75rem 1rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
  z-index: 1040;
}
.cart-floating-bar span {
  font-weight: 600;
}

.qty-adjuster {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.qty-adjuster form {
  display: inline;
}
.qty-adjuster .btn {
  line-height: 1;
  padding: 0.15rem 0.55rem;
}

.whatsapp-float-btn {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1050;
  transition: transform 0.15s ease-in-out;
}
.whatsapp-float-btn:hover {
  color: #FFFFFF;
  transform: scale(1.08);
}
/* Sauce / side choices on an item, and the summary of what was picked on cart and order lines. */
.item-options {
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  background-color: var(--koolstoof-cream);
  border-radius: 0.4rem;
}
.item-options legend {
  float: none;
  width: auto;
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--koolstoof-brown);
}
.line-choices {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Tighter tables on phones so cart and order lines fit inside the card. */
@media (max-width: 575.98px) {
  .content-card .table > :not(caption) > * > * {
    padding: 0.4rem 0.3rem;
  }
  .content-card .table {
    font-size: 0.9rem;
  }
}
