/* --- Original theme & layout (kept mostly as you had) --- */
body {
  background: repeating-linear-gradient(135deg, #f7ecd9 0 30px, #f2e1c0 30px 60px);
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  margin: 0;
  padding: 0;
}

.menu-book {
  max-width: 430px;
  margin: 42px auto;
  background: #fffbe9;
  border: 5px solid #ceb290;
  border-radius: 24px;
  box-shadow: 0 6px 30px rgba(80, 50, 10, .15);
  padding-bottom: 32px;
  overflow: hidden;
}

/* keep list-based menu style (so your existing UI remains) */
.menu-list {
  display: none;
  /* hidden by default */
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-section.active .menu-list {
  display: block;
  /* show when active */
}

.menu-headline {
  cursor: pointer;
  user-select: none;
  padding: 10px;
  background: #eee;
  margin: 0;
  border: 1px solid #ccc;
  font-family: 'Cinzel', serif;
  font-size: 1.28rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(to right, #f7deaf 60%, #edc987 100%);
  margin: 0;
  padding: 14px 18px 8px 14px;
  color: #b78532;
  border-left: 8px solid #f2c77e;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 6px #f5e1bd4d;
}

.menu-headline::after {
  content: " +";
  float: right;
}

.menu-section.active .menu-headline::after {
  content: " -";
}

/* menu-item rows (name + price inline) */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px 13px 23px;
  border-bottom: 1px dashed #d4b381;
  font-size: 1.09rem;
  cursor: pointer;
  background: linear-gradient(90deg, #fff7e1 80%, #f6e5cb 100%);
  position: relative;
  transition: background 0.16s;
}

.menu-item:last-child {
  border: none;
}

.menu-item:hover {
  background: #f8ead3;
}

.menu-item-name {
  color: #9c7137;
  font-family: 'Georgia', serif;
  font-weight: bold;
  max-width: 65%;
}

.menu-item-price {
  color: #a87e3a;
  font-family: 'Cinzel', serif;
  font-size: 1.08rem;
  font-weight: 700;
  float: right;
}

/* Modal styling (kept) */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(68, 43, 9, 0.26);
}

.modal-content {
  background: #fffbe8;
  margin: 58px auto;
  padding: 22px 15px 16px 15px;
  border-radius: 18px;
  width: 98%;
  max-width: 370px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 38px rgba(81, 65, 10, 0.18);
  border: 3px solid #f2c77e;
}

.close {
  color: #bea66a;
  position: absolute;
  right: 23px;
  top: 19px;
  font-size: 33px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.1s;
}

.close:hover {
  color: #a88439;
}

#modal-img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 15px;
  margin: 13px 0 14px 0;
  box-shadow: 0 2px 18px #d9b5791a;
}

#modal-title {
  color: #b78532;
  font-size: 1.26rem;
  font-family: 'Cinzel', serif;
  margin-bottom: .05em;
}

#modal-desc {
  color: #81623c;
  font-size: 1.04rem;
  font-style: italic;
  margin-bottom: 4px;
}

#modal-ingredients {
  padding-left: 1.2em;
  color: #9c7c53;
  text-align: left;
  font-size: 1rem;
}

#modal-price {
  color: #ad943d;
  margin-top: 15px;
  font-size: 1.13rem;
}

.menu-tip {
  font-style: italic;
  color: #7a6247;
  background: #f5e4b8;
  border-left: 5px solid #c4a45c;
  padding: 8px 12px;
  margin: 20px 14px 5px 14px;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  max-width: 400px;
  box-shadow: 2px 2px 8px #d6c491aa;
}

/* header & footer (keep original look; added header-logo) */
header {
  background: linear-gradient(90deg, #e2c799 0%, #cfb691 100%);
  padding: 28px 14px 12px 14px;
  text-align: center;
  border-bottom: 3px solid #bfa570;
}

header h1 {
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: 1.5px;
  color: #a8772a;
}

.subtitle {
  margin-top: 6px;
  color: #81623c;
  font-size: 1rem;
  font-style: italic;
}

.header-logo {
  max-height: 68px;
  display: block;
  margin: 0 auto 10px;
  object-fit: contain;
}

.menu-section {
  margin: 35px 0 12px 0;
}

/* ===== Sticky footer layout ===== */
html,
body {
  height: 100%;
  margin: 0;
}

/* make the page a column flex container so footer can be pushed down */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* keep your existing background; if you re-declare it here, keep same value */
  /* background: repeating-linear-gradient(...); */
  box-sizing: border-box;
}

/* allow main views to take available space so footer sits at bottom */
.landing-screen,
.menu-book {
  flex: 1 0 auto;
  /* grow/shrink, but don't force footer offscreen */
  box-sizing: border-box;
}


/* Landing screen: center content and prevent it from causing page scroll */
.landing-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  /* keep your padding, box-sizing avoids overflow */
  overflow: hidden;
  /* prevent landing screen itself from producing scrollbars */
  text-align: center;
}

/* ===== Footer (sticky at bottom when content short) ===== */
.site-footer {
  margin-top: auto;
  /* pushes footer to bottom in a column flex layout */
  background: #e2c799;
  color: #5a4422;
  text-align: center;
  padding: 18px 12px;
  border-top: 3px solid #bfa570;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
  /* position: static / relative is default — do not use fixed if you want sticky behavior */
}

.site-footer a {
  color: #5a4422;
  text-decoration: none;
  font-weight: 600;
}


.contact-info {
  margin-top: 8px;
  font-size: 0.9rem;
}

.credit {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #7a5a33;
  font-style: italic;
}

/* Landing screen styles (new small additions) */
.landing-screen {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  text-align: center;
}

.landing-screen img#landingLogo {
  max-width: 200px;
  height: auto;
  margin-bottom: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ===== Language Toggle Button ===== */
#langToggle {
  /* position: fixed;          stays visible on screen */
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background-color: #a8772a;
  /* accent color */
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#langToggle:hover {
  background-color: #a8772a;
  /* slightly darker on hover */
  transform: translateY(-2px);
}

#langToggle:active {
  transform: translateY(0);
}

/* ===== Lively Blinking / Colorful Button ===== */
.btn-primary {
  margin-top: 12px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(270deg, #ff4c2c, #ffbe0b, #3a86ff, #8338ec, #ff006e);
  background-size: 1000% 1000%;
  animation: colorFlow 5s linear infinite, glowPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: scale(1.1) rotate(-1deg);
}

.btn-primary:active {
  transform: scale(0.98);
}

.landing-description,
.landing-highlights {
  max-width: 600px;
  margin: 16px auto;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.landing-highlights {
  font-weight: 500;
  color: #5a3d1e;
  margin-top: 10px;
}

.landing-footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #777;
}



#landingTitle {
  font-family: 'Playfair Display', 'Georgia', serif;
  /* Elegant font */
  font-size: 2.6rem;
  font-weight: 700;
  color: #5a3d1e;
  /* Warm premium brown */
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: capitalize;

  /* Subtle shadow for depth */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);

  /* Optional spacing */
  margin-top: 18px;
}

/* ===== Search Bar Styles ===== */
#menuSearch {
  padding: 10px 14px;
  width: 70%;
  max-width: 320px;
  border-radius: 20px;
  background-color: 2px solid #b78532;
  background-color: #fffbe9;
  font-size: 1rem;
  color: #5a4422;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  outline: none;
  transition: all 0.3s ease;
}

#searchWrapper {
  margin: 10px 14px;      /* reduce top/bottom space */
  text-align: center;
}

#menuSearch {
  width: 100%;
  max-width: 400px;       /* constrain width for mobile */
  padding: 6px 10px;      /* smaller padding */
  font-size: 0.95rem;
  border: 2px solid #b78532;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
}

#menuSearch:focus {
  border-color: #a8772a;
  box-shadow: 0 0 5px rgba(168, 124, 58, 0.6);
}



/* Smooth rainbow movement */
@keyframes colorFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Soft glowing pulse */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.7);
  }
}


/* small screens tweaks */
@media (max-width: 490px) {
  .menu-book {
    max-width: 100vw;
    border-radius: 0;
    border-width: 2px;
  }

  .modal-content {
    margin: 40px auto;
  }

  .menu-item {
    padding-right: 13px;
  }

  header h1 {
    font-size: 1.6rem;
  }
}

.social-links {
  margin-top: 10px;
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #e1306c;
  font-weight: bold;
  font-size: 1rem;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}







/* ===== Diwali Splash Screen ===== */
.diwali-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #ffb347, #ffcc33, #ff6600);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 0.8s ease 1.8s forwards;
}

.diwali-text {
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 0 20px #ff0, 0 0 40px #ff6600;
  font-weight: bold;
  margin-bottom: 20px;
  animation: pulse 1s infinite alternate;
}

/* Cracker sparks */
.crackers {
  position: relative;
}

.spark {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  animation: explode 1.5s ease-out infinite;
}

.spark:nth-child(1) { animation-delay: 0s; }
.spark:nth-child(2) { animation-delay: 0.3s; }
.spark:nth-child(3) { animation-delay: 0.6s; }

@keyframes explode {
  0% { transform: scale(0) translateY(0); opacity: 1; }
  50% { transform: scale(1.5) translateY(-50px); opacity: 0.8; }
  100% { transform: scale(0) translateY(0); opacity: 0; }
}

@keyframes pulse {
  0% { transform: scale(1); text-shadow: 0 0 20px #fff, 0 0 40px #ff6600; }
  100% { transform: scale(1.2); text-shadow: 0 0 30px #ff6600, 0 0 60px #fff; }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}


/* Menu header ad spacing */
.menu-book header ins.adsbygoogle {
  margin: 10px 0;
  /* space above and below the ad */
  max-width: 100%;
  /* ensure it fits the header */
}

/* Optional: keep header content visually tight */
.menu-book header h1,
.menu-book header p,
.menu-book header button {
  margin: 5px 0;
  /* reduce extra spacing */
}

/* Make ad responsive on mobile */
@media (max-width: 600px) {
  .menu-book header ins.adsbygoogle {
    margin: 8px 0;
  }
}