/* ==========================================
   1. FONTS & GLOBAL RESET
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Segoe+UI:wght@400;600;700&family=Press+Start+2P&display=swap');

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

::selection {
  background-color: #c6ece9;
  color: #333;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fdfaf6;
  color: #333;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================
   2. HERO SECTION & NAVBAR
   ========================================== */
.hero-section {
  background: linear-gradient(rgba(102, 0, 0, 0.88), rgba(70, 0, 0, 0.88)),
              url('pics/hero-bg.webp') center/cover no-repeat;
  color: #fff;
  padding: 20px 8%;
  min-height: 85vh;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: hsl(43, 100%, 51%);
}

.hamburger-btn {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: #ffb703;
  cursor: pointer;
  padding: 5px;
  z-index: 1005;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #ffb703;
}

/* Base Buttons */
.btn-admin {
  background-color: #d90429;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-admin:hover {
  background-color: #ef233c;
}

.btn-main, .btn-checkout {
  background-color: #ffb703;
  color: #000;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-main:hover, .btn-checkout:hover:not(:disabled) {
  background-color: #ffa800;
  transform: translateY(-2px);
}

.btn-checkout:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* RGB Direct Contact Button */
.btn-rgb-contact {
  position: relative;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #111;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s;
}

.btn-rgb-contact::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bfb, #7a00ff, #ff00c8, #ff0000);
  background-size: 400%;
  border-radius: 10px;
  z-index: -1;
  animation: rgbGlow 12s linear infinite;
}

.btn-rgb-contact:hover {
  transform: scale(1.04);
}

@keyframes rgbGlow {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

/* WhatsApp Icon Styling */
.whatsapp-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.btn-rgb-contact:hover .whatsapp-icon {
  transform: rotate(12deg) scale(1.1);
}

/* Hero Content */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}

.hero-text h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 65px;
  margin: 10px 0 -15px 0;
  background: linear-gradient(to bottom, #ffe600 0%, #d4af37 50%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.tagline {
  font-size: 17px;
  font-weight: bolder;
  margin-bottom: 20px;
}

/* Uncle Card & Canvas Layering */
.hero-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.uncle-canvas-box {
  position: relative;
  width: 280px;
  height: 280px;
  border: 5px solid #cd0c0c;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 18px rgba(205, 12, 12, 0.5);
}

.uncle-canvas-box:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 22px rgba(205, 12, 12, 0.65);
}

.uncle-canvas-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#eyeCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ==========================================
   3. DISHES SECTION & CARTS
   ========================================== */
.dishes-section {
  padding: 60px 8%;
  text-align: center;
}

.dishes-section h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 30px;
  width: 100%;
}

.dish-card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  filter: grayscale(80%);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dish-card:hover {
  filter: grayscale(0%);
  transform: translateY(-5px);
}

.dish-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.qty-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.qty-controls button {
  width: 32px;
  height: 32px;
  font-weight: bold;
  border: 1px solid #ccc;
  background: #f8f9fa;
  cursor: pointer;
  border-radius: 4px;
}

.cart-bar {
  margin-top: 40px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================
   4. MODALS & ADMIN VERIFY BUTTON
   ========================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}

.modal-content label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
  text-align: left;
}

.modal-content input, .modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Admin Verify Passkey Button */
#verifyAdminBtn, .btn-verify {
  width: 100%;
  margin-top: 15px;
  background-color: #2b2d42;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#verifyAdminBtn:hover, .btn-verify:hover {
  background-color: #d90429;
}

/* ==========================================
   5. CONTACT & BICYCLE ANIMATION FOOTER
   ========================================== */
.contact-section {
  padding: 60px 8%;
  text-align: center;
  background-color: #f1f1f1;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-section {
  background: #111;
  color: #fff;
  padding: 40px 8% 20px;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Bicycle Loop Animation */
.footer-animation-track {
  width: 100%;
  height: 50px;
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  border-top: 1px dashed #444;
}

.looping-cycle-img {
  height: 40px;
  width: auto;
  position: absolute;
  bottom: 2px;
  left: -60px;
  animation: bicycleDrive 10s linear infinite;
}

@keyframes bicycleDrive {
  0% { left: -60px; }
  100% { left: 100%; }
}
/* Container Box */
.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

 /* --- Base Tab Container --- */
.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
 }

/* Base style for all admin tab buttons */
.admin-tab-btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

/* =========================================
   1. PENDING ORDERS BUTTON (First Tab)
   ========================================= */
.admin-tab-btn:nth-child(1) {
  background-color: #fff3cd; /* Soft Yellow */
  color: #856404;
  border-color: #ffeeba;
}

.admin-tab-btn:nth-child(1):hover {
  background-color: #ffe8a1;
}

/* Jab Pending Tab ACTIVE ho */
.admin-tab-btn:nth-child(1).active {
  background-color: #ffc107; /* Bright Yellow/Amber */
  color: #000;
  border-color: #d39e00;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

/* =========================================
   2. COMPLETED / DONE ORDERS BUTTON (Second Tab)
   ========================================= */
.admin-tab-btn:nth-child(2) {
  background-color: #d4edda; /* Soft Green */
  color: #155724;
  border-color: #c3e6cb;
}

.admin-tab-btn:nth-child(2):hover {
  background-color: #c3e6cb;
}

/* Jab Completed Tab ACTIVE ho */
.admin-tab-btn:nth-child(2).active {
  background-color: #2b9348; /* Darker Green */
  color: #ffffff;
  border-color: #1e6b33;
  box-shadow: 0 4px 10px rgba(43, 147, 72, 0.3);
}

/* =========================================
   3. MANAGE & ADD DISH BUTTON (Third Tab)
   ========================================= */
.admin-tab-btn:nth-child(3) {
  background-color: #ef5c37; /* Neutral Dark/Gray */
  color: #cc920a;
  border-color: #ef5c37;
}

.admin-tab-btn:nth-child(3):hover {
  background-color: #e27e65;
}

/* Jab Add Dish Tab ACTIVE ho */
.admin-tab-btn:nth-child(3).active {
  background-color: #8d2f0c; /* Deep Blue / Theme Dark */
  color: #c4a30e;
  border-color: #b94d04;
  box-shadow: 0 4px 10px rgba(224, 143, 4, 0.3);
}

/* =========================================
   4. ADD DISH TO MENU (Form Submit Button)
   ========================================= */
#addDishBtn {
  background-color: #841313; /* Vibrant Coral / Red */
  color: #dc970c;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#addDishBtn:hover {
  background-color: #19db20;
  color: white;
}

#addDishBtn:active {
  transform: scale(0.98);

}
#pending-img {
  size: 4px;
}
/* Image ka size aur control */
.tab-img {
  width: 18px;        /* Image ki width yahan se control karein */
  height: 18px;       /* Image ki height yahan se control karein */
  object-fit: contain; /* Image stretch/kharab nahi hogi */
}

/* ==========================================
   6. RESPONSIVE MEDIA QUERIES (MOBILE ONLY)
   ========================================== */
@media screen and (max-width: 768px) {

  .hamburger-btn {
    display: block !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100vh;
    background-color: #1a1a1a;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.6);
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 25px 25px 25px;
    gap: 20px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-links.active {
    left: 0 !important;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
  }

  h1, h2, h3 {
    margin-top: 15px !important;
    margin-bottom: 20px !important;
  }

  .hero-section {
    padding: 15px 5%;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    margin-top: 20px;
  }

  .hero-text h1 {
    font-size: 42px;
    margin-bottom: 10px !important;
  }

  .tagline {
    margin-bottom: 25px !important;
  }

  .uncle-canvas-box {
    width: 220px;
    height: 220px;
  }

  .dishes-section {
    padding: 40px 5%;
  }

  .cart-bar {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
 /* Container Box */
.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

 /* --- Base Tab Container --- */
.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
 }

/* Base style for all admin tab buttons */
.admin-tab-btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

/* =========================================
   1. PENDING ORDERS BUTTON (First Tab)
   ========================================= */
.admin-tab-btn:nth-child(1) {
  background-color: #fff3cd; /* Soft Yellow */
  color: #856404;
  border-color: #ffeeba;
}

.admin-tab-btn:nth-child(1):hover {
  background-color: #ffe8a1;
}

/* Jab Pending Tab ACTIVE ho */
.admin-tab-btn:nth-child(1).active {
  background-color: #ffc107; /* Bright Yellow/Amber */
  color: #000;
  border-color: #d39e00;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

/* =========================================
   2. COMPLETED / DONE ORDERS BUTTON (Second Tab)
   ========================================= */
.admin-tab-btn:nth-child(2) {
  background-color: #d4edda; /* Soft Green */
  color: #155724;
  border-color: #c3e6cb;
}

.admin-tab-btn:nth-child(2):hover {
  background-color: #c3e6cb;
}

/* Jab Completed Tab ACTIVE ho */
.admin-tab-btn:nth-child(2).active {
  background-color: #2b9348; /* Darker Green */
  color: #ffffff;
  border-color: #1e6b33;
  box-shadow: 0 4px 10px rgba(43, 147, 72, 0.3);
}

/* =========================================
   3. MANAGE & ADD DISH BUTTON (Third Tab)
   ========================================= */
.admin-tab-btn:nth-child(3) {
  background-color: #ef5c37; /* Neutral Dark/Gray */
  color: #cc920a;
  border-color: #ef5c37;
}

.admin-tab-btn:nth-child(3):hover {
  background-color: #e27e65;
}

/* Jab Add Dish Tab ACTIVE ho */
.admin-tab-btn:nth-child(3).active {
  background-color: #8d2f0c; /* Deep Blue / Theme Dark */
  color: #c4a30e;
  border-color: #b94d04;
  box-shadow: 0 4px 10px rgba(224, 143, 4, 0.3);
}

/* =========================================
   4. ADD DISH TO MENU (Form Submit Button)
   ========================================= */
#addDishBtn {
  background-color: #841313; /* Vibrant Coral / Red */
  color: #dc970c;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#addDishBtn:hover {
  background-color: #19db20;
  color: white;
}

#addDishBtn:active {
  transform: scale(0.98);

}
#pending-img {
  size: 4px;
}
/* Image ka size aur control */
.tab-img {
  width: 18px;        /* Image ki width yahan se control karein */
  height: 18px;       /* Image ki height yahan se control karein */
  object-fit: contain; /* Image stretch/kharab nahi hogi */
}
}