/* ---------- PQ Villa — Luxury Resort Stylesheet ---------- */

:root {
  --ink: #1c2620;
  --ink-soft: #3c473f;
  --cream: #faf7f0;
  --cream-2: #f2ede1;
  --gold: #a9834f;
  --gold-deep: #8a6a3c;
  --forest: #2f3b30;
  --line: rgba(28, 38, 32, 0.12);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(20, 24, 20, 0.18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 18px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--forest);
  margin: 0;
  line-height: 1.1;
}

h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 600; }
h3 { font-size: 26px; }

p { line-height: 1.8; color: var(--ink-soft); font-weight: 300; }

.section { padding: 120px 0; }
.section-tight { padding: 90px 0; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head p { margin-top: 18px; font-size: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 38px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

.btn-dark {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-dark:hover { background: #1e2820; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 26px 0;
  transition: all 0.4s ease;
}
.nav.solid {
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.08em;
  color: var(--white);
  font-weight: 600;
  transition: color 0.4s ease;
}
.brand span { color: var(--gold); }
.nav.solid .brand { color: var(--forest); }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav-links a:hover { border-color: var(--gold); }
.nav.solid .nav-links a { color: var(--ink); }
.nav-links a.nav-cta {
  border: 1px solid var(--gold);
  color: var(--white) !important;
  padding: 10px 22px;
  background: rgba(169,131,79,0.15);
}
.nav.solid .nav-links a.nav-cta { color: var(--white) !important; background: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px; height: 22px;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}
.nav.solid .nav-toggle span, .nav.solid .nav-toggle::before, .nav.solid .nav-toggle::after {
  background: var(--ink);
}
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 10px; }
.nav-toggle::after { top: 20px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/pq16.jpg');
  background-size: cover;
  background-position: center 65%;
  transform: scale(1.08);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,16,0.55) 0%, rgba(15,20,16,0.25) 38%, rgba(15,20,16,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; }
.hero-content .eyebrow { color: #e7d3ae; text-align: center; }
.hero-content h1 {
  font-size: clamp(52px, 9vw, 108px);
  color: var(--white);
  letter-spacing: 0.02em;
}
.hero-content .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255,255,255,0.92);
  margin: 22px auto 40px;
  max-width: 560px;
  font-weight: 400;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--white); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0.85;
}
.hero-scroll .line { width: 1px; height: 46px; background: rgba(255,255,255,0.6); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold); animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 50% { top: 0; } 100% { top: 100%; } }

/* ---------- INTRO ---------- */
.intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: 2px; box-shadow: var(--shadow); }
.intro-media .float-img {
  position: absolute; width: 58%; bottom: -50px; right: -50px;
  border: 8px solid var(--cream); box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}
.intro-text .eyebrow { text-align: left; }
.intro-text p { margin-top: 22px; font-size: 17px; }
.intro-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px;
  margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--line);
}
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { flex: none; width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.fact-label { font-size: 14.5px; color: var(--ink); font-weight: 500; line-height: 1.5; }

/* ---------- AMENITIES ---------- */
.amenities { background: var(--forest); color: var(--white); position: relative; }
.amenities .section-head h2 { color: var(--white); }
.amenities .section-head p { color: rgba(255,255,255,0.72); }
.amenities .eyebrow { color: #c9a973; }
.amenity-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12);
}
.amenity-card {
  background: #283329; padding: 46px 30px; text-align: center;
  transition: background 0.35s ease;
}
.amenity-card:hover { background: #333f34; }
.amenity-card svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 20px; }
.amenity-card h4 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 10px; font-family: var(--serif); }
.amenity-card p { color: rgba(255,255,255,0.66); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* ---------- GALLERY ---------- */
.gallery { background: var(--cream-2); }
.gallery-tabs {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 50px;
}
.gtab {
  background: transparent; border: 1px solid var(--line); padding: 11px 24px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  transition: all 0.3s ease;
}
.gtab.active, .gtab:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.g-item {
  position: relative; overflow: hidden; cursor: pointer; background: #ddd;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.g-item:hover img { transform: scale(1.08); }
.g-item .g-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55) 100%);
  opacity: 0; transition: opacity 0.35s ease;
  display: flex; align-items: flex-end; padding: 16px;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span { color: #fff; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item.hidden-item { display: none; }

.gallery-more { text-align: center; margin-top: 44px; }

/* ---------- ROOMS ---------- */
.rooms { background: var(--cream); }
.room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.room-card { background: var(--white); box-shadow: 0 12px 40px rgba(20,24,20,0.08); }
.room-card .room-img { height: 260px; overflow: hidden; }
.room-card .room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-img img { transform: scale(1.06); }
.room-body { padding: 28px 28px 32px; }
.room-body h4 { font-size: 21px; margin-bottom: 8px; }
.room-body p { font-size: 14.5px; margin: 0; }

/* ---------- EXPERIENCE ---------- */
.experience { background: var(--cream-2); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.exp-card { text-align: center; padding: 0 18px; }
.exp-num { font-family: var(--serif); font-size: 46px; color: var(--gold); font-style: italic; margin-bottom: 14px; }
.exp-card h3 { font-size: 23px; margin-bottom: 14px; }
.exp-card p { font-size: 15px; }

/* ---------- LOCATION ---------- */
.location { background: var(--forest); color: var(--white); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: stretch; }
.location .eyebrow { color: #c9a973; text-align: left; }
.location h2 { color: var(--white); text-align: left; margin-bottom: 20px; }
.location .loc-lead { color: rgba(255,255,255,0.75); }
.loc-copy p { color: rgba(255,255,255,0.72); font-size: 16px; }
.loc-list { margin-top: 34px; display: grid; gap: 18px; }
.loc-list li { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 15px; }
.loc-list li b { color: var(--white); font-weight: 500; }
.loc-list li span.dist { color: #c9a973; font-family: var(--serif); font-style: italic; font-size: 16px; }
.map-frame { position: relative; min-height: 380px; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.15) contrast(1.05); }
.map-btn {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
}

/* ---------- ENQUIRE ---------- */
.enquire { background: var(--cream); }
.enquire-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; }
.enquire-info .eyebrow { text-align: left; }
.enquire-info h2 { text-align: left; margin-bottom: 20px; }
.enquire-info p { font-size: 16.5px; }
.contact-cards { margin-top: 40px; display: grid; gap: 18px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); padding: 20px 22px; border: 1px solid var(--line);
}
.contact-card svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.contact-card .cc-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card .cc-value { font-family: var(--serif); font-size: 19px; color: var(--forest); font-weight: 500; }

.enquire-form {
  background: var(--white); padding: 48px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 9px;
}
.field input, .field textarea, .field select {
  width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent;
  padding: 11px 2px; font-family: var(--sans); font-size: 16px; color: var(--ink);
  transition: border-color 0.3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* ---------- FOOTER ---------- */
.footer { background: #191f1a; color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { font-family: var(--serif); font-size: 28px; color: var(--white); margin-bottom: 16px; }
.footer-brand span { color: var(--gold); }
.footer p { color: rgba(255,255,255,0.55); font-size: 14.5px; }
.footer h5 { color: var(--white); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; font-weight: 500; font-family: var(--sans); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,0.6); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,12,10,0.94); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.3s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- FLOATING BOOK BUTTON ---------- */
.float-book {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .intro-grid, .loc-grid, .enquire-grid { grid-template-columns: 1fr; gap: 50px; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: 1fr; gap: 46px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item.wide { grid-column: span 2; }
  .intro-media .float-img { position: static; width: 100%; margin-top: 20px; border: none; box-shadow: var(--shadow); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 340px;
    background: var(--forest); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 60px 40px; gap: 30px; transform: translateX(100%); transition: transform 0.4s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff !important; }
  .nav-toggle { display: block; }
  .section { padding: 80px 0; }
  .room-grid { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .container { padding: 0 20px; }
}
