/* ============================================================
   HERMISTON INN & SUITES — Main Stylesheet
   style.css
   ============================================================
   TABLE OF CONTENTS
   1.  CSS Custom Properties (Theme Variables)
   2.  Reset & Base
   3.  Typography
   4.  Utility Classes
   5.  Navigation
   6.  Hero
   7.  Section Layouts
   8.  Specials & Promotions
   9.  Direct Booking Benefits
   10. Room Cards
   11. Photo Gallery & Lightbox
   12. Amenities Grid
   13. Contact Page
   14. Rooms Page
   15. Special / VIP Page
   16. Terms & Privacy Pages
   17. Footer
   18. Responsive — Tablet (≤900px)
   19. Responsive — Mobile (≤600px)
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary:     #1a2e4a;   /* Deep navy */
  --color-accent:      #c8922a;   /* Warm gold */
  --color-accent-dark: #a97520;   /* Gold hover */
  --color-cream:       #f9f5ef;   /* Warm off-white background */
  --color-light:       #ffffff;
  --color-dark:        #1a1a1a;
  --color-gray:        #6b7280;
  --color-gray-light:  #e5e7eb;
  --color-border:      #d1c9bc;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

  /* Spacing Scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;

  /* Effects */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.18);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --transition: 0.25s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}

.section--cream {
  background-color: var(--color-cream);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-light);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-light);
  border: 2px solid var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-light);
  border: 2px solid var(--color-light);
}

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

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-light);
}

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

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo__img {
  height: 44px;
  width: auto;
}

.nav-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.nav-logo__sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

/* CTA */
.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--color-light);
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  flex-direction: column;
  gap: var(--space-xs);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.nav-mobile a:hover {
  background-color: var(--color-cream);
  color: var(--color-accent);
}

.nav-mobile .btn {
  margin-top: var(--space-xs);
  width: 100%;
}

/* Spacer so content isn't hidden under fixed nav */
.nav-spacer {
  height: var(--nav-height);
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 46, 74, 0.4) 0%,
    rgba(26, 46, 74, 0.65) 60%,
    rgba(26, 46, 74, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  background-color: rgba(200, 146, 42, 0.15);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(200, 146, 42, 0.4);
}

.hero__title {
  color: var(--color-light);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero__subtitle {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-lg);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   7. SECTION LAYOUTS
   ============================================================ */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header.text-center .section-subtitle {
  margin-inline: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.card-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ============================================================
   8. SPECIALS & PROMOTIONS
   ============================================================ */
#specials-section {
  background-color: var(--color-primary);
  padding-block: var(--space-xl);
}

#specials-section.hidden {
  display: none;
}

.specials-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.specials-header h2 {
  color: var(--color-light);
}

.specials-header p {
  color: rgba(255,255,255,0.75);
}

.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.special-card {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(200, 146, 42, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background-color var(--transition);
}

.special-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
}

.special-card:hover {
  border-color: var(--color-accent);
  background-color: rgba(255,255,255,0.09);
}

.special-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.special-card h3 {
  color: var(--color-light);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.special-card p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.special-code-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.special-code-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.special-code {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(200, 146, 42, 0.18);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.85rem;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color var(--transition);
  user-select: none;
}

.special-code:hover {
  background-color: rgba(200, 146, 42, 0.3);
}

.copy-icon {
  font-size: 0.8rem;
  opacity: 0.7;
}

.copy-toast {
  font-size: 0.75rem;
  color: #4ade80;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show { opacity: 1; }

.special-expires {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.4rem;
  margin-bottom: var(--space-sm);
}

/* --- Card glow animation ------------------------------------ */
@keyframes card-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 146, 42, 0); }
  50%       { box-shadow: 0 0 18px 2px rgba(200, 146, 42, 0.18); }
}
.special-card {
  animation: card-glow 3.5s ease-in-out infinite;
}
.special-card:hover {
  animation: none;
  box-shadow: 0 0 22px 4px rgba(200, 146, 42, 0.28);
}

/* ============================================================
   HERO DEALS CHIP
============================================================ */
@keyframes chip-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 146, 42, 0.5); }
  60%       { box-shadow: 0 0 0 7px rgba(200, 146, 42, 0); }
}
.hero__deals-chip {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(200, 146, 42, 0.18);
  border: 1.5px solid var(--color-accent);
  border-radius: 30px;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  animation: chip-pulse 2.4s ease-in-out infinite;
  transition: background 0.2s, color 0.2s;
}
.hero__deals-chip:hover {
  background: var(--color-accent);
  color: #fff;
  animation: none;
}

/* ============================================================
   9. DIRECT BOOKING BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.benefit-card {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(200, 146, 42, 0.12);
  border-radius: 50%;
  color: var(--color-accent);
}

.benefit-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* ============================================================
   10. ROOM CARDS
   ============================================================ */
.room-card {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.room-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--color-gray-light);
}

.room-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.room-card:hover .room-card__img-wrap img {
  transform: scale(1.05);
}

.room-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-card__name {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.room-card__desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  flex: 1;
  margin-bottom: var(--space-sm);
}

.room-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}

.room-card__link:hover { gap: 0.6rem; }

/* Full room listing (rooms.html) */
.room-listing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-gray-light);
}

.room-listing:last-child { border-bottom: none; }

.room-listing:nth-child(even) { direction: rtl; }
.room-listing:nth-child(even) > * { direction: ltr; }

.room-listing__img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--color-gray-light);
}

.room-listing__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-listing__badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.room-listing__title {
  margin-bottom: var(--space-sm);
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.room-feature-tag {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  color: var(--color-primary);
  font-weight: 500;
}

.room-amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: var(--space-md);
}

.room-amenity {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.room-amenity::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================================
   11. PHOTO GALLERY & LIGHTBOX
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 0.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  background-color: var(--color-gray-light);
}

.gallery-item:nth-child(4n+1) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 46, 74, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition);
}

.gallery-item__overlay span {
  color: var(--color-light);
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-item__overlay { background-color: rgba(26, 46, 74, 0.45); }
.gallery-item:hover .gallery-item__overlay span { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox.open { display: flex; }

.lightbox__inner {
  position: relative;
  max-width: 1000px;
  max-height: 85vh;
  width: 100%;
}

.lightbox__img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.1);
  color: var(--color-light);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color var(--transition);
}

.lightbox__prev { left: -64px; }
.lightbox__next { right: -64px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background-color: rgba(255,255,255,0.2);
}

.lightbox__counter {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ============================================================
   12. AMENITIES GRID
   ============================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.amenity-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.amenity-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(200, 146, 42, 0.12);
  border-radius: 50%;
  color: var(--color-accent);
  flex-shrink: 0;
}

.amenity-info h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.amenity-info p {
  font-size: 0.875rem;
  color: var(--color-gray);
}

/* ============================================================
   13. CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-block {
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-detail__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.contact-detail__value {
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 500;
}

.contact-detail__value a:hover { color: var(--color-accent); }

/* Contact form */
.contact-form {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-dark);
  background-color: var(--color-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 146, 42, 0.15);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Map */
.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================================
   14. ROOMS PAGE — hero + intro
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a6e 100%);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.page-hero h1 { color: var(--color-light); }

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-sm);
}

/* Location strip */
.location-strip {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: var(--space-lg) var(--space-md);
}

.location-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.location-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.location-detail a { color: rgba(255,255,255,0.85); }
.location-detail a:hover { color: var(--color-accent); }

/* ============================================================
   15. SPECIAL / VIP PAGE
   ============================================================ */
.vip-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #0d1b2e 0%, #1a2e4a 50%, #0d1b2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.vip-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(200,146,42,0.08) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(200,146,42,0.05) 0%, transparent 50%);
}

.vip-hero__content {
  position: relative;
  max-width: 680px;
}

.vip-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 20px;
  margin-bottom: var(--space-md);
  box-shadow: 0 2px 12px rgba(200,146,42,0.4);
}

.vip-hero h1 {
  color: var(--color-light);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-sm);
}

.vip-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.vip-code-section {
  background-color: var(--color-cream);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.vip-code-box {
  display: inline-block;
  background-color: var(--color-light);
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-md) 0 var(--space-lg);
  box-shadow: var(--shadow-md);
}

.vip-code-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* VIP PROMO CODE — change the code below to update the displayed promo code */
.vip-code-value {
  font-family: 'Courier New', monospace;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  line-height: 1;
}

.vip-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  background-color: rgba(200,146,42,0.1);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color var(--transition);
}

.vip-code-copy:hover {
  background-color: rgba(200,146,42,0.2);
}

.vip-disclaimer {
  font-size: 0.82rem;
  color: var(--color-gray);
  font-style: italic;
  max-width: 500px;
  margin-inline: auto;
  margin-top: var(--space-md);
}

/* ============================================================
   16. TERMS & PRIVACY PAGES
   ============================================================ */
.legal-content {
  max-width: 820px;
  margin-inline: auto;
  padding-block: var(--space-2xl);
  padding-inline: var(--space-md);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-lg);
  margin-bottom: 0.6rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content ul li,
.legal-content ol li {
  margin-bottom: 0.4rem;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-light);
  margin-bottom: 0.25rem;
}

.footer-brand__tagline {
  font-size: 0.82rem;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.footer-brand__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-light);
  margin-bottom: var(--space-sm);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--color-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
}

.footer-contact-icon { font-size: 1rem; flex-shrink: 0; }

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--color-accent); }

.footer-bottom {
  padding-block: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

.footer-legal-links {
  display: flex;
  gap: var(--space-sm);
}

/* ============================================================
   18. RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

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

  .room-listing:nth-child(even) { direction: ltr; }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

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

  .gallery-item:nth-child(4n+1) {
    grid-column: span 1;
  }

  .lightbox__prev { left: -50px; }
  .lightbox__next { right: -50px; }
}

/* ============================================================
   19. RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --space-xl:  3rem;
    --space-2xl: 4rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .lightbox__prev { left: 0; bottom: -60px; top: auto; transform: none; }
  .lightbox__next { right: 0; bottom: -60px; top: auto; transform: none; }

  .vip-code-box {
    padding: var(--space-md);
  }

  .location-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .card-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

/* ============================================================
   20. ROOM PHOTO GALLERIES — SLIDESHOW
   ============================================================ */

/* Thumbnail strip hidden — used only as data source by JS */
.room-thumbs { display: none; }

.room-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.room-gallery__main {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-dark);
  user-select: none;
}

.room-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

/* Prev / Next arrows */
.room-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.room-slide-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.08);
}

.room-slide-arrow--prev { left: 0.6rem; }
.room-slide-arrow--next { right: 0.6rem; }

/* Counter badge */
.room-photo-count {
  position: absolute;
  bottom: 0.65rem;
  right: 0.7rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 10;
}

/* Dot indicators */
.room-slide-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  padding: 0.15rem 0;
  flex-wrap: wrap;
}

.room-slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gray-light);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.room-slide-dot.active {
  background: var(--color-accent);
  transform: scale(1.4);
}

/* Auto-play progress bar at bottom of image */
.room-slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  width: 0%;
  transition: none;
  z-index: 10;
}

.room-slide-progress.animating {
  transition: width linear;
}

/* ============================================================
   21. ACCESSIBILITY WIDGET
============================================================ */

/* --- Floating toggle button ---------------------------------- */
.a11y-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: background 0.2s, transform 0.2s;
}
.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  background: var(--color-accent);
  transform: scale(1.08);
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* --- Active features badge ----------------------------------- */
.a11y-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f59e0b;
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* --- Panel --------------------------------------------------- */
.a11y-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 8999;
  width: 300px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  border: 1px solid var(--color-border);
  overflow: hidden;
  font-family: system-ui, sans-serif;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.a11y-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.a11y-panel__header {
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.75rem;
}
.a11y-panel__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.a11y-panel__subtitle {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-top: 2px;
}
.a11y-panel__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.a11y-panel__close:hover,
.a11y-panel__close:focus-visible { opacity: 0.7; outline: 2px solid rgba(255,255,255,0.6); }

.a11y-panel__body { padding: 0.85rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.85rem; }

.a11y-group { display: flex; flex-direction: column; gap: 0.4rem; }
.a11y-group__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-gray);
}

/* --- Text size row ------------------------------------------ */
.a11y-size-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.a11y-size-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  background: #fff;
  color: var(--color-dark);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.a11y-size-btn:hover,
.a11y-size-btn:focus-visible {
  background: var(--color-dark);
  color: #fff;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.a11y-size-mid {
  flex: 1;
  text-align: center;
}
.a11y-size-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  display: block;
  margin-bottom: 6px;
}
.a11y-size-track {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  position: relative;
}
.a11y-size-indicator {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--color-dark);
  border-radius: 50%;
  transition: left 0.15s;
}

/* --- 6-option visual grid ----------------------------------- */
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 8px;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  min-height: 68px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-family: system-ui, sans-serif;
}
.a11y-opt span {
  font-size: 1.3rem;
  line-height: 1;
}
.a11y-opt:hover,
.a11y-opt:focus-visible {
  border-color: var(--color-accent);
  background: #fdf4e0;
  outline: none;
}
.a11y-opt.active {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: #fff;
}

/* --- Reset button ------------------------------------------- */
.a11y-btn--reset {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem;
  background: #f9fafb;
  color: var(--color-text);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: system-ui, sans-serif;
  transition: background 0.15s;
}
.a11y-btn--reset:hover,
.a11y-btn--reset:focus-visible { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; outline: none; }

.a11y-persist-note {
  text-align: center;
  font-size: 0.68rem;
  color: #9ca3af;
  margin: 0.4rem 0 0;
}

/* --- High contrast mode ------------------------------------- */
html.a11y-high-contrast {
  filter: contrast(1.6) brightness(0.95);
}
html.a11y-high-contrast .a11y-toggle,
html.a11y-high-contrast .a11y-panel {
  filter: none;
}

/* --- Highlight links mode ----------------------------------- */
html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  outline-offset: 2px;
}

/* --- Dyslexia font mode ------------------------------------- */
html.a11y-dyslexia-font body {
  font-family: Arial, sans-serif !important;
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}

/* --- Grayscale mode ----------------------------------------- */
html.a11y-grayscale {
  filter: grayscale(100%);
}
html.a11y-grayscale .a11y-toggle,
html.a11y-grayscale .a11y-panel {
  filter: none;
}

/* --- Line spacing mode -------------------------------------- */
html.a11y-line-spacing p,
html.a11y-line-spacing li,
html.a11y-line-spacing td,
html.a11y-line-spacing dd,
html.a11y-line-spacing dt {
  line-height: 2 !important;
}

/* --- Big cursor mode ---------------------------------------- */
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M6 4L6 34L14 26L19 36L23 34L18 24L28 24Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 6 4, auto !important;
}

/* --- Skip-to-content link (screen readers) ------------------ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 0; }
