:root {
  --primary: #b58a4c;
  --primary-dark: #8c6734;
  --bg: #f8f5f0;
  --text: #1f2430;
  --muted: #5e6675;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(18, 25, 43, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Be Vietnam Pro", sans-serif;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee7dc;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.menu a:hover {
  color: var(--primary-dark);
}

.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 60;
}

.lang-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddceb5;
  background: #fff8ec;
  color: #6a4f27;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lang-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 46px;
  background: #ffffff;
  border: 1px solid #ead9be;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(12, 18, 30, 0.12);
  padding: 6px;
  min-width: 130px;
  display: grid;
  gap: 4px;
}

.lang-menu[hidden] {
  display: none !important;
}

.lang-menu button {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.lang-menu button.active,
.lang-menu button:hover {
  background: #f7ebd7;
}

.floating-social {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d7c5a6;
  color: #6a4f27;
  background: #fff8ec;
  box-shadow: 0 8px 20px rgba(26, 22, 15, 0.12);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-social a:hover {
  background: #f4e4c9;
  border-color: #c8a670;
}

.floating-social a span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.floating-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon.zalo {
  color: #0068ff;
  background: #eef4ff;
  border-color: #bdd2ff;
}

.social-icon.facebook {
  color: #1877f2;
  background: #edf3ff;
  border-color: #b9d2ff;
}

.social-icon.tiktok {
  color: #0f1720;
  background: #f4f4f5;
  border-color: #d9d9df;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: transform 0.75s ease, opacity 0.75s ease;
  will-change: transform, opacity;
}

.reveal-left.is-visible,
.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.btn-small {
  padding: 9px 16px;
  background: #f2eadf;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 12px 22px;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 74vh;
  background-image: url("https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 14, 24, 0.75), rgba(9, 14, 24, 0.25));
}

.hero-content {
  position: relative;
  color: var(--white);
  max-width: 700px;
  padding: 80px 0 120px;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.15;
  margin: 12px 0 14px;
}

h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  margin-bottom: 16px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.kicker.dark {
  color: var(--primary-dark);
}

.hero-content p {
  color: #e6e9ef;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-card-wrap {
  margin-top: -64px;
  position: relative;
  z-index: 10;
}

.booking-card {
  background: var(--white);
  padding: 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.booking-card h2 {
  margin-bottom: 4px;
}

.booking-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}

input,
select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #ddd2c3;
  padding: 0 11px;
  font: inherit;
}

.full {
  width: 100%;
  margin-top: 15px;
  cursor: pointer;
}

.booking-result {
  min-height: 24px;
  margin-top: 10px;
  font-weight: 500;
}

.availability-panel,
.reservation-panel {
  margin-top: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.panel-head h3 {
  margin-bottom: 6px;
}

.panel-head p {
  margin: 0 0 16px;
  color: var(--muted);
}

.availability-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.availability-card {
  border: 1px solid #ead9be;
  border-radius: 14px;
  padding: 16px;
  background: #fffaf2;
}

.availability-card img {
  width: 100%;
  height: 170px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 12px;
}

.availability-card p {
  margin: 8px 0 0;
  color: #4f5766;
}

.availability-meta {
  display: block;
  margin-top: 8px;
  color: var(--primary-dark);
  font-weight: 600;
}

.availability-card button {
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.availability-card button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.reservation-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd2c3;
  padding: 10px 11px;
  font: inherit;
  resize: vertical;
}

.reservation-tip {
  margin: 12px 0 0;
  color: #4f5766;
  font-size: 14px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}

.popup-overlay[hidden] {
  display: none !important;
}

.popup-card {
  width: min(460px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(11, 18, 31, 0.22);
  text-align: center;
}

.popup-card h3 {
  margin-bottom: 10px;
}

.popup-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.popup-card .btn {
  min-width: 120px;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.media-card img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 340px;
  object-fit: cover;
}

.list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 9px;
}

.map-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px dashed var(--primary-dark);
}

.map-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.heading {
  margin-bottom: 24px;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 7px 20px rgba(20, 30, 50, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-body {
  padding: 18px;
}

.card-body p {
  color: var(--muted);
  margin-top: 9px;
}

.room-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 36px rgba(20, 30, 50, 0.18);
}

.room-card:hover img {
  transform: scale(1.06);
}

.room-extra {
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.room-extra p {
  margin: 0 0 7px;
  font-size: 14px;
  color: #4f5766;
}

.room-extra span {
  display: inline-block;
  margin-top: 2px;
  color: var(--primary-dark);
  font-weight: 600;
}

.room-card:hover .room-extra {
  max-height: 160px;
  opacity: 1;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.amenity-item {
  background: #fffaf2;
  border: 1px solid #ead9be;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.amenity-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(22, 23, 26, 0.12);
  border-color: #d8be90;
}

.detail-main {
  padding: 110px 0 70px;
}

.detail-top {
  margin-bottom: 24px;
}

.back-link {
  color: var(--primary-dark);
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.detail-card {
  background: #fffdf8;
  border: 1px solid #ead9be;
  border-radius: 16px;
  padding: 20px;
}

.detail-image {
  border-radius: 14px;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.detail-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.detail-subtitle {
  color: #4d5562;
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 16px 18px;
}

.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
}

.offers {
  background-image: linear-gradient(120deg, #191d2a, #2f2430);
  color: var(--white);
}

.offer-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 24px;
}

.offer-box h3 {
  margin-bottom: 10px;
}

.offer-box p {
  color: #e3d7c3;
}

.offer-box a {
  display: inline-block;
  margin-top: 7px;
  color: #f0c987;
  font-weight: 600;
}

.reviews {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

blockquote {
  margin: 0;
  background: #fff8ee;
  border: 1px solid #e9d7bc;
  border-radius: 14px;
  padding: 18px;
  color: #413a2e;
}

.footer {
  background: #111826;
  color: #d8e0f0;
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer p {
  margin: 7px 0 0;
}

.address-link {
  color: #f1d7aa;
  border-bottom: 1px solid rgba(241, 215, 170, 0.35);
}

.address-link:hover {
  color: #fff0cc;
  border-bottom-color: #fff0cc;
}

@media (max-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards,
  .reviews,
  .amenities,
  .availability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .floating-social {
    right: 10px;
    bottom: 18px;
    top: auto;
    transform: none;
  }

  .menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 4%;
    border-bottom: 1px solid #eee7dc;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .menu.open {
    display: flex;
  }

  .lang-switcher {
    top: 10px;
    right: 10px;
  }

  .booking-card-wrap {
    margin-top: 0;
    padding-top: 20px;
    background: #ffffff;
  }

  .grid-5,
  .grid-3,
  .cards,
  .reviews,
  .amenities,
  .footer-grid,
  .availability-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .detail-image {
    height: 280px;
  }
}
