:root {
  --ink: #f4ede0;
  --brown: #f5dc96;
  --gold: #d9ad54;
  --gold-light: #f5dc96;
  --cream: #070707;
  --sand: #191713;
  --white: #11100e;
  --muted: #aaa294;
  --line: rgba(217, 173, 84, 0.28);
  --green: #06c755;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(217, 173, 84, 0.07), transparent 22%),
    var(--cream);
  font-family: Tahoma, "Noto Sans Thai", Arial, sans-serif;
  line-height: 1.65;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.pv-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px;
  min-height: 76px; padding: 10px clamp(18px, 5vw, 72px); color: #fff;
  background: rgba(5, 5, 5, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.pv-brand { display: flex; align-items: center; gap: 12px; min-width: 245px; }
.pv-brand img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--gold); border-radius: 50%; }
.pv-brand strong { display: block; color: var(--gold-light); font: 700 1.2rem Georgia, serif; letter-spacing: .08em; }
.pv-brand small { display: block; color: #a99c8c; font-size: 0.68rem; }
.pv-nav { display: flex; flex: 1; justify-content: center; gap: 20px; font-size: 0.86rem; }
.pv-nav a { color: #d8d0c6; }
.pv-nav a:hover, .pv-nav a.active { color: var(--gold-light); }
.header-line, .primary-button {
  display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px;
  color: #090909; background: linear-gradient(135deg, #f8e4a8, #bd852d); border: 0; border-radius: 5px; font-weight: 800;
}
.menu-toggle { display: none; margin-left: auto; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; }

.villa-hero { position: relative; min-height: min(780px, 82vh); display: grid; align-items: end; overflow: hidden; color: #fff; }
.villa-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.villa-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,6,.88), rgba(10,8,6,.35) 62%, rgba(10,8,6,.14)), linear-gradient(0deg, rgba(10,8,6,.72), transparent 52%); content: ""; }
.hero-copy { position: relative; z-index: 2; width: min(720px, calc(100% - 36px)); margin: 0 0 clamp(120px, 17vh, 170px) max(18px, calc((100% - 1320px) / 2)); }
.eyebrow { margin: 0 0 10px; color: var(--gold-light); font-size: .74rem; font-weight: 800; letter-spacing: .17em; }
.hero-copy h1 { margin: 0; font: 700 clamp(3rem, 6vw, 6.6rem)/.98 Georgia, serif; }
.hero-copy p:not(.eyebrow) { max-width: 580px; color: #e0d9cf; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.secondary-button { display: inline-flex; padding: 10px 17px; color: var(--gold-light); border: 1px solid var(--gold); border-radius: 5px; font-weight: 700; }

.search-panel {
  position: relative; z-index: 5; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) auto; gap: 10px;
  width: min(1180px, calc(100% - 36px)); margin: -72px auto 0; padding: 16px;
  background: rgba(13, 12, 10, .96); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 32px rgba(217,173,84,.08);
}
.field { display: grid; gap: 5px; }
.field label { color: var(--muted); font-size: .69rem; }
.field input, .field select { width: 100%; padding: 10px 11px; color: var(--ink); background: #080807; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; outline: none; }
.field input::placeholder { color: #777066; }
.search-button { align-self: end; padding: 11px 20px; color: #090909; background: linear-gradient(135deg, #f8e4a8, #bd852d); border: 0; border-radius: 5px; cursor: pointer; font-weight: 800; }

.section { width: min(1320px, calc(100% - 36px)); margin: 0 auto; padding: 84px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading h2, .page-banner h1 { margin: 0; color: var(--brown); font: 700 clamp(2.3rem, 4vw, 4.5rem)/1 Georgia, serif; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); text-align: right; }
.villa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.villa-card { overflow: hidden; background: linear-gradient(145deg, #181510, #090909); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.35); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.villa-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0,0,0,.52), 0 0 28px rgba(217,173,84,.12); }
.villa-photo { position: relative; display: block; overflow: hidden; }
.villa-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.villa-card:hover .villa-photo img { transform: scale(1.035); }
.villa-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; color: var(--gold-light); background: rgba(5,5,5,.82); border: 1px solid var(--line); border-radius: 20px; font-size: .7rem; backdrop-filter: blur(8px); }
.villa-body { padding: 18px; }
.villa-body h3 { margin: 0 0 4px; color: var(--brown); font-size: 1.15rem; }
.villa-location { margin: 0; color: var(--muted); font-size: .78rem; }
.villa-facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.villa-facts span { padding: 5px 8px; color: var(--gold-light); background: #191713; border: 1px solid rgba(217,173,84,.14); border-radius: 4px; font-size: .7rem; }
.villa-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.price small { display: block; color: var(--muted); font-size: .66rem; }
.price strong { color: var(--brown); font-size: 1.22rem; }
.view-link { color: var(--gold); font-size: .8rem; font-weight: 800; }

.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: #0c0b09; border-block: 1px solid var(--line); }
.category-strip a { min-height: 170px; display: grid; place-content: center; padding: 24px; color: #fff; border-right: 1px solid rgba(255,255,255,.12); text-align: center; }
.category-strip strong { color: var(--gold-light); font: 1.5rem Georgia, serif; }
.category-strip small { color: #c8bbaa; }
.category-strip a:hover { background: #191713; }

.why-section { background: #0b0a08; color: #fff; border-block: 1px solid var(--line); }
.why-inner { display: grid; grid-template-columns: .8fr 1.5fr; gap: 60px; width: min(1320px, calc(100% - 36px)); margin: auto; padding: 90px 0; }
.why-inner h2 { margin: 0; color: var(--gold-light); font: 700 clamp(2.4rem, 4vw, 4.5rem)/1.05 Georgia, serif; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(236,209,155,.2); }
.why-grid article { padding: 28px; background: #11100e; }
.why-grid strong { color: var(--gold-light); }
.why-grid p { margin-bottom: 0; color: #bfb4a8; font-size: .84rem; }

.page-banner { padding: 100px max(18px, calc((100% - 1320px) / 2)) 70px; color: #fff; background: radial-gradient(circle at 15% 50%, rgba(217,173,84,.17), transparent 25%), linear-gradient(120deg, #050505, #18130c); border-bottom: 1px solid var(--line); }
.page-banner h1 { color: var(--gold-light); }
.page-banner p { max-width: 650px; color: #d3c8bc; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button { padding: 9px 14px; color: var(--brown); background: transparent; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; }
.filter-bar button.active { color: #090909; background: linear-gradient(135deg, #f8e4a8, #bd852d); }
.empty-state { padding: 50px; color: var(--muted); border: 1px dashed var(--line); text-align: center; }

.detail-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px; }
.detail-image img { width: 100%; min-height: 560px; object-fit: cover; border-radius: 12px; }
.detail-copy h1 { margin: 0; color: var(--brown); font: 700 clamp(2.7rem, 5vw, 5rem)/1 Georgia, serif; }
.detail-price { color: var(--gold); font-size: 1.4rem; font-weight: 800; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
.amenities span { padding: 10px; color: var(--gold-light); background: #191713; border: 1px solid rgba(217,173,84,.14); border-radius: 5px; font-size: .82rem; }
.booking-box { padding: 22px; background: #11100e; border: 1px solid var(--line); border-radius: 10px; }
.booking-box .primary-button { width: 100%; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { padding: 26px; background: linear-gradient(145deg, #181510, #0a0908); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 42px rgba(0,0,0,.28); }
.article-card small { color: var(--gold); }
.article-card h2 { color: var(--brown); font: 1.5rem Georgia, serif; }

.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { padding: 35px; background: linear-gradient(145deg, #181510, #090909); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.3); }
.contact-card h2 { color: var(--brown); font: 2rem Georgia, serif; }
.contact-links { display: grid; gap: 10px; }
.contact-links a { padding: 13px; border: 1px solid var(--line); border-radius: 5px; text-align: center; font-weight: 800; }
.contact-links .line { color: #07150c; background: var(--green); border-color: var(--green); }

.pv-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding: 54px max(18px, calc((100% - 1320px) / 2)); color: #aaa294; background: #080807; border-top: 1px solid var(--line); }
.pv-footer h3 { color: var(--gold-light); }
.pv-footer nav { display: grid; gap: 7px; }
.footer-bottom { padding: 16px max(18px, calc((100% - 1320px) / 2)); color: #777066; background: #050505; font-size: .75rem; }
.floating-line { position: fixed; right: 20px; bottom: 20px; z-index: 20; padding: 12px 17px; color: #07150c; background: var(--green); border: 2px solid #0b0b0a; border-radius: 30px; box-shadow: 0 12px 38px rgba(0,0,0,.55), 0 0 22px rgba(6,199,85,.15); font-weight: 800; }

@media (max-width: 1050px) {
  .pv-nav { position: fixed; inset: 76px 0 auto; display: none; padding: 24px; background: #17130f; }
  .pv-nav.open { display: grid; }
  .menu-toggle { display: block; }
  .header-line { display: none; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-button { grid-column: 1/-1; }
  .villa-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .pv-header { min-height: 68px; padding-inline: 14px; }
  .pv-brand { min-width: 0; }
  .pv-brand small { display: none; }
  .pv-brand img { width: 44px; height: 44px; }
  .villa-hero { min-height: 680px; }
  .hero-copy { margin-bottom: 150px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .search-panel { grid-template-columns: 1fr; margin-top: -110px; }
  .search-button { grid-column: auto; }
  .section { padding: 62px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .villa-grid, .article-grid { grid-template-columns: 1fr; }
  .category-strip { grid-template-columns: 1fr 1fr; }
  .category-strip a { min-height: 130px; }
  .why-inner, .detail-layout, .contact-page { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .detail-image img { min-height: 400px; }
  .pv-footer { grid-template-columns: 1fr; }
}

/* Aura Poolvilla Premium Light Theme — Pearl Champagne Edition */
:root {
  --ink: #2b2116;
  --brown: #8d631f;
  --gold: #b9892f;
  --gold-light: #f3d994;
  --cream: #fffaf0;
  --sand: rgba(255, 246, 232, 0.82);
  --white: rgba(255,255,255,.78);
  --muted: #7f6f5a;
  --line: rgba(184,137,47,.22);
  --green: #06c755;
}
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 237, 184, 0.75), transparent 26%),
    radial-gradient(circle at 88% 9%, rgba(232,185,167,.45), transparent 23%),
    linear-gradient(135deg, #fffaf0, #fff6e8 42%, #f7ead4);
}
.pv-header {
  color: #2b2116;
  background: rgba(255,250,240,.84) !important;
  border-bottom-color: rgba(184,137,47,.22) !important;
  box-shadow: 0 12px 40px rgba(113,77,31,.08);
  backdrop-filter: blur(22px) saturate(1.18);
}
.pv-brand strong, .pv-nav a, .pv-footer h3 { color: #7a551c !important; }
.pv-brand small, .pv-nav a { color: #6e604f !important; }
.pv-nav a:hover, .pv-nav a.active { color: #b9892f !important; }
.header-line, .primary-button, .search-button, .filter-bar button.active {
  color: #24180b !important;
  background: linear-gradient(135deg, #fff8da, #f3d994 38%, #c99a45) !important;
  border: 1px solid rgba(184,137,47,.34) !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 34px rgba(184,137,47,.22), inset 0 1px rgba(255,255,255,.84) !important;
}
.secondary-button, .filter-bar button { color: #8a641f !important; border-color: rgba(184,137,47,.28) !important; border-radius: 999px !important; }
.villa-hero::after {
  background: linear-gradient(90deg, rgba(255,250,240,.94), rgba(255,250,240,.46) 62%, rgba(255,250,240,.12)), linear-gradient(0deg, rgba(255,246,232,.82), transparent 54%) !important;
}
.villa-hero, .hero-copy p:not(.eyebrow), .page-banner, .page-banner p { color: #2b2116 !important; }
.hero-copy h1, .section-heading h2, .page-banner h1, .detail-copy h1, .why-inner h2 { color: #2b2116 !important; text-shadow: 0 1px 0 rgba(255,255,255,.72); }
.eyebrow, .detail-price, .view-link, .article-card small { color: #a87727 !important; }
.search-panel, .villa-card, .booking-box, .article-card, .contact-card, .why-grid article {
  background: rgba(255,255,255,.74) !important;
  border: 1px solid rgba(184,137,47,.22) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 80px rgba(113,77,31,.15), inset 0 1px rgba(255,255,255,.86) !important;
  backdrop-filter: blur(20px) saturate(1.12);
}
.field input, .field select {
  color: #2b2116 !important;
  background: rgba(255,250,240,.9) !important;
  border-color: rgba(184,137,47,.20) !important;
  border-radius: 999px !important;
}
.villa-body h3, .price strong, .contact-card h2, .article-card h2 { color: #7a551c !important; }
.villa-location, .field label, .section-heading > p, .price small, .empty-state { color: #7f6f5a !important; }
.villa-facts span, .amenities span, .villa-badge {
  color: #7a551c !important;
  background: rgba(255,248,220,.76) !important;
  border-color: rgba(184,137,47,.22) !important;
  border-radius: 999px !important;
}
.category-strip, .why-section, .pv-footer, .footer-bottom {
  color: #2b2116 !important;
  background: rgba(255,255,255,.60) !important;
  border-color: rgba(184,137,47,.18) !important;
}
.category-strip a { color: #2b2116 !important; border-color: rgba(184,137,47,.18) !important; }
.category-strip strong { color: #7a551c !important; }
.category-strip small, .why-grid p { color: #75644e !important; }
.category-strip a:hover { background: rgba(255,248,220,.78) !important; }
.page-banner { background: radial-gradient(circle at 15% 50%, rgba(255,237,184,.65), transparent 25%), linear-gradient(135deg, #fffaf0, #f3e2c1) !important; }
.detail-image img, .villa-photo img { border-radius: 22px; }
.floating-line { border-color: rgba(255,255,255,.86) !important; box-shadow: 0 16px 42px rgba(6,199,85,.22), 0 16px 54px rgba(113,77,31,.16) !important; }
@media (max-width: 1050px) { .pv-nav { background: rgba(255,250,240,.96) !important; } }
