:root {
  --navy: #1a365d;
  --navy-dark: #0e223d;
  --maroon: #5a1422;
  --gold: #d97706;
  --gold-light: #f4b547;
  --cream: #f9fafb;
  --ink: #111827;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  --shadow-hover: 0 30px 80px rgba(17, 24, 39, 0.22);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100svh;
  overflow-x: hidden;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 18px rgba(244, 181, 71, 0.52);
  pointer-events: none;
  transition: width 0.12s linear;
}

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

img,
iframe {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: calc(18px + env(safe-area-inset-top)) clamp(16px, 4vw, 56px) 18px;
  transition: padding 0.3s ease-in-out, background 0.3s ease-in-out;
}

.site-header.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 68px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(14, 34, 61, 0.45);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 48px;
  height: 42px;
  place-items: center;
  color: #171717;
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 900;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 24px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.3s ease-in-out;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.whatsapp-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out,
    border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  will-change: transform;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after,
.whatsapp-cta::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.36) 45%, transparent 72%);
  transform: translateX(-140%);
  transition: transform 0.65s ease-in-out;
}

.whatsapp-cta,
.btn-gold {
  color: #111;
  background: var(--gold);
  box-shadow: 0 14px 34px rgba(217, 119, 6, 0.3);
}

.btn:hover,
.whatsapp-cta:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn:hover::after,
.whatsapp-cta:hover::after {
  transform: translateX(140%);
}

.btn:focus-visible,
.whatsapp-cta:focus-visible,
.menu-toggle:focus-visible,
.text-link:focus-visible,
.floating-actions a:focus-visible {
  outline: 3px solid rgba(244, 181, 71, 0.72);
  outline-offset: 3px;
}

.btn-gold:hover,
.whatsapp-cta:hover {
  background: var(--gold-light);
}

.pulse {
  animation: pulse 2.4s infinite;
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  color: var(--navy-dark);
  background: #fff;
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.btn-outline-dark {
  color: var(--navy);
  border-color: rgba(26, 54, 93, 0.35);
  background: #fff;
  cursor: pointer;
}

.btn-outline-dark:hover {
  color: #fff;
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 150px clamp(20px, 7vw, 96px) 88px;
  color: #fff;
}

.hero-static-scene,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-static-scene {
  z-index: 0;
  background:
    radial-gradient(circle at 74% 34%, rgba(244, 181, 71, 0.26), transparent 25%),
    linear-gradient(180deg, #071322 0%, #0d3150 45%, #0b5a73 67%, #06314d 100%);
}

.hero-static-scene::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  content: "";
  background:
    repeating-linear-gradient(172deg, rgba(191, 231, 229, 0.16) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, rgba(42, 139, 163, 0.2), rgba(5, 23, 38, 0.85));
  opacity: 0.62;
  animation: seaDrift 8s ease-in-out infinite alternate;
}

.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  transition: transform 0.35s ease-in-out;
}

.hero-3d canvas {
  width: 100%;
  height: 100%;
}

.hero-gopuram-fallback {
  position: absolute;
  right: clamp(22px, 10vw, 120px);
  bottom: 12%;
  z-index: 1;
  width: min(36vw, 430px);
  max-height: 68%;
  object-fit: contain;
  opacity: 0.48;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.48));
  pointer-events: none;
  animation: gopuramRise 1.8s cubic-bezier(0.19, 1, 0.22, 1) both, templeFloat 5.5s ease-in-out 1.8s infinite;
  transition: opacity 0.45s ease-in-out;
}

.hero.three-ready .hero-gopuram-fallback {
  animation: none;
  opacity: 0;
}

.hero-overlay {
  z-index: 2;
  background: linear-gradient(90deg, rgba(7, 19, 34, 0.92) 0%, rgba(7, 19, 34, 0.68) 43%, rgba(7, 19, 34, 0.12) 78%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  z-index: 3;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.room-footer,
.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 26px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(244, 181, 71, 0.36);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(244, 181, 71, 0.1);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-status {
  position: absolute;
  right: clamp(20px, 6vw, 72px);
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-status span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 122px) clamp(20px, 6vw, 84px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(17, 24, 39, 0.1);
}

.trust-item {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, background 0.35s ease-in-out;
}

.trust-item::before,
.package-card::after,
.policy-card::before,
.feature-card::before,
.destination-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(244, 181, 71, 0.14), transparent 44%);
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
  pointer-events: none;
}

.trust-item:hover {
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.trust-item:hover::before,
.package-card:hover::after,
.policy-card:hover::before,
.feature-card:hover::before,
.destination-card:hover::after {
  opacity: 1;
}

.trust-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-panel-section {
  padding: 34px clamp(20px, 6vw, 84px) 0;
}

.booking-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.8fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fff7ed);
  box-shadow: 0 20px 55px rgba(17, 24, 39, 0.1);
  overflow: hidden;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

.booking-panel::before {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 320px;
  height: 320px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.16), transparent 68%);
  pointer-events: none;
}

.booking-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.booking-panel > * {
  position: relative;
  z-index: 1;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 16px auto 0;
}

.booking-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, border-color 0.35s ease-in-out;
}

.booking-step:hover {
  border-color: rgba(217, 119, 6, 0.28);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.booking-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.booking-step strong {
  display: block;
  color: var(--navy);
}

.booking-step p {
  grid-column: 2;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.booking-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.booking-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

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

.booking-facts span,
.price-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef4fb;
  font-size: 0.78rem;
  font-weight: 900;
}

.price-label {
  margin-right: 8px;
  color: #fff;
  background: var(--maroon);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.inventory-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.inventory-note strong {
  color: var(--maroon);
}

.room-jump-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.room-jump-nav a {
  min-width: 104px;
  padding: 9px 14px;
  border: 1px solid rgba(26, 54, 93, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out,
    border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.room-jump-nav a:hover,
.room-jump-nav a:focus-visible {
  border-color: var(--gold);
  color: #111;
  background: var(--gold-light);
  box-shadow: 0 16px 34px rgba(217, 119, 6, 0.2);
  transform: translateY(-3px);
}

.room-card,
.feature-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.room-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
  will-change: transform;
}

.room-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.room-card.selected {
  border-color: var(--gold);
  box-shadow: 0 22px 52px rgba(217, 119, 6, 0.2);
}

.room-image {
  min-height: 250px;
  overflow: hidden;
  transition: transform 0.45s ease-in-out;
}

.room-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease-in-out;
}

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

.room-body {
  flex: 1;
  padding: 24px;
}

.room-body p {
  color: var(--muted);
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.amenities span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef4fb;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.amenities span:hover {
  background: #fdecc8;
  transform: translateY(-2px);
}

.room-footer {
  justify-content: space-between;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
}

.room-footer strong {
  width: 100%;
  color: var(--maroon);
}

.room-detail-panel {
  width: min(1180px, 100%);
  margin: 42px auto 0;
  scroll-margin-top: 120px;
}

.room-compare {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
}

.room-compare-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.room-compare-heading h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.room-compare-table {
  display: grid;
  gap: 8px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.25fr 1.35fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 7px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 0.92rem;
  transition: transform 0.28s ease-in-out, border-color 0.28s ease-in-out, background 0.28s ease-in-out;
}

.compare-row:hover {
  border-color: rgba(217, 119, 6, 0.28);
  background: #fff7ed;
  transform: translateX(4px);
}

.compare-head {
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.compare-head:hover {
  background: var(--navy);
  transform: none;
}

.compare-row span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.compare-head span:first-child {
  color: #fff;
}

.compare-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #111;
  background: var(--gold);
  font-weight: 900;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.compare-row a:hover {
  background: var(--gold-light);
  transform: scale(1.04);
}

.room-detail {
  display: none;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.room-detail.active {
  display: grid;
  animation: detailIn 0.45s ease-in-out;
}

.room-detail-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.room-detail-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.room-detail-copy ul {
  margin: 20px 0 26px;
  padding-left: 20px;
  color: var(--muted);
}

.room-detail-copy li + li {
  margin-top: 8px;
}

.room-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.55fr);
  grid-template-rows: repeat(3, 132px);
  gap: 10px;
}

.room-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  cursor: zoom-in;
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.room-detail-gallery img:first-child {
  grid-row: 1 / -1;
}

.room-detail-gallery img:hover,
.room-detail-gallery img:focus-visible {
  filter: brightness(0.92);
  transform: scale(1.015);
  outline: 3px solid rgba(217, 119, 6, 0.4);
  outline-offset: -3px;
}

.notice-section {
  padding: 0 clamp(20px, 6vw, 84px);
}

.notice-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 8px;
  background: #fff7ed;
  box-shadow: 0 18px 48px rgba(217, 119, 6, 0.13);
}

.notice-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
  font-weight: 900;
}

.notice-card p {
  margin: 0;
}

.package-section {
  background: #fff;
}

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

.package-card,
.policy-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.package-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, border-color 0.35s ease-in-out;
}

.package-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--gold);
}

.package-card:hover,
.policy-card:hover {
  border-color: rgba(217, 119, 6, 0.34);
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.package-tag,
.review-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card p,
.package-card li,
.policy-card p,
.faq-item p {
  color: var(--muted);
}

.package-card ul {
  margin: 18px 0 24px;
  padding-left: 20px;
}

.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, minmax(0, 0.9fr));
  grid-auto-rows: 250px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease-in-out;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.gallery-item figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  border-radius: 7px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.88rem;
  font-weight: 800;
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.why-section {
  background: linear-gradient(180deg, #f9fafb, #eef4fb);
}

.policy-section,
.faq-section {
  background: #f8fafc;
}

.policy-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, border-color 0.35s ease-in-out;
}

.policy-card h3 {
  font-size: 1.25rem;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
  transition: transform 0.35s ease-in-out, background 0.35s ease-in-out;
}

.feature-card:hover .feature-icon {
  background: var(--gold);
  transform: rotate(-4deg) scale(1.06);
}

.feature-card p,
.attraction-copy p,
.testimonial-card p,
.footer p {
  color: var(--muted);
}

.attraction-list {
  display: grid;
  gap: 34px;
}

.attraction-row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(22px, 5vw, 62px);
  align-items: center;
}

.attraction-row.reverse {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
}

.attraction-row.reverse .attraction-image {
  order: 2;
}

.attraction-image {
  min-height: 340px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.temple-image {
  background-image: url("assets/tiruchendur-temple.jpg");
}

.front-image {
  background-image: url("assets/front-night.jpg");
}

.room-showcase-image {
  background-image: url("assets/room-family-wide.jpg");
}

.attraction-copy span {
  color: var(--gold);
  font-weight: 900;
}

.attraction-copy h3 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

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

.destination-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.destination-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  content: "";
  background: var(--gold);
  transition: width 0.35s ease-in-out;
}

.destination-card:hover {
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 24px 54px rgba(17, 24, 39, 0.13);
  transform: translateY(-8px);
}

.destination-card:hover::before {
  width: 100%;
}

.destination-distance {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.destination-card h3 {
  font-size: 1.35rem;
}

.destination-card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 800;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.image-lightbox {
  width: min(1060px, calc(100% - 32px));
  max-width: none;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: #0b1422;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.image-lightbox[open] {
  animation: lightboxIn 0.28s ease-in-out;
}

.image-lightbox::backdrop {
  background: rgba(3, 8, 16, 0.84);
  backdrop-filter: blur(8px);
}

.image-lightbox img {
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
}

.image-lightbox p {
  margin: 12px 52px 2px 4px;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 10, 18, 0.72);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.reviews-section {
  background: var(--navy);
  color: #fff;
}

.reviews-section .section-heading p:last-child,
.reviews-section .testimonial-card p {
  color: rgba(255, 255, 255, 0.78);
}

.google-review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(980px, 100%);
  margin: 0 auto 24px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.google-review-panel h3 {
  font-size: 1.35rem;
}

.google-review-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.review-badge {
  color: #111;
  background: var(--gold-light);
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 900px) 48px;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.testimonial-window {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.stars {
  color: var(--gold-light);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.testimonial-card p {
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.carousel-btn {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 2rem;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.carousel-btn:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.16);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-info {
  padding: clamp(28px, 5vw, 54px);
}

.contact-info address,
.contact-info p {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  color: var(--muted);
  font-style: normal;
}

.contact-info strong {
  color: var(--ink);
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.faq-item:hover {
  border-color: rgba(217, 119, 6, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  float: right;
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  animation: faqOpen 0.28s ease-in-out;
}

.map-wrap iframe {
  height: 100%;
  min-height: 480px;
  border: 0;
}

.footer {
  padding: 64px clamp(20px, 6vw, 84px) 24px;
  color: rgba(255, 255, 255, 0.74);
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
}

.footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s ease-in-out;
}

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

.footer-brand {
  margin-bottom: 14px;
}

.socials a {
  display: grid !important;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-weight: 900;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.mobile-booking-bar {
  position: fixed;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.88);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.mobile-booking-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
}

.mobile-booking-bar .primary {
  color: #111;
  background: var(--gold);
}

.floating-actions a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.24);
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.floating-actions svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-actions a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 46px rgba(17, 24, 39, 0.32);
}

.float-location {
  background: #1a365d;
}

.float-whatsapp {
  background: #16a34a;
}

.float-phone {
  background: #d97706;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes detailIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(217, 119, 6, 0);
  }
}

@keyframes seaDrift {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1.02);
  }
  to {
    transform: translate3d(1.5%, -2%, 0) scale(1.04);
  }
}

@keyframes gopuramRise {
  from {
    opacity: 0;
    transform: translate3d(0, 34%, 0) scale(0.92);
  }
  to {
    opacity: 0.48;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes templeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateY(0deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotateY(-2deg);
  }
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto auto auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(16px, 4vw, 56px);
    left: clamp(16px, 4vw, 56px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 8px;
    background: rgba(14, 34, 61, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .room-grid,
  .feature-grid,
  .gallery-grid,
  .footer-grid,
  .attraction-grid,
  .trust-strip,
  .package-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-panel {
    grid-template-columns: 1fr;
  }

  .booking-steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-item.large {
    grid-row: span 1;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: calc(10px + env(safe-area-inset-top)) 10px 10px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .whatsapp-cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }

  .hero {
    min-height: 100svh;
    padding: calc(148px + env(safe-area-inset-top)) 18px calc(86px + env(safe-area-inset-bottom));
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 19, 34, 0.84), rgba(7, 19, 34, 0.58) 58%, rgba(7, 19, 34, 0.8));
  }

  .hero-3d {
    opacity: 0.9;
  }

  .hero-gopuram-fallback {
    right: 4%;
    bottom: 12%;
    width: min(58vw, 260px);
    opacity: 0.5;
  }

  .hero-status {
    right: 20px;
    left: 20px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .room-grid,
  .feature-grid,
  .gallery-grid,
  .footer-grid,
  .contact-panel,
  .attraction-row,
  .attraction-row.reverse,
  .trust-strip,
  .package-grid,
  .policy-grid,
  .faq-grid,
  .google-review-panel {
    grid-template-columns: 1fr;
  }

  .room-compare {
    overflow-x: auto;
  }

  .room-compare-heading {
    display: block;
  }

  .compare-row {
    min-width: 820px;
  }

  .booking-panel-section {
    padding: 24px 16px 0;
  }

  .booking-panel {
    padding: 20px;
  }

  .booking-facts {
    grid-template-columns: 1fr;
  }

  .google-review-panel .btn {
    width: 100%;
  }

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

  .attraction-row.reverse .attraction-image {
    order: 0;
  }

  .attraction-image {
    min-height: 260px;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .notice-card {
    grid-template-columns: 1fr;
  }

  .room-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 210px 145px 145px;
  }

  .room-detail-gallery img:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .floating-actions {
    display: none;
  }

  .mobile-booking-bar {
    display: grid;
  }

  .section {
    padding: 64px 16px;
  }

  .room-detail {
    padding: 18px;
  }

  .room-footer .btn,
  .room-footer button {
    flex: 1 1 100%;
  }

  .map-wrap iframe {
    min-height: 340px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.35rem, 13vw, 3.35rem);
  }

  h2 {
    font-size: 2rem;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 42px;
    height: 36px;
  }

  .hero-copy {
    margin: 18px 0 24px;
  }

  .hero-proof {
    gap: 7px;
    margin-bottom: 20px;
  }

  .hero-proof span {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .hero-status {
    bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .hero-status span {
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  .room-image,
  .room-image img {
    height: 220px;
    min-height: 220px;
  }

  .room-body {
    padding: 20px;
  }

  .room-footer {
    padding: 16px 20px 20px;
  }

  .room-detail-gallery {
    grid-template-rows: 190px 132px 132px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
}

@media (display-mode: standalone) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

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