/* ==========================================================================
   Debansh Palace — Coastal Hospitality Stylesheet (CSS3)
   A Unit of Divine Orbit Hospitality | Sea Beach, Puri, Odisha
   ========================================================================== */

:root {
  /* 60% Neutral Canvas */
  --bg-canvas: #fafbfd;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;

  /* 30% Structural Coastal Surfaces */
  --navy-deep: #0b2545;
  --navy-mid: #133863;
  --slate-ink: #0f1e33;
  --slate-body: #334155;
  --slate-muted: #64748b;

  /* 10% Focused Accents (Ocean Blue + Burnished Gold) */
  --ocean-primary: #0e5a8a;
  --ocean-hover: #094469;
  --ocean-tint: #eaf2f8;
  --gold-accent: #b8862d;
  --gold-text: #855e17;
  --gold-tint: #f8f2e4;

  /* Semantic States (always paired with text/icons) */
  --success-bg: #ecfdf5;
  --success-text: #065f46;
  --warning-bg: #fffbeb;
  --warning-text: #92400e;
  --danger-bg: #fef2f2;
  --danger-text: #991b1b;

  /* Hairline Borders & Single-Level Elevation */
  --border-hairline: rgba(11, 37, 69, 0.11);
  --border-strong: rgba(11, 37, 69, 0.22);
  --shadow-card: 0 1px 3px rgba(11, 37, 69, 0.05), 0 8px 24px rgba(11, 37, 69, 0.04);
  --shadow-modal: 0 20px 50px rgba(11, 37, 69, 0.22);

  /* Typography — Editorial Luxury Serif + Architectural Sans + Folio Mono */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  /* Radii & Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container-max: 1200px;
  --header-height: 70px;
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-sans);
  font-feature-settings: "kern" 1, "liga" 1;
  background-color: var(--bg-canvas);
  color: var(--slate-ink);
  line-height: 1.62;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

button,
.btn {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Accessibility Focus Rings */
:focus-visible {
  outline: 2px solid var(--ocean-primary);
  outline-offset: 2px;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 24px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Top Navigation Bar (Strict 3-Zone Contract)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-img {
  width: auto;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--navy-deep);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--slate-body);
  white-space: nowrap;
  flex-shrink: 0;
  padding-block: 6px;
  position: relative;
  transition: color 160ms var(--ease-settle);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background-color: var(--gold-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease-settle);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-deep);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  color: var(--navy-deep);
}

.mobile-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
  padding: 16px 24px 20px;
}

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

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-links .nav-link {
  padding-block: 8px;
  border-bottom: 1px solid var(--border-hairline);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 160ms var(--ease-settle), border-color 160ms var(--ease-settle), color 160ms var(--ease-settle), transform 160ms var(--ease-settle);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--ocean-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--ocean-hover);
}

.btn-gold {
  background-color: var(--gold-accent);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: #9e7122;
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--navy-deep);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--navy-deep);
}

.btn-ghost-light {
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-danger-outline {
  background: transparent;
  color: var(--danger-text);
  border-color: rgba(153, 27, 27, 0.25);
}

.btn-danger-outline:hover {
  background: var(--danger-bg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy-deep);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0b2545 0%, #0e5a8a 65%, #164e63 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(11, 37, 69, 0.9) 0%,
    rgba(11, 37, 69, 0.56) 48%,
    rgba(11, 37, 69, 0.24) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 72px 60px;
  max-width: 780px;
  color: #ffffff;
}

.hero-kicker {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f3dfb6;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.7vw, 4.15rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-feature-settings: "kern" 1, "liga" 1;
  text-wrap: balance;
  margin-bottom: 18px;
}

.hero-title-italic {
  font-style: italic;
  font-weight: 600;
  color: #f6e4bc;
}

.hero-subtitle {
  font-size: 1.06rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Property Strip Immediately Below Hero */
.property-strip {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-item {
  padding: 22px 20px;
  border-right: 1px solid var(--border-hairline);
}

.strip-item:last-child {
  border-right: none;
}

.strip-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-text);
  margin-bottom: 4px;
}

.strip-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.strip-note {
  font-size: 0.82rem;
  color: var(--slate-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */
.section {
  padding-block: 76px;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.section-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.1vw, 2.7rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  text-wrap: balance;
}

.section-lead {
  font-size: 0.98rem;
  color: var(--slate-body);
  max-width: 58ch;
  margin-top: 10px;
}

/* ==========================================================================
   Rooms Showcase
   ========================================================================== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.room-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.room-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #133863 0%, #0e5a8a 100%);
  overflow: hidden;
}

.room-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms var(--ease-settle);
}

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

.room-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-meta-line {
  font-size: 0.82rem;
  color: var(--slate-muted);
  margin-bottom: 8px;
}

.room-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.room-desc {
  font-size: 0.94rem;
  color: var(--slate-body);
  margin-bottom: 20px;
}

.room-inclusions-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  padding-block: 16px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 22px;
  font-size: 0.86rem;
  color: var(--slate-body);
}

.room-inclusions-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-inclusions-list li::before {
  content: '—';
  color: var(--gold-accent);
  font-weight: 600;
}

.room-footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.room-rate-label {
  font-size: 0.78rem;
  color: var(--slate-muted);
}

.room-rate-value {
  font-size: 1.28rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--navy-deep);
}

.room-rate-sub {
  font-size: 0.76rem;
  color: var(--slate-muted);
}

/* ==========================================================================
   Seasonal Tariff Table
   ========================================================================== */
.tariff-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.tariff-table th {
  background-color: var(--navy-deep);
  color: #ffffff;
  font-weight: 600;
  padding: 15px 20px;
  white-space: nowrap;
}

.tariff-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--slate-body);
  vertical-align: middle;
}

.tariff-table tbody tr:last-child td {
  border-bottom: none;
}

.tariff-table tbody tr:hover {
  background-color: var(--ocean-tint);
}

.tariff-tier-name {
  font-weight: 600;
  color: var(--navy-deep);
}

.tariff-tier-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-muted);
  margin-top: 2px;
}

.tariff-note-bar {
  padding: 14px 20px;
  background-color: var(--gold-tint);
  border-top: 1px solid var(--border-hairline);
  font-size: 0.84rem;
  color: var(--gold-text);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   Amenities Split Showcase
   ========================================================================== */
.amenities-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: stretch;
}

.amenities-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: linear-gradient(135deg, #0b2545 0%, #0e5a8a 100%);
  min-height: 360px;
}

.amenities-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

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

.amenity-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
}

.amenity-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-text);
  margin-bottom: 6px;
}

.amenity-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.amenity-desc {
  font-size: 0.86rem;
  color: var(--slate-body);
}

/* ==========================================================================
   Property Photo Gallery & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform 200ms var(--ease-settle), border-color 200ms var(--ease-settle);
}

.gallery-card:hover {
  transform: translateY(-2px);
  border-color: var(--ocean-primary);
}

.gallery-thumb-wrap {
  aspect-ratio: 4 / 3;
  background-color: var(--navy-deep);
  overflow: hidden;
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-settle);
}

.gallery-card:hover .gallery-thumb-wrap img {
  transform: scale(1.03);
}

.gallery-caption {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gallery-caption-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.gallery-caption-sub {
  font-size: 0.78rem;
  color: var(--slate-muted);
}

.lightbox-image-wrap {
  background-color: var(--navy-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}

.lightbox-image-wrap img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

/* ==========================================================================
   Dynamic Booking Engine & Price Calculator
   ========================================================================== */
.booking-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.booking-form-card,
.booking-summary-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.booking-summary-card {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.form-block-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-hairline);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-grid-2 .form-field,
.form-grid-3 .form-field {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.form-hint {
  font-size: 0.77rem;
  color: var(--slate-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--slate-ink);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ocean-primary);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(14, 90, 138, 0.12);
}

.form-textarea {
  min-height: 82px;
  resize: vertical;
}

.form-error {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--danger-bg);
  color: var(--danger-text);
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.form-error.visible {
  display: block;
}

/* Summary & UPI Payment Box */
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate-body);
}

.summary-total-box {
  padding-block: 16px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 20px;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.summary-total-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.summary-total-amount {
  font-size: 1.45rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ocean-primary);
}

.summary-gst-note {
  font-size: 0.78rem;
  color: var(--slate-muted);
  margin-top: 4px;
}

.upi-payment-panel {
  background-color: var(--ocean-tint);
  border: 1px solid rgba(14, 90, 138, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.upi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.upi-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.upi-qr-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.upi-qr-box {
  width: 120px;
  height: 120px;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upi-qr-box svg,
.upi-qr-box img {
  width: 100%;
  height: 100%;
  display: block;
}

.upi-id-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep);
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 8px;
  word-break: break-all;
}

.upi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Location & Contact Section
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}

.contact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-hairline);
}

.contact-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-text);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.96rem;
  color: var(--navy-deep);
  font-weight: 500;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 4px;
}

.contact-link {
  color: var(--ocean-primary);
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.map-frame-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-surface);
  min-height: 380px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.map-frame-wrap iframe {
  width: 100%;
  flex: 1;
  min-height: 320px;
  border: 0;
}

.map-footer-bar {
  padding: 12px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--slate-body);
}

/* ==========================================================================
   Footer (Clean & Quiet)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.footer-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f3dfb6;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.74);
  max-width: 42ch;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Confirmation & Email Simulation Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(11, 37, 69, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-dialog {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  border: 1px solid var(--border-hairline);
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success-text);
  margin-bottom: 4px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.modal-close-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background: var(--bg-canvas);
  color: var(--navy-deep);
  font-size: 1.2rem;
  line-height: 1;
}

.modal-close-btn:hover {
  background: var(--bg-subtle);
}

.modal-body {
  padding: 24px 28px;
}

.receipt-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.receipt-cell-label {
  font-size: 0.74rem;
  color: var(--slate-muted);
  margin-bottom: 2px;
}

.receipt-cell-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
}

/* Email Simulation Tabs */
.email-sim-section {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.email-sim-tabs {
  display: flex;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
  padding: 6px;
  gap: 6px;
}

.email-tab-btn {
  flex: 1;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--slate-body);
  transition: background-color 150ms ease, color 150ms ease;
}

.email-tab-btn.active {
  background: var(--bg-surface);
  color: var(--navy-deep);
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.08);
}

.email-preview-pane {
  padding: 18px;
  background: var(--bg-surface);
  font-size: 0.86rem;
}

.email-meta-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.82rem;
  color: var(--slate-body);
}

.email-body-pre {
  white-space: pre-wrap;
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--slate-ink);
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Admin Portal Styles (admin.html)
   ========================================================================== */
.admin-main {
  min-height: calc(100vh - var(--header-height) - 96px);
  padding-block: 48px;
}

.login-shell {
  max-width: 440px;
  margin: 40px auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.login-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.login-sub {
  font-size: 0.9rem;
  color: var(--slate-body);
  margin-bottom: 24px;
}

.password-row {
  position: relative;
  display: flex;
  align-items: center;
}

.password-row .form-input {
  padding-right: 72px;
}

.password-toggle-btn {
  position: absolute;
  right: 8px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  color: var(--navy-deep);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.kpi-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.kpi-label {
  font-size: 0.82rem;
  color: var(--slate-muted);
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 1.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--navy-deep);
}

.admin-toolbar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.toolbar-filters .form-input {
  max-width: 280px;
  min-height: 38px;
}

.toolbar-filters .form-select {
  max-width: 200px;
  min-height: 38px;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-table-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.87rem;
}

.admin-table th {
  background-color: var(--bg-subtle);
  color: var(--navy-deep);
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-hairline);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

.status-select {
  min-height: 34px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 600;
  background-color: var(--bg-surface);
}

.status-select[data-status="Confirmed"],
.status-select[data-status="Checked In"] {
  background-color: var(--success-bg);
  color: var(--success-text);
  border-color: rgba(6, 95, 70, 0.25);
}

.status-select[data-status="Pending Verification"] {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  border-color: rgba(146, 64, 14, 0.25);
}

.status-select[data-status="Cancelled"] {
  background-color: var(--danger-bg);
  color: var(--danger-text);
  border-color: rgba(153, 27, 27, 0.25);
}

.empty-state {
  padding: 56px 24px;
  text-align: center;
  color: var(--slate-body);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 0.92rem;
  color: var(--slate-muted);
  margin-bottom: 18px;
}

/* ==========================================================================
   Floating WhatsApp Widget
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  background-color: #166534;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.24);
  transition: transform 180ms var(--ease-settle), background-color 180ms var(--ease-settle);
}

.whatsapp-fab:hover {
  background-color: #14532d;
  transform: translateY(-2px);
}

.whatsapp-fab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-item:nth-child(2) {
    border-right: none;
  }
  .strip-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-hairline);
  }
  .booking-layout,
  .amenities-split,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .booking-summary-card {
    position: static;
  }
  .kpi-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 16px;
  }
  .nav-links,
  .header-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .rooms-grid,
  .amenities-grid,
  .gallery-grid,
  .form-grid-2,
  .form-grid-3,
  .receipt-summary-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .room-inclusions-list {
    grid-template-columns: 1fr;
  }
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .strip-item {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
  }
  .strip-item:last-child {
    border-bottom: none;
  }
  .section {
    padding-block: 48px;
  }
  .hero-section {
    min-height: 460px;
  }
  .hero-content {
    padding-block: 48px 40px;
  }
  .booking-form-card,
  .booking-summary-card,
  .contact-card,
  .room-body,
  .login-shell {
    padding: 20px;
  }
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }
  .upi-qr-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 16px 18px;
  }
  .whatsapp-fab {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    height: 44px;
    padding: 0 14px;
  }
  .whatsapp-fab-label {
    display: none;
  }
}

.table-scroll,
.modal-dialog {
  -webkit-overflow-scrolling: touch;
}

.modal-dialog {
  overscroll-behavior: contain;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

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

/* Print Stylesheet for Booking Confirmation Receipts */
@media print {
  .site-header,
  .whatsapp-fab,
  .modal-footer,
  .modal-close-btn,
  .email-sim-tabs,
  main,
  footer {
    display: none !important;
  }
  .modal-backdrop {
    position: static;
    display: block !important;
    background: #ffffff;
    padding: 0;
  }
  .modal-dialog {
    box-shadow: none;
    border: none;
    max-height: none;
    max-width: 100%;
  }
}
