html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #b71c1c;
  color: white;
  padding: 20px 10px;
  text-align: center;
  position: relative;   /* Yeh line zaroori hai */
  z-index: 1002;        /* Z-index high rakhein */
}

header img {
  height: 100px;
  width: auto;
  margin-bottom: 10px;
  border-radius: 12px;
  box-shadow: none;
}

h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: clamp(1.1rem, 5vw, 2.2rem); /* Responsive font size */
  white-space: nowrap; /* Ek hi line me rakhe */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

nav a:hover,
nav a:focus {
  background-color: #7f1212;
  outline: none;
}

.order-button {
  background-color: #ffb300;
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: inline-block;
}

.order-button:hover,
.order-button:focus {
  background: #ff9800;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255,152,0,0.18);
  text-decoration: none;
}

main {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px 40px;
}

h2 {
  color: #b71c1c;
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-bottom: 3px solid #b71c1c;
  padding-bottom: 6px;
}

section {
  margin-bottom: 40px;
  background: #fff8f8;
  padding: 20px 25px;
  border-radius: 12px;
  scroll-margin-top: 160px;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
  font-weight: 600;
  color: #551010;
}

a.contact-link {
  color: #b71c1c;
  font-weight: 700;
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px 10px;
  background-color: #f8d7da;
  color: #333;
  font-size: 14px;
}

.delivery-banner {
  background: #ffe082;
  color: #333;
  text-align: center;
  padding: 14px 0;
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 2px solid #ffb300;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}

.delivery-slide {
  display: none;
  transition: opacity 0.5s;
  font-weight: bold;
  font-size: 1.1em;
}

.delivery-slide.active {
  display: block;
  opacity: 1;
}

.slideshow-container {
  position: relative;
  max-width: 700px;
  margin: 30px auto 10px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: #fff;
}
.slide {
  display: none;
}
.slide img {
  width: 100%;
  border-radius: 10px;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  border-radius: 0 3px 3px 0;
  background: rgba(0,0,0,0.3);
  user-select: none;
  transition: background 0.2s;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
  background: rgba(0,0,0,0.6);
}
.fade {
  animation: fade 0.8s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}
.active, .dot:hover {
  background-color: #ffb300;
}

/* Side navigation styles */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2001; /* header se zyada */
  top: 0;
  left: 0;
  background-color: #fff8f8;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 110px; /* header ki height ke barabar */
  box-shadow: 2px 0 12px rgba(0,0,0,0.08);
}
.sidenav a {
  padding: 12px 32px;
  text-decoration: none;
  font-size: 1.2em;
  color: #b71c1c;
  display: block;
  transition: 0.2s;
  border-bottom: 1px solid #ffe082;
}
.sidenav a.order-button {
  background: #ffb300;
  color: #fff;
  margin: 12px 24px;
  border-radius: 4px;
  text-align: center;
  border-bottom: none;
}
.sidenav a:hover, .sidenav a.order-button:hover {
  background: #ffecb3;
  color: #b71c1c;
}

/* Remove or comment out the closebtn styles if you want to clean up */
/*
.sidenav .closebtn {
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 2em;
  color: #b71c1c;
  background: none;
  border: none;
  cursor: pointer;
}
*/

/* Burger menu icon styling - always visible */
.burger {
  font-size: 2.2em;
  cursor: pointer;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 2000;           /* Z-index high rakhein */
  color: #fff;             /* White color for dark header */
  background: #b71c1c;     /* Thoda background bhi de sakte hain */
  border-radius: 6px;
  padding: 4px 10px;
  border: 2px solid #fff;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Hide nav menu if you want only burger menu on all screens */
nav ul {
  display: none;
}

.main-action-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  background: #fff8f8;
  padding: 14px 0 10px 0;
  border-bottom: 2px solid #ffe082;
  z-index: 1001;
  position: relative;
}

.main-action-btn {
  background: none;
  color: #b71c1c;
  font-weight: 700;
  border: 2px solid #b71c1c;
  border-radius: 30px;
  padding: 8px 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-size: 1em;
  margin: 2px 0;
  display: inline-block;
}

.main-action-btn:hover,
.main-action-btn:focus {
  background: #b71c1c;
  color: #fff;
  outline: none;
}

.main-action-btn.order-button {
  background: #ffb300;
  color: #fff;
  border: 2px solid #ffb300;
}

.main-action-btn.order-button:hover,
.main-action-btn.order-button:focus {
  background: #ff9800;
  border-color: #ff9800;
  color: #fff;
}

@media (max-width: 600px) {
  .delivery-banner {
    font-size: 1em;
    padding: 10px 4px;
    min-height: 38px;
  }
  .delivery-slide {
    font-size: 1em;
    padding: 0 2px;
  }
}

@media (max-width: 700px) {
  nav ul,
  .main-action-bar {
    display: none !important;
  }
  .mobile-sticky-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #232323;
    border-top: 2px solid #ffb300;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.13);
    z-index: 4000;
    padding: 0 2px 4px 2px;
    height: 52px;
    gap: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-x: hidden;
  }
  .mobile-sticky-bar .sticky-btn {
    flex: 1 1 0;
    margin: 0 2px;
    padding: 4px 0 0 0;          /* Thoda upar se space */
    background: #fff;
    color: #b71c1c !important;
    font-weight: 700;
    font-size: 0.82em;
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(183,28,28,0.08);
    text-decoration: none;
    transition: 
      background 0.13s, 
      color 0.13s, 
      box-shadow 0.13s, 
      transform 0.11s;
    min-width: 0;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 44px;                /* Thoda height badha dein */
    flex-direction: column;      /* Add this line */
    justify-content: flex-start; /* Icon upar, text niche */
  }
  .mobile-sticky-bar .sticky-btn .btn-icon {
    font-size: 1.55em;            /* Icon aur bada */
    margin: 0 0 0 0;              /* Niche ka margin hata dein */
    line-height: 1;
    display: block;
  }
  .mobile-sticky-bar .sticky-btn.order-btn {
    background: #ffb300;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255,179,0,0.13);
  }
  .mobile-sticky-bar .sticky-btn:active,
  .mobile-sticky-bar .sticky-btn:focus,
  .mobile-sticky-bar .sticky-btn:hover {
    background: #ffe082;
    color: #b71c1c !important;
    outline: none;
    box-shadow: 0 2px 12px rgba(183,28,28,0.13);
    transform: scale(1.04);
  }
  .mobile-sticky-bar .sticky-btn.order-btn:active,
  .mobile-sticky-bar .sticky-btn.order-btn:focus,
  .mobile-sticky-bar .sticky-btn.order-btn:hover {
    background: #ff9800;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(255,179,0,0.18);
    transform: scale(1.05);
  }
  body {
    padding-bottom: 58px;
  }
}

/* Thoda aur compact for very small screens */
@media (max-width: 400px) {
  .main-action-btn, .main-action-btn.order-button, .order-button {
    font-size: 0.93em;
    padding: 6px 0;
  }
  .burger {
    font-size: 1.3em;
    padding: 1px 5px;
    top: 10px;
    right: 7px;
  }
}

.sidenav-logo {
  text-align: center;
  margin-bottom: 18px;
  margin-top: -80px; /* header ki padding adjust karne ke liye */
}

.sidenav-logo img {
  height: 70px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(183,28,28,0.08);
  background: #fff;
  margin: 0 auto;
  display: block;
}

/* WhatsApp Floating Button */
.wa-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 80px; /* Pehle 24px tha, ab 80px */
  right: 24px;
  z-index: 9999;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.wa-float img {
  width: 32px;
  height: 32px;
}
.wa-float:hover {
  box-shadow: 0 8px 32px rgba(37,211,102,0.25);
  background: #1ebe5d;
}
@media (max-width: 600px) {
  .wa-float {
    width: 48px;
    height: 48px;
    bottom: 80px; /* Mobile par bhi upar rahe */
    right: 16px;
  }
  .wa-float img {
    width: 28px;
    height: 28px;
  }
}

/* Responsive form and sections */
.franchise-enquiry form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}
.franchise-enquiry input,
.franchise-enquiry textarea,
.franchise-enquiry button {
  font-size: 1rem;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.franchise-enquiry textarea {
  min-height: 80px;
  resize: vertical;
}
.franchise-enquiry button {
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.franchise-enquiry button:hover {
  background: #1ebe5d;
}
@media (max-width: 600px) {
  main, section {
    padding: 12px 6px !important;
  }
  h1, h2 {
    font-size: 1.2rem !important;
  }
  .franchise-enquiry form {
    max-width: 100%;
  }
}
