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

/* BODY */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7f3ef;
  color: #2c2c2c;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #7b2c1f;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #f5d7a3;
}

.logo img {
  height: 36px;
  width: auto;
}


.header nav a {
  color: white;
  text-decoration: none;
  margin-left: 22px;
  font-weight: bold;
}

.header nav a:hover {
  color: #f5d7a3;
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  height: 80vh;
  margin-top: 70px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.slide-content h1 {
  font-size: 48px;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* BUTTON */
.btn {
  background: #c79a5b;
  color: white;
  text-decoration: none;
  padding: 12px 26px;
  font-weight: bold;
}

.btn:hover {
  background: #a97c43;
}

/* ===== FOOTER ===== */
.footer {
  background: #7b2c1f;
  color: white;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 40px;
  gap: 30px;
}

.footer-col h3 {
  color: #f5d7a3;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: #eee;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #f5d7a3;
}

.footer-bottom {
  text-align: center;
  background: #5e2016;
  padding: 12px;
  font-size: 13px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 34px;
  }

  .header {
    flex-direction: column;
  }

  .header nav {
    margin-top: 10px;
  }
}
/* ===== MENU ===== */
.menu-title {
  text-align: center;
  font-size: 36px;
  color: #7b2c1f;
  margin: 40px 0 20px;
}

.menu-section {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.menu-section h3 {
  color: #7b2c1f;
  margin-bottom: 15px;
  border-bottom: 2px solid #c79a5b;
  display: inline-block;
}

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

.menu-item {
  background: white;
  display: flex;
  align-items: center;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.menu-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-right: 10px;
}

.menu-info {
  flex: 1;
}

.menu-info h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.menu-info span {
  color: #7b2c1f;
  font-weight: bold;
}

.menu-item button {
  background: #7b2c1f;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
``
/* ===== CART ===== */
.cart-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  background: white;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-right: 15px;
}

.cart-info {
  flex: 1;
}

.cart-item button {
  background: #7b2c1f;
  color: white;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
}

.cart-summary {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
``
/* ===== STORY SECTION (FIX GỌN + ĐẸP) ===== */
.story {
  background: #fffaf4;
  padding: 90px 20px;
}

.story-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* TITLE */
.story-title {
  font-size: 14px;
  letter-spacing: 4px;
  color: #7b2c1f;
  margin-bottom: 12px;
}

.story-subtitle {
  font-size: 30px;
  margin-bottom: 40px;
  color: #2c2c2c;
}

/* IMAGE */
.story-media {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.story-media img {
  width: 260px;              /* ✅ FIX ẢNH NHỎ LẠI */
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* TEXT */
.story-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.story-text p {
  margin-bottom: 18px;
}

/* QUOTE */
.story-quote {
  margin-top: 25px;
  font-style: italic;
  color: #7b2c1f;
  font-weight: bold;
}

/* ===== HIỆU ỨNG FADE-IN ===== */
.fade-in {
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .story-media {
    flex-direction: column;
  }

  .story-media img {
    width: 100%;
    height: 200px;
  }

  .story-subtitle {
    font-size: 24px;
  }
}
