/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #111;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  color: #fff;
}

.logo span {
  color: gold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: gold;
}

#cart-count {
  font-weight: bold;
  color: gold;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1600891964599-f61ba0e24092?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero h1 span {
  color: gold;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.hero .btn {
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000;
  background: gold;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}

.hero .btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}


/* Menu Section */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.menu h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: gold;
}

.menu-item {
  background: #111;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.menu-item h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #fff;
}

.menu-item p {
  font-size: 16px;
  font-weight: bold;
  color: gold;
  margin-bottom: 15px;
}

/* Mobile Navbar */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: gold;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links li {
    margin: 10px 0;
  }
}


.add-cart {
  padding: 10px 20px;
  background: gold;
  color: #000;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
}

.add-cart:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px; /* hidden by default */
  width: 350px;
  height: 100%;
  background: #111;
  color: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.6);
  transition: right 0.4s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0; /* slide in */
}

.cart-sidebar-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.close-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 24px;
  cursor: pointer;
  color: gold;
}

#cart-items {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

#cart-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.cart-item-info {
  flex: 1;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-controls button {
  background: gold;
  border: none;
  padding: 6px 10px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.cart-controls button:hover {
  background: #fff;
  color: #000;
}

.remove-btn {
  background: crimson;
  color: #fff;
}

.remove-btn:hover {
  background: red;
}

.cart-total {
  font-size: 18px;
  margin-top: 15px;
  font-weight: bold;
  color: gold;
}

#checkout-btn {
  margin-top: 15px;
  padding: 12px;
  background: gold;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}

#checkout-btn:hover {
  background: #fff;
  color: #000;
}


.cart-content {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  text-align: center;
  color: #fff;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: gold;
}

#cart-items {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  text-align: left;
}

/* Inside style.css, replace #cart-items li */
#cart-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.cart-item-info {
  flex: 1;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-controls button {
  background: gold;
  border: none;
  padding: 6px 10px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.cart-controls button:hover {
  background: #fff;
  color: #000;
}

.remove-btn {
  background: crimson;
  color: #fff;
}

.remove-btn:hover {
  background: red;
}


.cart-total {
  margin-top: 15px;
  font-weight: bold;
  font-size: 18px;
}

#checkout-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: gold;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#checkout-btn:hover {
  background: #fff;
  color: #000;
}

/* About Section */
.about {
  padding: 80px 20px;
  background: #111;
  color: #fff;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: gold;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* Reservation Section */
.reservation {
  padding: 80px 20px;
  background: #000;
  text-align: center;
  color: #fff;
}

.reservation h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: gold;
}

.reservation form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.reservation input,
.reservation button {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.reservation input {
  flex: 1 1 calc(50% - 10px);
  background: #111;
  color: #fff;
  border: 1px solid #333;
}

.reservation input:focus {
  outline: none;
  border-color: gold;
}

.reservation button {
  background: gold;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  flex: 1 1 100%;
  transition: all 0.3s ease;
}

.reservation button:hover {
  background: #fff;
  color: #000;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Cart Remove Button */
.remove-btn {
  margin-left: 10px;
  background: transparent;
  border: none;
  color: red;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.remove-btn:hover {
  transform: scale(1.2);
}



/* Footer */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.95rem;
  border-top: 1px solid #333;
}

footer p {
  margin: 0;
}

footer p span {
  color: gold;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .reservation form {
    flex-direction: column;
  }

  .reservation input {
    flex: 1 1 100%;
  }
}


/* Responsive Layout */
@media (max-width: 992px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}
