/* =========================================================
   GLOBAL VARIABLES
   ========================================================= */
:root {
  --bg: #ffffff;
  --muted: #6b7280;
  --text: #111827;
  --accent: #ff5a1f;
  --accent2: #ff3b6f;
  --header: #0f1724;
  --card-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
  --max-width: 1100px;
  --radius: 10px;
}

/* =========================================================
   GLOBAL
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: auto;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
  background: var(--header);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

nav {
  display: flex;
  gap: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.2s;
}

nav a:hover,
nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--accent);
}

/* ORDER BUTTON */
.order-btn {
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
}

.order-btn:hover {
  transform: translateY(-2px);
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  justify-content: space-around;
  background: #0f1724;
  padding: 8px 0;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* =========================================================
   HERO SECTION (HOME)
   ========================================================= */
.hero {
  min-height: 60vh;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  position: relative;
}

.hero-inner {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  width: 90%;
}

.hero-left {
  flex: 0.55;
  color: #fff;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0;
}

.hero-sub {
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.hero-features {
  list-style: none;
  margin-top: 16px;
  display: flex;
  gap: 16px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* HERO FOOD CARDS */
.food-cards {
  display: flex;
  gap: 14px;
}

.food-card {
  width: 140px;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
  transition: 0.28s;
}

.food-card:hover {
  transform: translateY(-8px) scale(1.04);
}

.card-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}

/* =========================================================
   FEATURES STRIP
   ========================================================= */
.features-strip {
  background: linear-gradient(90deg, #fff5ee, #fff3f6);
  padding: 14px 0;
  border-top: 1px solid #fff1e8;
  border-bottom: 1px solid #fff1e8;
}

.features-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.feature {
  text-align: center;
  flex: 1;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 32px 0;
  text-align: center;
  max-width: 800px;
  margin: auto;
  color: var(--muted);
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--card-shadow);
}

.preview .grid img {
  height: 90px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  padding: 30px 0;
  text-align: center;
}

.testi-wrap {
  max-width: 800px;
  margin: auto;
  min-height: 70px;
}

.testi {
  font-style: italic;
  color: var(--muted);
}

/* =========================================================
   MENU PAGE
   ========================================================= */
.menu-hero {
  padding: 28px 0;
  background: #fff9f4;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.download-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.menu-list {
  padding: 30px 0;
}

.menu-category h3 {
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  margin-bottom: 10px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: var(--card-shadow);
}

.menu-item img {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.price {
  font-weight: 800;
}

/* =========================================================
   FLOATING ORDER BUTTONS
   ========================================================= */
.floating-order {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  flex-direction: column;
  z-index: 1200;
}

.floating-order button {
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.floating-s { background: var(--accent); }
.floating-z { background: var(--accent2); }

/* =========================================================
   BANQUET PAGE
   ========================================================= */
.banquet-hero {
  padding: 34px 0;
  background: #fff7f0;
  text-align: center;
}

.banquet-info {
  display: flex;
  gap: 22px;
  padding: 30px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-grid img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-hero {
  text-align: center;
  padding: 30px 0;
  background: #fbfbfe;
  border-bottom: 1px solid #eee;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  padding: 30px 0;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  border: none;
}

.contact-card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

.simple-form input,
.simple-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.simple-form button {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================================
   FIXED POPUP SYSTEM (SWIGGY/ZOMATO)
   ========================================================= */
.popup-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity .2s ease;
}

.popup-bg.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 320px;
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  transform: translate(-50%, -45%) scale(.95);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 2100;
}

.popup-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.popup-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.popup-swiggy,
.popup-zomato {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}

.popup-swiggy { background: var(--accent); }
.popup-zomato { background: var(--accent2); }

.popup-close {
  padding: 6px 10px;
  background: #eee;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  text-align: center;
  background: var(--header);
  color: #fff;
  padding: 20px 0;
  margin-top: 40px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .food-cards {
    justify-content: center;
  }
  .banquet-info {
    flex-direction: column;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
  .menu-item {
    flex-direction: column;
    text-align: left;
  }
  .menu-item img {
    width: 100%;
    height: 150px;
  }
}

/* ===== Chat widget styles (append) ===== */
.open-chat-btn{
  position:fixed;
  right:18px;
  bottom:18px;
  background:var(--accent);
  color:#fff;
  border:none;
  padding:12px 14px;
  border-radius:12px;
  font-weight:800;
  z-index:1400;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
}

.chat-widget{
  display:flex;
  flex-direction:column;
  position:fixed;
  right:18px;
  bottom:18px;
  width:320px;
  max-height:520px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,0.18);
  z-index:1500;
  overflow:hidden;
  pointer-events:auto;
}

.chat-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  color:#fff;
  font-weight:800;
}

.chat-messages{
  padding:12px;
  overflow:auto;
  flex:1;
  background:#fbfbfd;
}

.chat-bubble{
  max-width:86%;
  margin:8px 0;
  padding:8px 10px;
  border-radius:8px;
  font-size:14px;
}

.chat-bubble.user{ background:var(--accent); color:#fff; margin-left:auto; border-bottom-right-radius:2px; }
.chat-bubble.rest{ background:#eef2f6; color:#111; margin-right:auto; }

.chat-input-row{
  display:flex;
  gap:8px;
  padding:10px;
  border-top:1px solid #eee;
  background:#fff;
}

.chat-input-row input{
  flex:1;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid #ddd;
  font-size:14px;
}

.chat-input-row button{
  padding:8px 10px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}

.chat-actions{
  display:flex;
  gap:8px;
  padding:10px;
  justify-content:space-between;
  border-top:1px solid #f0f0f5;
  background:#fafafa;
}

.chat-actions button{
  flex:1;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  font-weight:700;
}

/* Ensure on small screens the chat is narrower */
@media (max-width: 480px){
  .chat-widget{ width:92%; right:4%; bottom:12px; }
  .open-chat-btn{ right:10px; bottom:10px; }
}