:root {
  --primary: #e94e1b;
  --primary-light: #ff6b3d;
  --dark: #333;
  --light: #fff;
  --gray: #8d8d8d;
  --light-gray: #f5f5f5;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fff;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* Header Styles */
header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  text-transform: capitalize;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sign-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sign-btn:hover {
  background-color: var(--primary-light);
}

.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 22px;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Hero Section */
/* Hero Section */
.hero {
  padding: 120px 0;
  background-image: url("header_img.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  height: 600px;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 15px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text readability */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: white;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  max-width: 550px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 78, 27, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 78, 27, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  text-align: center;
  border-style: none;
  border-radius: 10px;
  /* Empty since we're using background image */
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
    margin: 0 auto 30px;
  }
  
  .hero-btns {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}
/* Today's Special Section */
.special-section {
  background: linear-gradient(135deg, rgba(233, 78, 27, 0.03), rgba(255, 107, 61, 0.03));
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.special-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.special-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.special-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.special-img {
  height: 250px;
  overflow: hidden;
}

.special-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.special-card:hover .special-img img {
  transform: scale(1.05);
}

.special-info {
  padding: 25px;
}

.special-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--dark);
}

.special-info p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.special-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.special-price {
  display: flex;
  flex-direction: column;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray);
  font-size: 14px;
}

.discounted-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.btn-add-special {
  padding: 10px 20px;
  font-size: 14px;
}

/* Menu Section */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s;
  padding: 10px;
  border-radius: var(--radius);
  position: relative;
}

.category:hover {
  transform: translateY(-5px);
}

.category.active {
  background-color: rgba(233, 78, 27, 0.1);
}

.category.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.category-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  border: 3px solid white;
  box-shadow: var(--shadow);
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category span {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.food-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.food-card:hover {
  transform: translateY(-5px);
}

.food-img {
  height: 200px;
  overflow: hidden;
}

.food-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.food-card:hover .food-img img {
  transform: scale(1.05);
}

.food-info {
  padding: 20px;
}

.food-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.food-info p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 15px;
}

.food-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.food-price {
  font-weight: 600;
  color: var(--primary);
  font-size: 18px;
}

.food-actions {
  display: flex;
  gap: 10px;
}

.btn-small {
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-add {
  background-color: var(--primary);
  color: white;
}

.btn-add:hover {
  background-color: var(--primary-light);
}

.btn-view {
  background-color: transparent;
  border: 1px solid var(--gray);
  color: var(--dark);
}

.btn-view:hover {
  background-color: var(--light-gray);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(233, 78, 27, 0.02), rgba(255, 107, 61, 0.02));
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark);
}

.contact-card p {
  color: var(--gray);
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  padding: 15px;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 30px;
  overflow-y: auto;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.cart-header h2 {
  font-size: 24px;
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
}

.cart-items {
  margin-bottom: 30px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--light-gray);
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

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

.cart-item-details h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.cart-item-details p {
  color: var(--primary);
  font-weight: 500;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gray);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-value {
  min-width: 30px;
  text-align: center;
}

.remove-item {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  margin-left: 10px;
}

.cart-total {
  border-top: 1px solid var(--light-gray);
  padding-top: 20px;
  margin-bottom: 20px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.total-row.final {
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: var(--primary-light);
}

.empty-cart {
  text-align: center;
  padding: 40px 0;
  color: var(--gray);
}

/* Admin Section */
.admin-section {
  padding: 40px 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.admin-tab {
  padding: 10px 20px;
  background-color: var(--light-gray);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.admin-tab.active {
  background-color: var(--primary);
  color: white;
}

.admin-content {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.foods-table {
  width: 100%;
  border-collapse: collapse;
}

.foods-table th,
.foods-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.foods-table th {
  font-weight: 600;
  color: var(--dark);
}

.foods-table img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.action-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 16px;
}

.add-item-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 16px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  grid-column: 1 / -1;
  padding: 12px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: var(--primary-light);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background-color: white;
  border-radius: var(--radius);
  padding: 30px;
  width: 400px;
  max-width: 90%;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 24px;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
}

.form-group {
  margin-bottom: 20px;
}

.password-input {
  position: relative;
}

.password-input input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}

/* Footer */
footer {
  /* background-color: var(--dark); */
  color:black;
  padding: 40px 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 36px;
  }
  
  .nav-links {
    display: none;
  }
  
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  
  .special-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .food-grid {
    grid-template-columns: 1fr;
  }
  
  .add-item-form {
    grid-template-columns: 1fr;
  }
  
  .special-meta {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .special-price {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }
  
  .categories {
    gap: 15px;
  }
  
  .category-img {
    width: 60px;
    height: 60px;
  }
}
