/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #050509;
  color: #f7f7f7;
  scroll-behavior: smooth;
}

/* ---------- COLOR THEME ---------- */
:root {
  --bg: #050509;
  --bg-alt: #11111a;
  --card: #171723;
  --accent-gold: #f5c76d;
  --accent-wine: #b12c4a;
  --accent-soft: #f08a5d;
  --border-soft: #2d2d3a;
  --text-main: #f8f8ff;
  --text-muted: #b9b9c6;
}

/* ========== FLASH MESSAGE ========== */
.flash-messages {
  position: fixed;
  top: 80px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-gold));
  color: #130b0b;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

/* ---------- GLOBAL ---------- */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: #f4f6f9;
    color: #333;
}

h2 {
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ---------- CART TABLE ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th {
    background: #ff6b35;
    color: white;
    padding: 12px;
    font-size: 15px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

table tr:hover {
    background: #f9f9f9;
}

/* ---------- TOTAL ---------- */
.total {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

/* ---------- BUTTONS ---------- */
button {
    background: #ff6b35;
    border: none;
    color: white;
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #e65a2a;
}

/* ---------- CHECKOUT FORM ---------- */
form {
    margin-top: 20px;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #ff6b35;
}

/* ---------- PAYMENT ---------- */
.pay-btn {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    font-weight: bold;
    background: #0d6efd;
    border-radius: 8px;
}

.pay-btn:hover {
    background: #084298;
}

/* ---------- EMPTY CART ---------- */
.empty-cart {
    text-align: center;
    font-size: 18px;
    color: #777;
    padding: 40px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
    table th, table td {
        font-size: 13px;
        padding: 8px;
    }

    button {
        width: 100%;
        margin-top: 10px;
    }

    .total {
        text-align: center;
    }
}


/* ========== NAVBAR ========== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 9, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 199, 109, 0.15);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  position: relative;
  padding-bottom: 4px;
}

nav h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}

ul.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  font-size: 15px;
}

ul.nav-links li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
  transition: 0.2s ease;
}

ul.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.25s ease;
}

ul.nav-links li a:hover {
  color: var(--accent-gold);
}

ul.nav-links li a:hover::after {
  width: 100%;
}

/* Navbar buttons (Login / Signup) */
.nav-buttons {
  display: flex;
  gap: 10px;
}

.nav-buttons button {
  border-radius: 999px;
  border: 1px solid var(--accent-gold);
  background: transparent;
  color: var(--accent-gold);
  padding: 7px 18px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease;
}

.nav-buttons button:hover {
  background: var(--accent-gold);
  color: #130b0b;
}

/* hamburger for mobile */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
}

/* ========== HERO / VIDEO SECTION ========== */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.video-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  font-size: 52px;
  font-weight: 700;
  color: var(--text-main);
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

/* ========== ABOUT SECTION ========== */
.about-section {
  max-width: 1150px;
  margin: 70px auto 80px;
  padding: 40px 30px 50px;
  background: var(--bg-alt);
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.about-text {
  background: radial-gradient(circle at top, rgba(177, 44, 74, 0.18), transparent 60%),
              radial-gradient(circle at bottom, rgba(245, 199, 109, 0.12), transparent 55%);
  border-radius: 20px;
  padding: 30px;
  line-height: 1.8;
  color: var(--text-muted);
}

.about-text h2 {
  text-align: center;
  font-size: 34px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 18px;
  color: var(--accent-gold);
}

.about-text p {
  font-size: 16px;
}

/* ========== MENU SECTION ========== */
.menu-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 10px 20px 80px;
}

.menu-heading {
  text-align: center;
  font-size: 36px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--accent-gold);
}

.menu-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-wine), var(--accent-gold));
  margin: 14px auto 0;
}

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

.item {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(245, 199, 109, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.item:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  border-color: rgba(245, 199, 109, 0.45);
}

.item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.item h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 18px 0 6px;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

/* price text under heading (if you use span.price) */
.item .price {
  font-size: 16px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

/* floating price badge (optional) */
.price-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 5, 9, 0.8);
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid rgba(245, 199, 109, 0.6);
  font-size: 14px;
  color: var(--accent-gold);
}

/* Order button */
.item button {
  margin-top: 12px;
  margin-bottom: 20px;
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-gold));
  color: #130b0b;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 40px 30px 45px;
  background: var(--bg-alt);
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  text-align: center;
}

.contact-section h2 {
  font-size: 32px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.contact-section p {
  max-width: 650px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: var(--text-muted);
}

.contact-section .social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-section .social-icons a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  color: var(--accent-gold);
  border: 1px solid rgba(245, 199, 109, 0.4);
  background: radial-gradient(circle at top, rgba(177, 44, 74, 0.35), #14141f);
  transition: 0.2s;
}

.contact-section .social-icons a:hover {
  transform: translateY(-3px);
}


/* ========== FOOTER ========== */
footer {
  padding: 18px 20px 24px;
  background: #030307;
  border-top: 1px solid rgba(245, 199, 109, 0.15);
  text-align: center;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
}

footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

footer ul li a:hover {
  color: var(--accent-gold);
}

.h p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== ADMIN LOGIN ========== */
.admin-login-container {
  max-width: 380px;
  margin: 80px auto;
  padding: 30px 28px 32px;
  background: var(--bg-alt);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.admin-login-container h2 {
  color: var(--accent-gold);
  font-size: 24px;
  margin-bottom: 18px;
}

.admin-login-container input {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #10101a;
  color: var(--text-main);
  outline: none;
  font-size: 14px;
}

.admin-login-container input:focus {
  border-color: var(--accent-gold);
}

.admin-login-container button {
  width: 100%;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-gold));
  color: #130b0b;
  font-weight: 600;
}

.back-to-home {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--accent-gold);
  text-decoration: none;
}

/* ========== ADMIN DASHBOARD ========== */
body.admin-dashboard {
  background: var(--bg);
  color: var(--text-main);
  padding: 20px;
}

.admin-dashboard h1 {
  text-align: center;
  margin-bottom: 18px;
  color: var(--accent-gold);
}

.admin-dashboard h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  color: var(--accent-soft);
}
.admin-dashboard tr:hover{
  color: white;
  background-color:black;
}
.admin-dashboard table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-alt);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 30px;
}

.admin-dashboard th,
.admin-dashboard td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}

.admin-dashboard th {
  background: #1c1c29;
  color: var(--accent-gold);
}

/* action buttons */
.admin-dashboard button {
  border-radius: 999px;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

/* ========== MODALS (Login / Signup / Order) ========== */
.modal,
.modals {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 9, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1500;
}

.modal-content{
  background: var(--bg-alt);
  border-radius: 22px;
  border: 1px solid rgba(245, 199, 109, 0.3);
  margin: 7% auto;
  max-width: 420px;
  margin-top: 35px;
  width: 90%;
  height: 300px;
  padding: 26px 24px 28px;
  position: relative;
}

.modal-contents {
  background: var(--bg-alt);
  border-radius: 22px;
  border: 1px solid rgba(245, 199, 109, 0.3);
  margin: 7% auto;
  max-width: 420px;
  width: 90%;
  height: 480px;
  padding: 26px 24px 28px;
  position: relative;
}


.modal h2,
.modals h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal input,
.modal textarea,
.modals input,
.modals textarea {
  width: 100%;
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #10101a;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
}

.modal input:focus,
.modal textarea:focus,
.modals input:focus,
.modals textarea:focus {
  border-color: var(--accent-gold);
}

.modal button,
.modals button {
  width: 100%;
  margin-top: 16px;
  padding: 11px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-gold));
  color: #130b0b;
  font-weight: 600;
}

.close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 24px;
  cursor: pointer;
}

/* Switch between login / signup link */
.switch-form {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  nav {
    padding: 10px 18px;
  }
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  .hamburger {
    display: block;
    color: var(--accent-gold);
    font-size: 26px;
    cursor: pointer;
  }

  ul.nav-links,
  .nav-buttons {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding-bottom: 10px;
  }

  .nav-toggle:checked ~ ul.nav-links,
  .nav-toggle:checked ~ .nav-buttons {
    display: flex;
  }

  .video-text {
    font-size: 32px;
  }

  .about-section,
  .contact-section {
    margin: 50px 12px;
    padding: 26px 16px 30px;
  }
}

@media (max-width: 480px) {
  nav h1 {
    font-size: 24px;
  }

  .menu-heading {
    font-size: 28px;
  }

  .item img {
    height: 190px;
  }
}
.video-container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: url("") center/cover no-repeat;
  filter: brightness(0.45);
  background: url("../image/backimage.jpg") center/cover no-repeat;

}

.video-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* dark overlay */
  z-index: 1;
}

.video-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: #f8f8ff;
  z-index: 2;
  text-shadow: 0 0 14px rgba(0,0,0,0.9);
}

.reviews-section {
  max-width: 1100px;
  margin: 70px auto;
  text-align: center;
  color: var(--accent-gold);
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.review-card {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(245,199,109,0.25);
  color: var(--text-muted);
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.review-card h3 {
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.review-rating {
  margin-top: 8px;
  color: var(--accent-gold);
  font-weight: bold;
}

.review-btn {
  margin-top: 24px;
  padding: 10px 25px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-gold));
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.search-box {
  margin-left: 20px;
}

#searchInput {
  padding: 6px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #FF6347;
  background-color: #222;
  color: white;
  outline: none;
}

#searchInput:focus {
  border-color: #f88d01;
  box-shadow: 0px 0px 6px rgba(255, 87, 34, .7);
}
.track-title {
  text-align: center;
  font-size: 35px;
  color: #FF6347;
  margin-top: 40px;
  margin-bottom: 25px;
}

.order-track-card {
  background: #111;
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin: 15px auto;
  width: 80%;
  box-shadow: 0 0 12px rgba(255,99,71,0.4);
}

.status-bar {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 30px;
}

.dot {
  opacity: 0.4;
  transition: 0.3s ease;
}

.dot.active {
  opacity: 1;
  transform: scale(1.4);
}
/* Status Button Style */
.status-form {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.status-btn {
  border: none;
  font-size: 20px;
  padding: 7px;
  border-radius: 50%;
  cursor: pointer;
  background: #222;
  transition: 0.3s;
}

.status-btn:hover {
  transform: scale(1.3);
}

.status-btn.preparing { color: #ffeb3b; }
.status-btn.onroute { color: #ff9800; }
.status-btn.delivered { color: #4caf50; }

/* Delete button icon */
.delete-btn {
  background: transparent;
  font-size: 20px;
  border: none;
  cursor: pointer;
  color: #e74c3c;
}

.delete-btn:hover {
  transform: scale(1.2);
}

table {
  width: 95%;
  margin: auto;
  background: #111;
  color: #eee;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}

th {
  background: #222;
  padding: 10px;
  color: #ffa733;
}

td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #333;
}
.qty-btn {
  background: #222;
  color: #eee;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.qty-btn:hover {
  background: #444;
}
.box:hover {
  background: #333;
}
.menu_section {
max-width:500px; 
margin:4px auto; 
padding:20px; 
border:1px solid #ddd; 
border-radius:8px;
background-color:rgb(218, 113, 113);
}

/* ================= PAYMENT PAGE ================= */

/* ================= PAYMENT PAGE ================= */

.payment-page {
    background: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;   /* better than fixed height */
    font-family: Arial, sans-serif;
}

.payment-container {
    text-align: center;
}

/* TITLE */
.payment-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

/* QR / SUCCESS CARD */
.qr-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    width: 320px;
    margin: 0 auto 20px auto;
    transition: 0.3s ease;
}

/* SUCCESS BOX STYLE */
.success-box {
    background-color: #d4edda;
    border: 2px solid #28a745;
}

/* QR IMAGE */
.qr-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* TEXT STYLES */
.upi-text {
    font-size: 14px;
    margin-bottom: 8px;
}

.note-text {
    font-size: 12px;
    color: gray;
}

/* PAYMENT BUTTON */
.paid-btn {
    padding: 10px 20px;
    background-color: #ff7a3d;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
}

.paid-btn:hover {
    background-color: #e8682c;
}

/* SUCCESS BUTTONS */
.home-btn {
    margin: 8px;
    padding: 8px 15px;
    border: none;
    background: #ff7a3d;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.home-btn:hover {
    background: #e8682c;
}