body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  color: #222;
  background: #fdfdfd;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: relative;
  color: #fff;
  text-align: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-bottom: none;
  background: url(./assets/image/cover.jpg) center / cover no-repeat;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.header .container.header-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.header h1 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.header p {
  margin-top: 0.6rem;
  font-size: 1.05rem;
  opacity: 0.95;
  color: #fff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* NAV */
.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0;
}

.logo img {
  height: 56px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* phone */
.nav .phone {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}
.nav .phone:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* buttons (header) */
.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.16s ease, box-shadow 0.16s;
}

.btn.cta {
  background: #007f3d;
  color: #fff;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 8px 18px rgba(214, 43, 43, 0.22);
}

.btn.primary {
  background: #007f3d;
  color: #fff;
  padding: 0.75rem 1.2rem;
  box-shadow: 0 10px 24px rgba(214, 43, 43, 0.22);
}

.btn.outline {
  background: transparent;
  color: #fff;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* hero content */
.hero-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding-top: 0.6rem;
}

/* MENU SECTION */
.menu-section {
  text-align: center;
}

.menu-section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.9rem;
  color: #007f3d;
}

.contact h2 {
  color: #007f3d;
  margin-bottom: 1.5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.menu-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.menu-card img {
  width: 100%;
  height: auto; /* ✅ Cho phép ảnh hiển thị toàn bộ */
  object-fit: contain; /* ✅ Không cắt ảnh */
  background: #fff;
  border-bottom: 1px solid #f1f1f1;
}

.menu-card h3 {
  margin: 0.8rem 0 0.3rem;
  color: #333;
}

.menu-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}

.price {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #007f3d;
  font-size: 1rem;
}

/* BENEFITS */
.benefits {
  background: #c6e6d5;
  padding: 4rem 0;
  margin-top: 1rem;
}

.benefits h2 {
  text-align: center;
  color: #007f3d;
  font-size: 1.8rem;
}

.benefits ul {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 2rem auto 0;
}

.benefits li {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.benefits li:hover {
  transform: scale(1.02);
}

/* MAP */
.map-section {
  text-align: center;
  padding-top: 1rem;
}

.map-section h2 {
  color: #007f3d;
  margin-bottom: 1.5rem;
}

.map-container {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

/* map mobile open button */
.map-section .map-wrap {
  position: relative;
}

.map-open-btn {
  display: none;
  text-decoration: none;
  color: #fff;
  background: #007f3d;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  z-index: 1200;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

/* Hiển thị trên màn hình nhỏ */
@media (max-width: 600px) {
  .map-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  }
  .map-open-btn:hover {
    transform: translateY(-3px);
  }
}

/* NEWS */
.news {
  padding: 4rem 0;
  text-align: center;
  background: #fff7f7;
}

.news h2 {
  color: #007f3d;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: auto; /* ✅ Không crop ảnh trong phần tin tức */
  object-fit: contain;
  background: #fff;
}

.news-content {
  padding: 1rem 1.2rem 1.5rem;
  text-align: left;
}

.news-content h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #007f3d;
}

.news-content p {
  color: #555;
  font-size: 0.9rem;
}

.news-content a {
  display: inline-block;
  margin-top: 0.8rem;
  color: #007f3d;
  font-weight: 600;
  text-decoration: none;
}

.contact {
  text-align: center;
  padding-bottom: 1rem;
}

.contact .btn {
  margin-top: 1.5rem;
  background: #007f3d;
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact .btn:hover {
  background: #007f3d;
}

/* FOOTER */
.footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

.lightbox {
  display: none; /* Ẩn mặc định */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
}

/* Nút đóng */
.lightbox span {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.zoomable {
  cursor: pointer;
}

.img-cover {
  width: 100%;
  object-fit: cover; /* cắt ảnh cho vừa khung mà không méo */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); /* đổ bóng */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
}

/* responsive tweaks */
@media (max-width: 900px) {
  .header h1 {
    font-size: 2.2rem;
  }
  .logo img {
    height: 48px;
  }
}

@media (min-width: 600px) {
  .mobile-actions {
    display: none;
  }
}

@media (max-width: 600px) {
  /* Header / hero tweaks */
  .header {
    min-height: 300px;
    padding: 1rem 0.8rem;
  }
  .header .container.header-inner {
    gap: 0.6rem;
  }
  .logo img {
    height: 44px;
  }
  .header h1 {
    font-size: 1.5rem;
    line-height: 1.12;
  }
  .header p {
    font-size: 0.95rem;
  }

  /* Buttons full width and larger tap targets */
  .hero-cta {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 12px;
  }
  .btn.primary,
  .btn.outline,
  .btn.cta {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  /* Reduce grid gaps on small screens */
  .menu-grid {
    gap: 1rem;
  }
  .menu-card {
    border-radius: 12px;
  }

  /* Floating bottom actions (safe-area aware) */
  .mobile-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 1100;
    pointer-events: auto;
  }

  .mobile-actions .float-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    transform: translateZ(0);
  }

  .mobile-actions .float-btn.call {
    background: #007f3d;
  }

  .mobile-actions .float-btn.book {
    background: #007f3d;
  }

  /* Hide desktop-only phone pill (we use floating actions) */
  .nav .phone {
    display: none;
  }

  /* Slightly increase footer bottom padding so floating doesn't overlap when visible */
  .footer {
    padding-bottom: 68px;
  }
}

/* Optional: reduce header min-height on very small screens */
@media (max-width: 360px) {
  .header {
    min-height: 260px;
  }
  .logo img {
    height: 40px;
  }
  .header h1 {
    font-size: 1.35rem;
  }
}
