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

body {
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f4f4f4;
}

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

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background: url('../images/hero.jpg') center/cover no-repeat;
  color: #ff6f61;
}

.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff6f61;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.featured {
  padding: 50px 20px;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #f4f4f4;
}/* === Global Styles === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body {
  line-height: 1.6;
  background-color: #fff8f0;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* === Header & Navigation === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #fff4f0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff6f61;
}

nav ul.nav-links {
  display: flex;
  list-style: none;
}

nav ul.nav-links li {
  margin-left: 25px;
}

nav ul.nav-links li a {
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul.nav-links li a:hover {
  color: #ff6f61;
}

/* === Burger Menu for Mobile === */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* === Hero Section (Home) === */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: url('../images/hero.jpg') center/cover no-repeat;
  color: #e96255;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
    
}

.hero .btn {
  padding: 12px 25px;
  background-color: #ff6f61;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero .btn:hover {
  background-color: #ff4c3b;
}

/* === Featured Section (Home) === */
.featured {
  padding: 60px 20px;
  text-align: center;
}

.featured h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  margin: 15px 0 10px;
  color: #ff6f61;
}

/* === Menu Page === */
.menu {
  padding: 60px 20px;
  text-align: center;
}

.menu h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.menu-filters {
  margin-bottom: 40px;
}

.menu-filters button {
  padding: 8px 18px;
  margin: 0 5px 10px 5px;
  border: none;
  border-radius: 5px;
  background-color: #ff6f61;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
}

.menu-filters button:hover {
  background-color: #ff4c3b;
}

.menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.menu-item {
  background: #fff;
  width: 220px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.menu-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.menu-item h3 {
  color: #ff6f61;
  margin-bottom: 5px;
}

.menu-item span {
  font-weight: bold;
}

/* === About Page === */
.about {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff6f61;
}

.about h2 {
  font-size: 2rem;
  margin: 30px 0 15px;
}

.about p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* === Gallery Page === */
.gallery {
  padding: 60px 20px;
  text-align: center;
}

.gallery h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ff6f61;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* === Contact Page === */
.contact {
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contact h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #ff6f61;
}

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

.contact label {
  margin-bottom: 5px;
  font-weight: bold;
}

.contact input,
.contact textarea {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact button {
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #ff6f61;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
}

.contact button:hover {
  background-color: #ff4c3b;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 20px;
  background-color: #fff4f0;
  margin-top: 40px;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
  nav ul.nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    background-color: #fff4f0;
    display: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  nav ul.nav-links.nav-active {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .menu-items,
  .cards {
    flex-direction: column;
    align-items: center;
  }
}

/* === Default Light Theme (already defined) === */

/* === Dark Theme === */
body[data-theme="dark"] {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

body[data-theme="dark"] header {
  background-color: #2c2c2c;
}

body[data-theme="dark"] footer {
  background-color: #2c2c2c;
}

body[data-theme="dark"] .hero {
  color: #f5f5f5;
}

body[data-theme="dark"] .card,
body[data-theme="dark"] .menu-item {
  background-color: #2c2c2c;
  color: #f5f5f5;
}

body[data-theme="dark"] .btn,
body[data-theme="dark"] .menu-filters button,
body[data-theme="dark"] .contact button {
  background-color: #ff6f61;
  color: white;
}

body[data-theme="dark"] a {
  color: #ffb3a1;
}
/* === Theme Toggle Button === */
.theme-toggle {
  margin-left: 20px;
}

#theme-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 25px;
  background-color: #ff6f61; /* Accent color */
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}

#theme-btn:hover {
  background-color: #ff4c3b;
  transform: translateY(-2px);
}

#theme-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Dark mode adjustment for button */
body[data-theme="dark"] #theme-btn {
  background-color: #ff6f61;
  color: white;
}

body[data-theme="dark"] #theme-btn:hover {
  background-color: #ff4c3b;
}


/* === Navigation === */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

nav ul.nav-links li a {
  text-decoration: none;
  font-weight: 500;
  color: #333; /* Light mode default */
  padding: 8px 12px;
  border-radius: 5px;
  transition: color 0.3s, background 0.3s;
}

nav ul.nav-links li a:hover {
  color: #ff6f61;
  background-color: rgba(255, 111, 97, 0.1);
}

/* === Burger Menu === */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333; /* Light mode default */
  border-radius: 2px;
  transition: background 0.3s;
}

/* === Mobile Nav Active === */
.nav-links.nav-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  width: 200px;
  background-color: #fff4f0; /* Light mode menu background */
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* === Dark Mode Nav === */
body[data-theme="dark"] nav ul.nav-links li a {
  color: #f5f5f5; /* Link color in dark mode */
}

body[data-theme="dark"] nav ul.nav-links li a:hover {
  color: #ffb3a1; /* Accent color on hover */
  background-color: rgba(255, 111, 97, 0.2);
}

body[data-theme="dark"] .burger div {
  background-color: #f5f5f5; /* Burger bars in dark mode */
}

body[data-theme="dark"] .nav-links.nav-active {
  background-color: #2c2c2c; /* Mobile menu dark background */
}

/* === Responsive === */
@media (max-width: 768px) {
  nav ul.nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  nav ul.nav-links li {
    margin: 10px 0;
  }
}


/* === Order System === */
.order-system {
  padding: 60px 20px;
  text-align: center;
}

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

.order-item {
  background: #fff;
  padding: 20px;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.order-item input {
  width: 50px;
  margin: 10px 0;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.order-item button.add-cart {
  padding: 8px 15px;
  border: none;
  border-radius: 25px;
  background-color: #ff6f61;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
}

.order-item button.add-cart:hover {
  background-color: #ff4c3b;
}

/* Cart */
.cart {
  margin-top: 20px;
  background: #fff4f0;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
}

.cart ul {
  list-style: none;
  padding: 0;
}

.cart li {
  margin-bottom: 8px;
}

/* Loyalty */
.loyalty {
  margin-top: 40px;
  background: #fff;
  display: inline-block;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* === Dark Mode: Order Page === */
body[data-theme="dark"] .order-system {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

body[data-theme="dark"] .order-item {
  background-color: #2c2c2c;
  color: #f5f5f5;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

body[data-theme="dark"] .order-item p {
  color: #f5f5f5;
}

body[data-theme="dark"] .order-item input {
  background-color: #3a3a3a;
  border: 1px solid #555;
  color: #f5f5f5;
}

body[data-theme="dark"] .order-item button.add-cart {
  background-color: #ff6f61;
  color: white;
}

body[data-theme="dark"] .order-item button.add-cart:hover {
  background-color: #ff4c3b;
}

/* Cart */
body[data-theme="dark"] .cart {
  background-color: #2c2c2c;
  color: #f5f5f5;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

body[data-theme="dark"] .cart li {
  color: #f5f5f5;
}

body[data-theme="dark"] .cart button#checkout {
  background-color: #ff6f61;
  color: white;
}

body[data-theme="dark"] .cart button#checkout:hover {
  background-color: #ff4c3b;
}

/* Loyalty Tracker */
body[data-theme="dark"] .loyalty {
  background-color: #2c2c2c;
  color: #f5f5f5;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

body[data-theme="dark"] .loyalty button#redeem {
  background-color: #ff6f61;
  color: white;
}

body[data-theme="dark"] .loyalty button#redeem:hover {
  background-color: #ff4c3b;
}



