/* ============================================================
   Mansiondewan — Luxury Grey-Blue 2026
   Slate + Gold accent · Multi-page architecture
   ============================================================ */

:root {
  /* Slate (primary palette) */
  --slate-900: #1A2332;
  --slate-800: #2C3E50;
  --slate-700: #3D4F62;
  --slate-600: #5C7080;
  --slate-500: #7B92A6;
  --slate-400: #94A8BC;
  --slate-300: #B8C6D6;
  --slate-200: #D4DDE6;
  --slate-100: #E8EEF4;
  --slate-50:  #F4F7FA;
  --white:     #FFFFFF;

  /* Gold luxury accent */
  --gold-600:  #B0935E;
  --gold-500:  #C5A572;
  --gold-400:  #D4B888;
  --gold-300:  #E2CCA1;
  --gold-100:  #F4EBD8;
  --gold-dusty: #A88A56;  /* muted dusty gold for primary CTA */

  /* System */
  --ink:       #1A2332;
  --muted:     #5C7080;
  --shadow-sm: 0 2px 12px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 35, 50, 0.14);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --container:  1240px;
  --font-th:   "Bai Jamjuree", "Sarabun", "Prompt", "IBM Plex Sans Thai", system-ui, -apple-system, sans-serif;
  --font-th-display: "Trirong", "Cormorant Garamond", Georgia, serif;
  --font-en:   -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-th);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: var(--font-en); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--slate-900); font-weight: 600; letter-spacing: -0.01em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(244, 247, 250, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  z-index: 100;
  border-bottom: 1px solid rgba(184, 198, 214, 0.3);
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(244, 247, 250, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--slate-900);
  letter-spacing: 0.02em;
}
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--slate-700), var(--slate-900));
  color: var(--gold-400);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(212, 184, 136, 0.4);
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav a {
  font-size: 0.93rem;
  color: var(--slate-700);
  font-weight: 500;
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav a:hover { color: var(--slate-900); background: rgba(184, 198, 214, 0.2); }
.nav a.active { color: var(--slate-900); background: rgba(197, 165, 114, 0.12); }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.lang-toggle:hover { border-color: var(--gold-400); color: var(--slate-900); }
.lang-flag { font-size: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--slate-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(176, 147, 94, 0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(176, 147, 94, 0.4); }
.btn-ghost {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover { background: var(--white); color: var(--slate-900); }
.btn-outline {
  border-color: var(--slate-300);
  color: var(--slate-700);
}
.btn-outline:hover { border-color: var(--gold-500); color: var(--slate-900); background: var(--gold-100); }
.btn-block { width: 100%; }
.btn-disabled { background: var(--slate-200); color: var(--slate-500); cursor: not-allowed; box-shadow: none; }
.btn-disabled:hover { background: var(--slate-200); transform: none; box-shadow: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background-image: url('images/deluxe-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  filter: brightness(0.55);
  /* ภาพพื้นหลังอยู่นิ่ง — ไม่มี animation */
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 35, 50, 0.75) 0%,
    rgba(44, 62, 80, 0.5) 50%,
    rgba(123, 146, 166, 0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 184, 136, 0.4);
  border-radius: 100px;
  font-size: 0.96rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: var(--gold-300);
  backdrop-filter: blur(8px);
  font-weight: 500;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-title .accent { color: var(--gold-400); font-style: italic; }
.hero-slogan {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--gold-400); line-height: 1; margin-bottom: 4px; }
.hero-stats span { font-size: 0.85rem; opacity: 0.8; color: var(--white); letter-spacing: 0.5px; }

/* ============ Sections ============ */
.section { padding: 110px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-head h1,
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

/* Page hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(197, 165, 114, 0.15) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 28px; }
.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
  font-weight: 600;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 500;
}
.page-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* ============ Category Cards (Home overview) ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cat-card {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-300);
}
.cat-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cat-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 35, 50, 0.4));
}
.cat-card-body { padding: 28px 24px 32px; }
.cat-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.cat-card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.cat-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============ Rooms ============ */
.room-category { margin-bottom: 80px; }
.room-category:last-of-type { margin-bottom: 0; }
.room-category-head { text-align: center; margin-bottom: 48px; }
.room-category-head::before {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold-500);
  margin: 0 auto 18px;
}
.room-category-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--slate-900);
  margin-bottom: 12px;
  font-weight: 500;
}
.room-category-head .lead { color: var(--muted); font-size: 1rem; max-width: 640px; margin: 0 auto; }
.room-amenity-note {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 20px;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.rooms-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--slate-100);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-card-featured { border-color: var(--gold-400); }
.room-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.room-img {
  height: 260px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.room-img-superior { background-image: url('images/superior-room-4.jpg'); }
.room-img-deluxe { background-image: url('images/deluxe-room-1.jpg'); }
.room-img-suite { background-image: url('https://images.unsplash.com/photo-1591088398332-8a7791972843?w=900&q=85&auto=format'); }
.room-img-mstd { background-image: url('images/standard-room-1.jpg'); }
.room-img-mdlx { background-image: url('images/deluxe-6.jpg'); }

.room-badge {
  position: absolute;
  top: 18px; left: 18px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--slate-800);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.room-badge-featured {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
}
.room-badge-coming { background: var(--slate-800); color: var(--white); }

.room-coming-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.78), rgba(44, 62, 80, 0.65));
  display: grid;
  place-items: center;
  z-index: 1;
  backdrop-filter: blur(2px);
}
.room-coming-overlay span {
  background: var(--white);
  color: var(--slate-900);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gold-400);
}

.room-body { padding: 30px 28px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--slate-900);
}
.room-tagline {
  color: var(--gold-600);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
  font-style: italic;
}
.room-features { margin-bottom: 24px; flex: 1; }
.room-features li {
  padding: 12px 0;
  font-size: 0.93rem;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
  line-height: 1.55;
}
.room-features li:last-child { border-bottom: 0; }
.room-features li strong { color: var(--slate-900); font-weight: 600; }

.room-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: var(--slate-50);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
}
.room-price .label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 12px;
}
.room-price strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--slate-900);
  font-weight: 600;
}
.room-price .unit { font-size: 0.85rem; color: var(--muted); margin-left: 4px; }

/* ============ Amenities (smaller, simplified) ============ */
.amenities-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 60px auto 0;
}
.amenity {
  background: var(--white);
  border: 1px solid var(--slate-100);
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.amenity:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.amenity .ico {
  display: inline-flex;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.amenity p { font-size: 0.95rem; color: var(--slate-800); font-weight: 500; }

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--white);
  background: rgba(26, 35, 50, 0.55);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover { transform: scale(1.01); }

.gallery-1 { grid-column: span 2; grid-row: span 2; background-image: url('images/deluxe-3.jpg'); }
.gallery-2 { background-image: url('images/deluxe-2.jpg'); }
.gallery-3 { background-image: url('images/deluxe-4.jpg'); }
.gallery-4 { background-image: url('images/deluxe-5.jpg'); }
.gallery-5 { background-image: url('images/deluxe-7.jpg'); }
.gallery-6 { grid-column: span 2; background-image: url('images/deluxe-10.jpg'); }
.gallery-7 { background-image: url('images/deluxe-9.jpg'); }
.gallery-8 { background-image: url('images/deluxe-11.jpg'); }

/* ============ Reviews ============ */
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 22px; }
.rating-big { font-family: var(--font-display); font-size: 4rem; font-weight: 600; color: var(--slate-900); line-height: 1; }
.stars { color: var(--gold-500); font-size: 1.3rem; letter-spacing: 3px; }
.stars-sm { color: var(--gold-500); font-size: 0.92rem; letter-spacing: 1.5px; }
.reviews-summary p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--slate-100);
  position: relative;
}
.review-card::before {
  content: "“";
  position: absolute;
  top: 14px; right: 22px;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: var(--gold-300);
  line-height: 1;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.review-head strong { display: block; color: var(--slate-900); font-size: 0.98rem; }
.review-card p { color: var(--slate-700); font-size: 0.95rem; line-height: 1.7; margin-bottom: 14px; }
.review-date { font-size: 0.8rem; color: var(--muted); }
.reviews-cta { text-align: center; }

/* ============ Location ============ */
.location-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--slate-100); }
.location-map iframe { display: block; width: 100%; height: 480px; }
.location-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--slate-900);
}
.location-address {
  padding: 18px 22px;
  background: var(--gold-100);
  border-left: 3px solid var(--gold-500);
  border-radius: 8px;
  color: var(--slate-800);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 18px 0 24px;
}
.travel-list { margin-bottom: 28px; }
.travel-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--slate-100); }
.travel-list li:last-child { border-bottom: 0; }
.travel-list .ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--slate-50);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.travel-list strong { display: block; color: var(--slate-900); margin-bottom: 4px; font-size: 1rem; font-weight: 600; }
.travel-list p { color: var(--muted); font-size: 0.9rem; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 36px; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: block;
  color: inherit;
  border: 1px solid var(--slate-100);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-300); }
.contact-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--slate-50);
  display: grid; place-items: center;
  transition: all var(--transition);
}
.contact-icon svg { width: 32px; height: 32px; color: var(--slate-700); transition: all var(--transition); }
.contact-card:hover .contact-icon { background: var(--gold-100); }
.contact-card:hover .contact-icon svg { color: var(--gold-600); }
.contact-line .contact-icon { background: #06C755; }
.contact-line .contact-icon svg { color: var(--white); }
.contact-line:hover .contact-icon { background: #05B349; }
.contact-fb .contact-icon { background: #1877F2; }
.contact-fb .contact-icon svg { color: var(--white); }
.contact-fb:hover .contact-icon { background: #166fe5; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
.contact-card .contact-info { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; line-height: 1.7; }
.contact-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--slate-900);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background var(--transition);
}
.contact-card:hover .contact-cta { background: var(--gold-600); }
.contact-hours {
  text-align: center;
  padding: 22px 24px;
  background: var(--slate-50);
  border-radius: var(--radius);
  color: var(--slate-700);
  font-size: 0.95rem;
  border: 1px solid var(--slate-100);
}

/* ============ Footer ============ */
.footer { background: var(--slate-900); color: rgba(255,255,255,0.8); padding: 70px 0 28px; }
.footer .logo-text { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-grid h4 { color: var(--white); margin-bottom: 18px; font-size: 1rem; font-weight: 600; }
.footer-grid p { color: rgba(255,255,255,0.7); margin-top: 14px; font-size: 0.92rem; line-height: 1.7; }
.footer-grid ul li { padding: 7px 0; font-size: 0.92rem; }
.footer-grid ul li a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-grid ul li a:hover { color: var(--gold-400); }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ============ Floating Contact ============ */
.floating-contact { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 50; }
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  color: var(--white);
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: var(--shadow-lg); }
.float-line { background: #06C755; }
.float-fb { background: #1877F2; }
.float-call { background: var(--slate-900); }

/* ============ Lightbox ============ */
.lightbox { position: fixed; inset: 0; background: rgba(15, 22, 35, 0.96); z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-stage { position: relative; max-width: 90vw; max-height: 85vh; }
.lb-stage img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
.lb-counter { position: absolute; bottom: -44px; left: 50%; transform: translateX(-50%); color: var(--gold-300); font-size: 0.92rem; background: rgba(255,255,255,0.08); padding: 7px 16px; border-radius: 100px; backdrop-filter: blur(8px); letter-spacing: 1px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.8rem;
  display: grid; place-items: center;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold-500); border-color: var(--gold-500); }
.lb-close { top: 24px; right: 24px; font-size: 2rem; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.05); }

/* ============ Reveal Animation ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .location-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .gallery-1, .gallery-6 { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: var(--slate-50);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid var(--slate-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform var(--transition);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 16px; border-radius: 8px; width: 100%; text-align: center; }
  .hamburger { display: flex; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 44px; }
  .page-hero { padding: 130px 0 60px; }
  .hero { min-height: 88vh; padding-top: 110px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 28px; }
  .hero-stats strong { font-size: 1.7rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-1, .gallery-6 { grid-column: span 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews-summary { flex-direction: column; gap: 8px; }
  .location-map iframe { height: 360px; }
  .floating-contact { bottom: 14px; right: 14px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 24px; height: 24px; }

  .lb-close { top: 14px; right: 14px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .logo-text { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-1, .gallery-6 { grid-column: span 1; }
  .room-coming-overlay span { font-size: 0.85rem; padding: 10px 18px; }
  .room-price strong { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Monthly room - hide price, show inquiry */
.room-price-inquiry {
  background: linear-gradient(135deg, var(--gold-100), rgba(244, 235, 216, 0.5));
  border-color: var(--gold-300);
  text-align: center;
  padding: 18px 20px;
}
.room-price-inquiry span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-600);
  font-style: italic;
  font-weight: 500;
}


/* ============ Hero brand title (MANSIONDEWAN) ============ */
.hero-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(3.36rem, 9.6vw, 7.2rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
  position: relative;
  padding-bottom: 22px;
}
.brand-name::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.brand-sub {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.8vw, 1.26rem);
  font-weight: 500;
  letter-spacing: 0.45em;
  color: var(--gold-300);
  text-transform: uppercase;
  padding-left: 0.45em;
}

/* Center hero content for brand layout */
.hero.hero-brand-mode .hero-content {
  text-align: center;
  margin: 0 auto;
  left: 0; right: 0;
}

/* ============ Hero floating animation =============
   ภาพพื้นหลังอยู่นิ่ง — เฉพาะตัวอักษรขยับขึ้น-ลงเบาๆ */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes heroFloatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero .hero-content { animation: heroFloat 6s ease-in-out infinite; }
.hero .hero-stats   { animation: heroFloatSlow 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-content,
  .hero .hero-stats { animation: none; }
}

/* ============ Buttons: Gold Solid (dusty) + Outline Light ============ */
.btn-gold-solid {
  background: var(--gold-dusty);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(168, 138, 86, 0.35);
  border: 1.5px solid var(--gold-dusty);
  letter-spacing: 0.05em;
}
.btn-gold-solid:hover {
  background: #93764A;
  border-color: #93764A;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(168, 138, 86, 0.45);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-300);
  color: var(--gold-300);
}

/* Center hero CTAs */
.hero-content .hero-cta {
  justify-content: center;
}

/* ============ Hero stats — minimalist icons + glass card ============ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  border-radius: 16px;
  margin-top: 8px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 10px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-card:last-child { border-right: 0; }
.stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  color: var(--gold-300);
  flex-shrink: 0;
}
.stat-ico svg { width: 26px; height: 26px; }
.stat-text { display: flex; flex-direction: column; min-width: 0; }
.stat-text strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-300);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-text span {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.78);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* Headings & display text use the Thai luxury serif */
h1, h2, h3, h4, .hero-eyebrow, .section-tag {
  font-family: var(--font-th-display);
}
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4 {
  font-family: var(--font-display);
}

/* Mobile responsive — stack stats vertically */
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; padding: 16px; }
  .stat-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 10px 6px; }
  .stat-card:last-child { border-bottom: 0; }
  .brand-name { letter-spacing: 0.08em; }
  .brand-sub { letter-spacing: 0.35em; font-size: 0.9rem; }
}

/* ============================================================
   About / Introduction section (home page)
   ============================================================ */
.about-section {
  background: linear-gradient(180deg, #fafaf7 0%, #f4ebd8 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,184,136,0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-section::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(123,146,166,0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-copy h2 {
  font-family: var(--font-th-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--slate-900);
}
.about-copy h2 .accent { color: var(--gold-600); font-style: italic; }
.about-copy .lead {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--slate-700);
  margin-bottom: 22px;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.pillar {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(212,184,136,0.35);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}
.pillar .pillar-ico {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-600);
  margin-bottom: 12px;
}
.pillar .pillar-ico svg { width: 22px; height: 22px; }
.pillar h4 {
  font-family: var(--font-th-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.pillar p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,35,50,0.18);
}
.about-visual img,
.about-visual .about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
}
.about-badge {
  position: absolute;
  left: -22px; bottom: 28px;
  background: var(--gold-600);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(168,138,86,0.35);
  font-family: var(--font-th-display);
}
.about-badge strong { display: block; font-size: 1.6rem; line-height: 1; }
.about-badge span   { display: block; font-size: 0.82rem; opacity: 0.92; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 4px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { aspect-ratio: 5 / 4; max-height: 460px; }
}
@media (max-width: 560px) {
  .about-pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   Blog / News card listing
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.post-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(26,35,50,0.08);
  border: 1px solid rgba(26,35,50,0.06);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26,35,50,0.14);
}
.post-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.post-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(26,35,50,0.85);
  color: var(--gold-300);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.post-tag.tag-event { background: rgba(168,138,86,0.95); color: #fff; }
.post-tag.tag-news  { background: rgba(44,62,80,0.9); color: #fff; }
.post-tag.tag-food  { background: rgba(174,99,68,0.95); color: #fff; }
.post-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-meta .post-dot { color: var(--gold-400); }
.post-card h3 {
  font-family: var(--font-th-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--slate-900);
  margin: 0;
}
.post-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.post-card .post-link {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Featured blog item */
.post-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26,35,50,0.10);
  margin-bottom: 40px;
}
.post-featured .post-img { aspect-ratio: auto; min-height: 320px; height: 100%; }
.post-featured .post-body { padding: 36px 38px; gap: 14px; justify-content: center; }
.post-featured h3 { font-size: 1.7rem; line-height: 1.3; }
.post-featured p { font-size: 1.02rem; }
@media (max-width: 780px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-img { min-height: 220px; }
  .post-featured .post-body { padding: 24px; }
  .post-featured h3 { font-size: 1.3rem; }
}

/* News page — list style with date */
.news-list { display: flex; flex-direction: column; gap: 22px; }
.news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(26,35,50,0.06);
  padding: 22px 26px;
  box-shadow: 0 6px 18px rgba(26,35,50,0.06);
  align-items: center;
}
.news-date {
  font-family: var(--font-display);
  text-align: center;
  background: linear-gradient(180deg, var(--gold-100), #fff);
  border-radius: 12px;
  padding: 14px 8px;
  border: 1px solid rgba(212,184,136,0.4);
}
.news-date .news-day {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-600);
  line-height: 1;
}
.news-date .news-month {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  color: var(--slate-700);
  margin-top: 6px;
  font-weight: 600;
}
.news-body h3 {
  font-family: var(--font-th-display);
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--slate-900);
}
.news-body p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 0.95rem; }
.news-body .news-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .news-item { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .news-date { display: inline-flex; align-self: flex-start; padding: 8px 14px; gap: 8px; }
  .news-date .news-day { font-size: 1.5rem; display: inline; }
  .news-date .news-month { display: inline; margin: 0 0 0 6px; }
}
                                                                                                             