/* ================= RESET & BASE ================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", system-ui, Arial, sans-serif;
  background: #D8CFC4;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}

/* ================= HEADER ================= */
.header {
  background: linear-gradient(
      rgba(109,76,65,0.75),
      rgba(141,110,99,0.75)
    ),
    url("images/hero.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 40px 15px;
}

.header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.slogan {
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
  font-style: italic;
}


/* ================= SECTION ================= */
section, .space {
  max-width: 1000px;
  margin: auto;
  padding: 20px 15px;
}

h2 {
  color: #5d4037;
  margin-bottom: 10px;
}

/* ================= ABOUT ================= */
.about p {
  background: #fff;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ================= SEARCH ================= */
.search-box {
  max-width: 500px;
  margin: 0 auto 20px;
}

.search-box input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #FAFAF8;
  outline: none;
}

.search-box input:focus { border-color: #6BCF9B; }

/* ================= MENU ================= */
.menu-item {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* MENU TITLE */
.menu-title {
  width: 100%;
  min-height: 64px;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: bold;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  background: #7cb8a2;
  color: #fff;
  border-radius: 14px;

  white-space: normal;
  word-break: break-word;

  transition: background 0.3s ease, transform 0.2s ease;
}

.menu-title:hover {
  background: #6aa892;
  transform: translateY(-1px);
}

/* MENU CONTENT */
.menu-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 10px;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.menu-content.active {
  max-height: 4000px;
  opacity: 1;
  padding: 12px 10px;
}

/* ================= FOOD ================= */
.food-item {
  border-bottom: 1px dashed #d7ccc8;
  padding: 8px 0;
}
.food-item:last-child { border-bottom: none; }

.food-title {
  background: #f5f3f0;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.25s ease;
}


.food-title:hover { background: #eae6e2; }

.food-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}

.food-detail.active {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.food-detail img {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  object-fit: cover;
  cursor: zoom-in;
}

.food-detail p { margin: 4px 0; }

/* ================= SPACE GALLERY ================= */
.space-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.space-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.space-img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ================= CONTACT ================= */
.contact {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.contact-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.contact a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, background 0.3s ease;
}

.call-btn { background: #6d4c41; }
.call-btn:hover { background: #5d4037; transform: translateY(-2px); }

.direction-btn { background: #7cb8a2; }
.direction-btn:hover { background: #6aa892; transform: translateY(-2px); }

/* ================= IMAGE MODAL ================= */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  animation: zoomIn 0.25s ease;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ================= MOBILE CONTACT FIXED ================= */
.mobile-contact-fixed {
  display: none;
}

/* ================= MOBILE & TABLET ================= */
@media (max-width: 768px) {

  .header h1 { font-size: 1.7rem; }

  .food-detail {
    flex-direction: column;
    text-align: center;
  }

  .space-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .space-gallery img {
    width: 80%;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .mobile-contact-fixed {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 9999;
  }

  .mobile-contact-fixed a {
    flex: 1;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
  }

  .mobile-call { background: #28a745; }
  .mobile-direction { background: #ff9800; }
}

/* ================= MOBILE SMALL ================= */
@media (max-width: 480px) {
  .menu-title {
    font-size: 17px;
    min-height: 70px;
    padding: 16px 20px;
  }
}

/* ================= DESKTOP ================= */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

.footer {
  background: #e8e4de;
  text-align: center;
  padding: 18px 10px;
  font-size: 0.9rem;
  color: #4e342e;

  max-width: 100%;
  margin: 0;
}

