* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Georgia, "Times New Roman", serif;
}

body {
  background-color: #f8f3eb;
  color: #2f1e1e;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #6b1e1e;
  color: #fff8ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #f7d27a;
  letter-spacing: 0.5px;
}

nav {
  position: relative;
}

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

.nav-links li a {
  text-decoration: none;
  color: #fff8ef;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #f7d27a;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #f7d27a;
}

/* HERO SECTION */
.hero {
  background: url("images/home2.jpg") center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 20, 20, 0.5);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 750px;
  color: #fffaf3;
  background: rgba(107, 30, 30, 0.35);
  padding: 35px 25px;
  border-radius: 14px;
}

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

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  background-color: #d8a24c;
  color: #3b2323;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* GALLERY */
.gallery-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #fffaf3;
}

.gallery-section h2 {
  font-size: 2.2rem;
  color: #6b1e1e;
  margin-bottom: 25px;
}

.slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  position: relative;
}

.slide {
  display: none;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.slide.active {
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(107, 30, 30, 0.8);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(216, 162, 76, 0.95);
  color: #3b2323;
}

.prev {
  left: 12px;
}

.next {
  right: 12px;
}

/* PAGE BANNER */
.page-banner {
  background: linear-gradient(rgba(107, 30, 30, 0.85), rgba(107, 30, 30, 0.85)),
    url("images/home.jpg") center/cover no-repeat;
  color: #fffaf3;
  text-align: center;
  padding: 70px 20px;
}

.page-banner h1 {
  font-size: 2.6rem;
  color: #f7d27a;
}

/* MENU PAGE */
.menu-cart-wrapper {
  display: flex;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px 20px 10px;
  align-items: flex-start;
}

.menu-container {
  flex: 2.3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 0;
  max-width: 100%;
  background-color: #f8f3eb;
}

.menu-card {
  background-color: #fffaf3;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
  border: 1px solid #ecd9b8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card h3 {
  color: #6b1e1e;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.menu-card p {
  color: #5c4747;
  margin-bottom: 12px;
}

.menu-card span {
  color: #c07d22;
  font-weight: bold;
  font-size: 1.1rem;
}

.add-cart-btn {
  margin-top: 15px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* CART SECTION */
.cart-section {
  flex: 0.9;
  position: sticky;
  top: 95px;
  max-width: 300px;
  width: 100%;
  margin-top: 0;
  padding: 22px 20px;
  background-color: #fffaf3;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #ecd9b8;
}

.cart-section h2 {
  color: #6b1e1e;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.empty-cart {
  color: #5c4747;
  font-size: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e7d8c2;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  color: #6b1e1e;
  margin-bottom: 3px;
  font-size: 1rem;
}

.cart-item-info p {
  color: #5c4747;
  margin: 0;
  font-size: 0.92rem;
}

.remove-btn {
  background-color: #6b1e1e;
  color: #fff8ef;
  border: none;
  padding: 7px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.remove-btn:hover {
  background-color: #8a2a2a;
}

.cart-summary {
  margin-top: 18px;
  text-align: left;
}

.cart-summary h3 {
  color: #6b1e1e;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.clear-cart-btn {
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.clear-cart-btn:hover {
  opacity: 0.8;
}

/* ABOUT PAGE */
.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 30px;
}

.about-section h2 {
  color: #6b1e1e;
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* CONTACT PAGE */
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form,
.map-section {
  background-color: #fffaf3;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.contact-form h2,
.map-section h2 {
  color: #6b1e1e;
  margin-bottom: 18px;
}

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

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #d8c3a5;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fffdf9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c07d22;
}

/* FOOTER */
footer {
  background-color: #6b1e1e;
  color: #fff8ef;
  text-align: center;
  padding: 22px 20px;
  margin-top: 40px;
}

.socials {
  margin-top: 10px;
}

.socials a {
  color: #f7d27a;
  text-decoration: none;
  margin: 0 10px;
  transition: opacity 0.3s ease;
}

.socials a:hover {
  opacity: 0.8;
}

/* MOBILE DESIGN */
@media (max-width: 900px) {
  .menu-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 20px;
  }
  
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    top: 45px;
    right: 0;
    background-color: #6b1e1e;
    width: 190px;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  }

  .nav-links.show {
    display: flex;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-text {
    padding: 28px 18px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .gallery-section h2,
  .page-banner h1,
  .about-section h2 {
    font-size: 1.8rem;
  }

  .slide {
    height: 280px;
  }
  
  .menu-cart-wrapper {
  flex-direction: column;
  padding: 20px;
}

  .menu-container {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .about-section,
  .contact-container {
    padding: 40px 20px;
  }
  
  .cart-section {
  position: static;
  max-width: 100%;
  margin: 0;
  padding: 20px;
}

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-summary {
    text-align: left;
  }
}