/* ================================================
   RED INN COURT — Heritage Eco-Guesthouse
   Color: White & Heritage Red (#9C0A00)
   Fonts: Cormorant Garamond (display) + Work Sans (body)
   ================================================ */

/* --- Company Font --- */
@font-face {
  font-family: 'Christopherhand';
  src: url('./assets/fonts/Christopherhand.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: #1A1A1A;
  background-color: #FAFAF8;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(156, 10, 0, 0.15);
  color: #1A1A1A;
}

:focus-visible {
  outline: 2px solid #9C0A00;
  outline-offset: 3px;
  border-radius: 4px;
}

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

button { cursor: pointer; background: none; border: none; }

a, button, [role="button"], [role="link"], input, textarea, select {
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Design Tokens --- */
:root {
  --red: #9C0A00;
  --red-dark: #7A0800;
  --red-light: #C41400;
  --red-bg: #FFF5F4;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE2;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-700: #3D3D3D;
  --gray-500: #6B6B6B;
  --gray-300: #B0B0B0;
  --gray-100: #EDEDED;
  --gold: #C8A456;
  --gold-light: #E8D5A0;

  --font-brand: 'Christopherhand', cursive;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  z-index: 999;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo .logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}
.nav-link:hover {
  color: var(--red);
  background: var(--red-bg);
}
.nav-link.active {
  color: var(--red);
}
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger {
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* --- Mobile Nav --- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-list.open {
    transform: translateX(0);
  }
  .nav-link {
    font-size: 16px;
    padding: 14px 16px;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-sm:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 15px;
}

/* --- Section Common --- */
.section {
  padding: clamp(64px, 8vw, 120px) 0;
}
.section-header {
  text-align: left;
  margin-bottom: clamp(32px, 5vw, 64px);
  max-width: 700px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem);
  font-weight: normal;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-desc {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 0;
}

/* --- Hero --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--red-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* hero-bg-img base opacity is handled by banner slideshow animation */
.hero-bg-img {
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(122, 8, 0, 0.85) 0%,
    rgba(156, 10, 0, 0.75) 50%,
    rgba(26, 26, 26, 0.9) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 800px;
}
.hero-logo-wrapper {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.hero-logo {
  height: clamp(200px, 30vh, 320px);
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}
.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  font-weight: normal;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.8rem + 1.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}
.hero-subtitle {
  font-size: clamp(0.85rem, 0.75rem + 0.5vw, 1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* --- Promo Banner (Hero) --- */
.promo-banner {
  margin-top: 24px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: inline-block;
}
.promo-banner .promo-code {
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  font-size: 15px;
}
.promo-icon {
  font-style: normal;
  margin-right: 4px;
}

/* --- Promo Strip (Rooms section) --- */
.promo-strip {
  background: var(--red-bg);
  border: 1px solid rgba(156, 10, 0, 0.15);
  border-left: 4px solid var(--red);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 28px;
}
.promo-strip .promo-code {
  font-family: var(--font-body);
  background: var(--red);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  font-size: 13px;
}

/* --- Promo Reminder (Contact CTA) --- */
.promo-reminder {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-500);
}
.promo-reminder .promo-code {
  font-family: var(--font-body);
  background: var(--red);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  font-size: 13px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.5);
}
.scroll-text {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(6px); }
  60% { transform: rotate(45deg) translateY(3px); }
}

/* --- About --- */
.about-section {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-text p {
  margin-bottom: 20px;
  color: var(--gray-700);
  line-height: 1.8;
}
.about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
  font-weight: 500;
  color: var(--black) !important;
  line-height: 1.6 !important;
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin-bottom: 28px !important;
}
.about-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1;
  }
}

/* --- Rooms --- */
.rooms-section {
  background: var(--cream);
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.room-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.room-card:hover .room-image img {
  transform: scale(1.03);
}
.room-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.room-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.room-name {
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.room-size {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.room-desc {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  list-style: none;
}
.room-features li {
  font-size: 12px;
  color: var(--gray-500);
  padding: 4px 10px;
  background: var(--cream);
  border-radius: 100px;
  max-width: none;
}

/* --- Amenities --- */
.amenities-section {
  background: var(--white);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.amenity-card {
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  transition: box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.amenity-card:hover {
  box-shadow: var(--shadow-md);
}
.amenity-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
}
.amenity-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.amenity-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Image Divider --- */
.image-divider {
  width: 100%;
  overflow: hidden;
}
.image-divider img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .image-divider {
    /* On mobile, give the image a fixed height container so the full image
       is visible without side-cropping */
  }
  .image-divider img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* --- Eco Section --- */
.eco-section {
  background: var(--red);
  color: var(--white);
}
.eco-section .section-label {
  color: var(--gold-light);
}
.eco-section .section-title {
  color: var(--white);
}
.eco-section .section-desc {
  color: rgba(255, 255, 255, 0.75);
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 32px;
}
.eco-item {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.eco-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  margin-bottom: 8px;
  line-height: 1;
}
.eco-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.eco-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* --- Gallery --- */
.gallery-section {
  background: var(--cream);
}
.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.gallery-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-tab:hover {
  color: var(--red);
  border-color: var(--red);
}
.gallery-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}
.gallery-grid[hidden] {
  display: none;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  font-size: 32px;
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 180ms ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-close { top: 24px; right: 24px; font-size: 28px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 36px; }

/* --- Location --- */
.location-section {
  background: var(--white);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.location-address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 32px;
}
.location-address strong {
  font-family: var(--font-brand);
  font-size: 1.75rem;
  color: var(--black);
  display: block;
  margin-bottom: 0;
}
.nearby-attractions {
  margin-bottom: 32px;
}
.nearby-attractions h3 {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: normal;
  color: var(--black);
  margin-bottom: 12px;
}
.nearby-attractions ul {
  list-style: none;
}
.nearby-attractions li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  color: var(--gray-700);
  max-width: none;
}
.nearby-attractions li strong {
  color: var(--black);
}
.nearby-attractions li .attraction-dist {
  color: var(--gray-500);
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.location-map iframe {
  display: block;
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact --- */
.contact-section {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--black);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-icon {
  color: var(--red);
  margin-bottom: 16px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 14px;
  color: var(--gray-500);
  max-width: none;
}
.contact-section .section-header {
  text-align: center;
  max-width: 100%;
  margin-inline: auto;
}
.contact-section .section-desc {
  margin-inline: auto;
}
.contact-section .contact-grid {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 48px;
}
.contact-cta {
  text-align: center;
}
.contact-cta p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 24px;
  max-width: 500px;
  margin-inline: auto;
}

/* --- Footer --- */
.site-footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  height: 210px;
  width: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-style: normal;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.footer-links h4,
.footer-contact h4,
.footer-review h4 {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: normal;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 180ms ease;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}
.footer-contact address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
}
.footer-contact p {
  margin-bottom: 8px;
}
.review-link {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  transition: all 180ms ease;
}
.review-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.pplx-attribution {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 12px;
}
.pplx-attribution:hover {
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Ken Burns Effect on Hero --- */
@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  25% { transform: scale(1.08) translate(-1%, -0.5%); }
  50% { transform: scale(1.12) translate(-0.5%, -1%); }
  75% { transform: scale(1.06) translate(0.5%, -0.5%); }
  100% { transform: scale(1) translate(0, 0); }
}
/* --- Parallax-style slow drift on about image --- */
@keyframes gentleDrift {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}
.about-image img {
  animation: gentleDrift 8s ease-in-out infinite;
}

/* --- Image divider parallax scroll effect (disabled — was zooming too much) --- */

/* --- Room card image shimmer on hover --- */
.room-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.room-card:hover .room-image::after {
  left: 100%;
}

/* --- Gallery item hover lift + glow --- */
.gallery-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(156, 10, 0, 0.12);
}

/* --- Amenity card icon pulse on hover --- */
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.amenity-card:hover .amenity-icon {
  animation: iconPulse 0.6s ease;
}

/* --- Eco section number subtle glow --- */
@keyframes numberGlow {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.35; }
}
.eco-number {
  animation: numberGlow 4s ease-in-out infinite;
}

/* --- Contact card icon float --- */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.contact-card:hover .contact-icon {
  animation: iconFloat 1.2s ease-in-out infinite;
}

/* --- Hero logo subtle float --- */
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-logo {
  animation: heroLogoFloat 4s ease-in-out infinite;
}

/* --- Staggered fade-in for section children --- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Banner slideshow for hero (CSS-only crossfade) --- */
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: bannerFade 30s infinite, kenBurns 25s ease-in-out infinite;
}
.hero-bg img:nth-child(1) { animation-delay: 0s, 0s; }
.hero-bg img:nth-child(2) { animation-delay: 6s, 2s; }
.hero-bg img:nth-child(3) { animation-delay: 12s, 4s; }
.hero-bg img:nth-child(4) { animation-delay: 18s, 6s; }
.hero-bg img:nth-child(5) { animation-delay: 24s, 8s; }

@keyframes bannerFade {
  0% { opacity: 0; }
  3% { opacity: 0.35; }
  17% { opacity: 0.35; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

/* --- Scroll Reveal Animations --- */
@supports (animation-timeline: scroll()) {
  .fade-in-section {
    opacity: 0;
    animation: fadeInUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  @keyframes fadeInUp {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: scroll()) {
  .fade-in-section {
    opacity: 1;
  }
}
