/* ═══════════════════════════════════════════════════════
   ROOMS PAGE — The Saracen's Head Inn
   ═══════════════════════════════════════════════════════ */

/* ── Page Hero ── */
.rooms-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  background: var(--ink);
  text-align: center;
  overflow: hidden;
}

.rooms-hero__bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: url('../images/pub-front.jpg') center 30% / cover no-repeat;
  opacity: 0.2;
}

.rooms-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, var(--ink) 100%);
}

.rooms-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.rooms-hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ale-light);
  margin-bottom: var(--space-sm);
  display: block;
}

.rooms-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--cream);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.rooms-hero__subtitle {
  font-size: var(--text-base);
  color: var(--parchment-dark);
  max-width: 520px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
}

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

/* ── Direct Booking Note ── */
.rooms-direct {
  background: var(--parchment);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.rooms-direct__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  text-align: center;
}

.rooms-direct__badge svg {
  color: var(--sage);
  flex-shrink: 0;
}

.rooms-direct__badge p {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
}

.rooms-direct__badge strong {
  font-weight: 500;
  color: var(--ink);
}

/* ── Rooms Section ── */
.rooms-section {
  background: var(--parchment);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* ── Room Card ── */
.room-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-normal) var(--ease-out);
}

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

/* Card Image */
.room-card__image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.room-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.room-card:hover .room-card__image img {
  transform: scale(1.04);
}

.room-card__price-badge {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
}

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

.room-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.room-card__desc {
  font-size: var(--text-sm);
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.room-card__offer {
  font-size: var(--text-sm);
  color: var(--ale-dark);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.room-card__link {
  margin-top: auto;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ale);
  transition: color var(--duration-fast);
}

.room-card:hover .room-card__link {
  color: var(--ale-dark);
}

.room-card__link span {
  display: inline-block;
  transition: transform var(--duration-fast);
}

.room-card:hover .room-card__link span {
  transform: translateX(3px);
}

/* ── Cancellation Policy ── */
.rooms-policy {
  background: var(--parchment);
  padding: 0 0 var(--space-xl);
}

.rooms-policy__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ale);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.rooms-policy__text {
  font-size: var(--text-sm);
  color: var(--stone);
  line-height: 1.7;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Book CTA Section ── */
.rooms-cta {
  padding: var(--space-2xl) 0;
}

/* ── Active Nav Link (shared with menu.css) ── */
.nav__link--active {
  color: var(--ale-light) !important;
}

.nav__link--active::after {
  width: 100% !important;
  opacity: 0.3 !important;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rooms-grid .room-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .rooms-hero {
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-lg);
  }

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

  .rooms-grid .room-card:last-child {
    max-width: none;
    grid-column: auto;
  }

  .rooms-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .rooms-hero__ctas .btn {
    text-align: center;
  }

  .rooms-direct__badge {
    flex-direction: column;
    gap: 0.5rem;
  }

  .room-card__image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .rooms-hero__title {
    font-size: var(--text-3xl);
  }

  .room-card__image {
    height: 200px;
  }
}
