/* =========================================================
   PK ROYAL RESORT — LUXURY ROYAL CELEBRATIONS & STAY
   Mobile-First + Tablet (768px) + Desktop (1024px+)
   ========================================================= */

:root {
  --royal-950: #0c1210;
  --royal-900: #131c18;
  --royal-800: #1c2822;
  --gold-400: #e5c690;
  --gold-500: #d6b174;
  --gold-600: #b88f4e;
  --blush-50: #faf6f2;
  --blush-100: #f3eae2;
  --blush-200: #e8dcd1;
  --white: #ffffff;
  --text-dark: #1b221e;
  --text-muted: #5d6460;
  --whatsapp: #25d366;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 20px rgba(19, 28, 24, 0.06);
  --shadow-md: 0 14px 36px rgba(19, 28, 24, 0.1);
  --shadow-lg: 0 24px 52px rgba(12, 18, 16, 0.24);
  --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@view-transition {
  navigation: auto;
}

@keyframes pageFadeIn {
  from {
    opacity: 0.82;
  }
  to {
    opacity: 1;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--blush-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.22s ease-out both;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ================= BUTTONS ================= */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--royal-950);
  box-shadow: 0 8px 22px rgba(214, 177, 116, 0.3);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover::before {
  left: 130%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(214, 177, 116, 0.42);
}

.btn-outline-dark {
  border: 1.5px solid var(--royal-800);
  color: var(--royal-900);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--royal-900);
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(12, 18, 16, 0.9) 0%, rgba(12, 18, 16, 0.35) 100%);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.navbar.scrolled,
.navbar.solid {
  background: rgba(12, 18, 16, 0.96);
  padding: 10px 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-crest {
  width: 42px;
  height: 42px;
  color: var(--gold-400);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--gold-400);
}

.brand-sub {
  font-size: 0.56rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 3px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--royal-900);
  border: 1px solid rgba(229, 198, 144, 0.22);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 8px 12px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(229, 198, 144, 0.14);
  color: var(--gold-400);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: none;
}

.hamburger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--royal-950);
  border-top: 1px solid rgba(229, 198, 144, 0.15);
  max-height: 82vh;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 4px;
}

.mobile-link {
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-link:hover,
.mobile-link.active {
  background: rgba(229, 198, 144, 0.12);
  color: var(--gold-400);
}

.mobile-sublinks {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 12px 12px;
}

.mobile-sublinks.open {
  display: flex;
}

.mobile-sublinks a {
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
}

.mobile-cta {
  margin-top: 12px;
  width: 100%;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 0 96px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(12, 18, 16, 0.88) 0%,
    rgba(12, 18, 16, 0.56) 55%,
    rgba(12, 18, 16, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold-400);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-400);
}

.hero-subtitle {
  font-size: clamp(0.96rem, 1.6vw, 1.08rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 470px;
  margin-bottom: 28px;
}

.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-curve svg {
  width: 100%;
  height: 54px;
}

/* Inner Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--royal-950), var(--royal-800));
  color: var(--white);
  padding: 128px 0 64px;
  text-align: center;
  position: relative;
}

.page-banner .hero-eyebrow {
  margin-bottom: 8px;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.page-banner p {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

/* ================= SECTIONS COMMON ================= */
.section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.8px;
  color: var(--gold-600);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-desc {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ================= CELEBRATIONS CARDS ================= */
.celebrations-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.cel-card {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cel-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.cel-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blush-50), var(--blush-100));
  border: 1px solid rgba(184, 143, 78, 0.28);
  color: var(--royal-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cel-card:hover .cel-icon {
  background: var(--royal-900);
  color: var(--gold-400);
  border-color: var(--royal-900);
}

.cel-card span.cel-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.cel-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -6px;
}

.sub-cel-heading {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--gold-600);
  margin: 28px 0 14px;
}

.sub-cel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sub-cel-card {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.sub-cel-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.sub-cel-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blush-50), var(--blush-100));
  border: 1px solid rgba(184, 143, 78, 0.25);
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.sub-cel-card:hover .sub-cel-ico {
  background: var(--royal-900);
  color: var(--gold-400);
  border-color: var(--royal-900);
}

.sub-cel-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.sub-cel-card small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sub-cel-arrow {
  margin-left: auto;
  color: var(--gold-600);
  font-weight: 600;
  transition: transform 0.25s ease;
}

.sub-cel-card:hover .sub-cel-arrow {
  transform: translateX(4px);
}

/* ================= SPLIT FEATURE (VENUE & STAY) ================= */
.split-section {
  background: var(--blush-100);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 280px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.split-media:hover img {
  transform: scale(1.04);
}

.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--royal-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: var(--transition);
}

.play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-400);
}

.split-text p {
  color: var(--text-muted);
  margin: 14px 0 24px;
  max-width: 440px;
}

/* ================= GALLERY GRID ================= */
.gallery-5-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.gal-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 165px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gal-thumb:last-child {
  grid-column: span 2;
}

.gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gal-thumb:hover img {
  transform: scale(1.06);
}

.center-cta {
  text-align: center;
}

/* ================= ENQUIRY BANNER ================= */
.enquiry-banner-wrap {
  padding: 20px 0 64px;
}

.enquiry-banner {
  background: linear-gradient(135deg, var(--royal-950), var(--royal-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.enquiry-banner h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.enquiry-banner p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.enquiry-inline-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.enquiry-inline-form input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.enquiry-inline-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* ================= MULTI-PAGE CARDS & FORMS ================= */
.cards-3-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.detail-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.detail-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 18, 16, 0.85);
  color: var(--gold-400);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.detail-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.detail-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.detail-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

/* Filter Bar (Celebrations & Gallery) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--blush-200);
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--royal-900);
  color: var(--gold-400);
  border-color: var(--royal-900);
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blush-200);
  background: var(--blush-50);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-dark);
}

/* ================= FOOTER ================= */
.footer {
  background: var(--royal-950);
  color: rgba(255, 255, 255, 0.84);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: var(--gold-400);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 198, 144, 0.28);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--royal-950);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(214, 177, 116, 0.3);
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ================= MODAL ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 16, 0.78);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.6rem;
  color: var(--text-muted);
  line-height: 1;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================= VENUE STATS STRIP (#2) ================= */
.stats-strip {
  padding: 28px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--royal-900);
  line-height: 1.1;
}

.stat-box span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-top: 4px;
}

/* ================= EVENT QUOTE ESTIMATOR (#1) ================= */
.estimator-section {
  background: var(--blush-100);
}

.estimator-card {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.estimator-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.est-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.est-field label strong {
  color: var(--royal-900);
  font-size: 0.95rem;
}

.est-field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blush-200);
  background: var(--blush-50);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
}

.est-field input[type="range"] {
  width: 100%;
  accent-color: var(--gold-600);
  cursor: pointer;
}

.estimator-summary {
  background: linear-gradient(135deg, var(--royal-950), var(--royal-800));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
}

.est-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.est-price {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.est-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

/* ================= TESTIMONIALS (#4) ================= */
.testimonials-section {
  background: linear-gradient(135deg, var(--royal-950), var(--royal-800));
  color: var(--white);
  padding: 58px 0;
}

.testimonial-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.t-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(229, 198, 144, 0.35);
  color: var(--gold-400);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.t-arrow:hover {
  background: var(--gold-400);
  color: var(--royal-950);
}

.t-body {
  text-align: center;
  transition: opacity 0.24s ease;
}

.t-body.fade {
  opacity: 0;
}

.t-stars {
  color: var(--gold-400);
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 10px;
}

.t-body blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

.t-author {
  font-size: 0.88rem;
  color: var(--gold-400);
  font-weight: 500;
}

.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.t-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold-400);
}

/* ================= ROOM BOOKING WIDGET ================= */
.room-booking-box {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rb-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.rb-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.rb-field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.rb-field input,
.rb-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  -webkit-appearance: none;
  appearance: none;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blush-200);
  background: var(--blush-50);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
}

.rb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.stay-booking-panel {
  background: linear-gradient(135deg, var(--royal-950), var(--royal-800));
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  margin-bottom: 36px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.stay-booking-head {
  margin-bottom: 18px;
}

.stay-booking-head .eyebrow {
  color: var(--gold-400);
}

.stay-booking-head h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.room-booking-wide {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 198, 144, 0.25);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: end;
}

.room-booking-wide .rb-field label {
  color: rgba(255, 255, 255, 0.8);
}

.room-booking-wide .rb-field input,
.room-booking-wide .rb-field select {
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
}

/* ================= MOBILE STICKY ACTION BAR (#5) ================= */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--royal-950);
  border-top: 1px solid rgba(229, 198, 144, 0.25);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.22);
}

.mobile-sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.sticky-call {
  background: var(--royal-900);
  color: var(--gold-400);
}

.sticky-wa {
  background: var(--whatsapp);
  color: var(--white);
}

@media (max-width: 767px) {
  body {
    padding-bottom: 50px;
  }
}

/* ================= TABLET (>= 768px) ================= */
@media (min-width: 768px) {
  .room-booking-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-booking-wide .rb-custom-wrap,
  .rb-submit-wrap {
    grid-column: span 2;
  }

  .mobile-sticky-bar {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .estimator-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 0 32px;
  }

  .nav-cta {
    display: inline-flex;
  }

  .celebrations-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .sub-cel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .split-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }

  .split-media {
    height: 340px;
  }

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

  .gal-thumb:last-child {
    grid-column: auto;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .enquiry-inline-form {
    grid-template-columns: 1fr 1fr auto;
  }
}

/* ================= DESKTOP (>= 1024px) ================= */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .hamburger,
  .mobile-menu {
    display: none !important;
  }

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

  .estimator-card {
    grid-template-columns: 1.35fr 1fr;
    padding: 32px;
  }

  .room-booking-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  }

  .rb-submit-wrap {
    grid-column: auto;
  }

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

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

  .enquiry-banner {
    grid-template-columns: 1fr auto 1.3fr;
    padding: 28px 34px;
  }

  .footer-top {
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .navbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }
  .mobile-menu-btn {
    margin-left: auto !important;
  }
}

.mobile-menu {
  left: auto !important;
  right: 0 !important;
  width: 280px !important;
  max-width: 85vw !important;
}

@media (min-width: 901px) {
  .navbar-inner {
    max-width: 1380px !important;
    gap: 16px !important;
  }
  .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
  }
  .nav-link {
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }
}

.mobile-menu {
  max-height: none !important;
  overflow-y: visible !important;
}
.mobile-menu-inner {
  gap: 2px !important;
}
.mobile-link {
  padding: 9px 14px !important;
}

html, body {
  overflow-x: hidden !important;
}
.mobile-menu {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Full Mobile, Tablet & Desktop Responsiveness */
img, video, iframe {
  max-width: 100%;
}
@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    margin-left: auto !important;
  }
}
@media (max-width: 640px) {
  h1 {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.15 !important;
  }
  section, main {
    padding-left: 0;
    padding-right: 0;
  }
}

.hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (min-width: 901px) {
  .navbar-inner {
    max-width: 100% !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}

@media (min-width: 901px) {
  .hero .container,
  .hero-inner,
  .hero-content {
    max-width: 100% !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    margin-left: 0 !important;
  }
}

@media (min-width: 901px) {
  .navbar, header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .navbar-inner {
    margin: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .cel-grid > a:nth-child(5) {
    grid-column: 1 / -1;
  }
}

/* Root-cause mobile sticky header & bottom CTA safe-area fix */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
}
@media (max-width: 900px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

html {
  scroll-padding-top: 84px !important;
  overflow-x: clip !important;
}
body {
  overflow-x: clip !important;
}

/* iOS Safari fixed header GPU layer lock */
.navbar {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


/* pk-center-odd-card: full-width 5th .cel-card on mobile 2-col grid */
@media (max-width: 768px) {
  .cel-card:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* pk-5-col-desktop: keep all 5 .cel-card items in 1 single row on tablet/desktop */
@media (min-width: 769px) {
  *:has(> .cel-card) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* pk-butter-smooth: smooth scrolling & GPU-accelerated transitions */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
body {
  overscroll-behavior-y: none;
}
.navbar,
.mobile-menu {
  will-change: transform;
}
.cel-card,
.sub-cel-card,
.btn,
.nav-link,
.mobile-link {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* pk-full-responsive: universal mobile, tablet & desktop responsiveness */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
img, video, iframe {
  max-width: 100%;
}
@media (max-width: 1024px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}
@media (max-width: 480px) {
  .stats-grid {
    gap: 10px;
  }
  .modal-dialog {
    width: 94vw;
    padding: 18px;
  }
}

/* pk-owner-marquee: smooth horizontal auto-scroll for 4 owner photos */
.owner-marquee-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  margin: 32px auto 0;
}
.owner-gallery {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  width: max-content !important;
  animation: pkOwnerMarquee 22s linear infinite;
}
.owner-marquee-wrap:hover .owner-gallery,
.owner-marquee-wrap:active .owner-gallery {
  animation-play-state: paused;
}
.owner-gallery > div {
  flex: 0 0 260px;
  width: 260px;
}
.owner-gallery > div img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block;
}
@keyframes pkOwnerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
