/* ============================================================
   Common — base typography, layout helpers, nút & tiện ích
   dùng chung cho mọi trang/section. Giữ tối giản & tái dụng.
   ============================================================ */

/* ---- Base ---- */
body {
  font-family: var(--font-serif);
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 400;
  line-height: 1.6;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Full-bleed wrapper: nền tràn viền, nội dung canh giữa */
.section {
  position: relative;
  width: 100%;
}

/* ============================================================
   Buttons — các kiểu nút tái dùng khắp trang
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover {
  opacity: 0.88;
}

/* Nút đặt phòng đặc (navy) — header */
.btn-reserve {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8px 12px;
}

/* Nút viền (お問合せ / JP) */
.btn-outline {
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
  padding: 8px 12px;
}

/* Nút pill cam (CTA chính) */
.btn-pill-orange {
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 14px 40px;
  box-shadow: var(--shadow-cta);
}

/* Nút pill viền (CTA phụ) */
.btn-pill-outline {
  border: 1px solid #202020;
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 14px 34px;
}

/* ---- Tiện ích ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.no-scroll {
  overflow: hidden;
}

/* ============================================================
   Hiển thị theo thiết bị (breakpoint 769px)
   .u-pc : hiện trên PC (>=769), ẩn trên SP (<=768)
   .u-sp : hiện trên SP (<=768), ẩn trên PC (>=769)
   ============================================================ */
.u-pc {
  display: none;
}
.u-sp {
  display: block;
}

@media (min-width: 769px) {
  .u-pc {
    display: block;
  }
  .u-sp {
    display: none;
  }
}

/* ============================================================
   Booking Button (CTA) — Nút cam có hình bình hành bao mũi tên
   ============================================================ */
.btn-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 4px 4px 4px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(235, 159, 52, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: none;
  cursor: pointer;
  line-height: 1;
}

.btn-booking__text {
  letter-spacing: 0.05em;
  margin-right: 16px;
  color: var(--color-white) !important;
}

.btn-booking__arrow {
  width: 40px;
  height: 28px;
  background-color: var(--color-orange);
  border: 1.5px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: skewX(-15deg);
  border-radius: 4px;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn-booking__arrow span {
  display: inline-block;
  transform: skewX(15deg);
  color: var(--color-white) !important;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.3s;
}

.btn-booking:hover {
  background-color: #f7ac3e;
  box-shadow: 0 10px 30px rgba(235, 159, 52, 0.5);
}

.btn-booking:hover .btn-booking__arrow {
  background-color: var(--color-white);
  border-color: var(--color-white);
  transform: skewX(-15deg) scale(1.05);
}

.btn-booking:hover .btn-booking__arrow span {
  color: var(--color-orange) !important;
  transform: skewX(15deg) translateX(2px);
}

@media (min-width: 1024px) {
  .btn-booking {
    font-size: 20px;
    min-height: 72px;
    min-width: 322px;
    padding: 6px 6px 6px 36px;
  }
  .btn-booking__text {
    margin-right: 24px;
  }
  .btn-booking__arrow {
    width: 52px;
    height: 36px;
  }
  .btn-booking__arrow span {
    font-size: 18px;
  }
}

