
:root {
  --amber: #f59e0b;
  --dark: #18181b;
  --gray: #27272a;
  --accent-green: #27ae60;
  --danger-red: #e74c3c;
}

/* Global */


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--dark);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
/* =========================
   HERO HEADER WITH BACKGROUND IMAGE + LOGO
   ========================= */

.hero-header {
  position: relative;
  width: 100%;
  height: 260px;
  background-image: url('../assets/images/img2.png'); /* CHANGE THIS PER RESTAURANT */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 2rem;
  text-align: center;
  color: white;
}

/* Dark overlay so text remains readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1.5px);
  z-index: 1;
}

/* Logo in top-left */
.hero-logo {
  position: absolute;
  top: 20px;
  left: 20px;

  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;

  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  z-index: 2;
}

/* Text content centered */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 900;
}

.hero-tagline {
  margin-top: 0.4rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .hero-header {
    height: 220px;
    padding: 1.5rem;
  }

  .hero-logo {
    width: 62px;
    height: 62px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }
}


.page-header {
  background: var(--amber);
  padding: 2rem;
  text-align: center;
  color: #000;
}

.page-header h1 {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 900;
}

.hero-subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* Main layout */

main {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 1rem;
  padding-bottom: 100px; /* space for floating cart */
}

.menu-title {
  text-align: center;
  margin: 2rem 0 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--amber);
}

/* Accordion */

section {
  margin-bottom: 2rem;
}

.accordion {
  width: 100%;
  background: transparent;
  color: var(--amber);
  border: none;
  border-bottom: 3px solid var(--amber);
  padding: 1.5rem 0;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-size: 1.6rem;
}

.panel {
  transition: all 0.2s ease;
}

.hidden {
  display: none;
}

/* Menu grid + items */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.item {
  background: var(--gray);
  padding: 1rem;
  border-radius: 12px;
  position: relative;
}

.price {
  font-weight: bold;
  color: var(--amber);
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

.desc {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0.5rem 0 0;
}

/* Special layout for main item with image */

.item-main-layout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.item-main-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.item-main-text {
  flex: 1;
}

/* Quantity controls inside each item */

.item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.item-qty-btn {
  width: 36px;
  height: 36px;
  background: #444;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.item-qty-count {
  min-width: 40px;
  text-align: center;
  font-weight: bold;
}

/* Floating cart button */

#floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#floating-cart-btn {
  background: var(--amber);
  color: black;
  font-weight: bold;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  font-size: 16px;
  cursor: pointer;
}

#cart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  border-radius: 50%;
  min-width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: bold;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart modal */

#cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #000000dd;
  backdrop-filter: blur(10px);
  align-items: flex-end;
  justify-content: center;
  z-index: 999;
}

.cart-modal-inner {
  background: #18181b;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 20px 20px 0 0;
  padding: 1.5rem;
  overflow-y: auto;
}

.cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-modal-header h3 {
  margin: 0;
  font-size: 1.6rem;
}

.cart-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Cart rows */

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #444;
}

.cart-row-main {
  flex: 1;
}

.cart-row-main-title {
  font-weight: 600;
}

.cart-row-main-meta {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cart-row-qty {
  display: flex;
  gap: 10px;
  align-items: center;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.qty-btn.minus {
  background: var(--danger-red);
}

.qty-btn.plus {
  background: var(--accent-green);
}

/* Empty cart message */

.cart-empty {
  text-align: center;
  padding: 2rem;
  opacity: 0.6;
}

/* Cart summary */

.cart-summary {
  text-align: center;
  padding-top: 1rem;
  border-top: 2px solid #444;
}

.cart-summary-line {
  font-size: 1.5rem;
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

/* Send via WhatsApp button */

.send-btn {
  background: var(--amber);
  color: black;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  width: 100%;
  cursor: pointer;
}

/* Lunch banner */

#lunch-banner {
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.lunch-banner-active {
  background: rgba(245, 158, 11, 0.12); /* soft amber glow */
  border: 1px solid rgba(245, 158, 11, 0.7);
  color: var(--amber);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lunch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

/* Lunch section emphasis when active */

#lunch-section.lunch-active .accordion {
  border-bottom-color: var(--amber);
  color: #fff;
  position: relative;
}

#lunch-section.lunch-active .accordion::after {
  content: "Recommended";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  background: var(--amber);
  color: #000;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

/* Slightly mute other sections during lunch */

body.lunch-time section:not(#lunch-section) .accordion {
  opacity: 0.75;
}

.site-footer {
  background: #111;
  padding: 1.3rem 0;
  text-align: center;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #bbb;
  font-size: 0.9rem;
}

.footer-logo {
  height: 75px;              /* Larger and more visible */
  opacity: 1;                /* Full visibility */
  filter: brightness(1.15);  /* Boost brightness for dark backgrounds */
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-logo:hover {
  transform: scale(1.08);
  filter: brightness(1.3);
}


.footer-link {
  display: inline-flex;
  align-items: center;
}


/* Small screens */

@media (max-width: 600px) {
  .page-header h1 {
    font-size: 2.4rem;
  }

  .menu-title {
    font-size: 1.8rem;
  }
}



