/* ==========================================================================
   Hotel Bluebells — Notting Hill, London
   Design language inspired by classic English boutique hotels:
   handwritten script headings, Baskerville body, soft pastel palette.
   ========================================================================== */

:root {
  --navy: #092e46;
  --slate: #4e5f5f;
  --slate-soft: #6d7d7d;
  --powder: #afcfdb;
  --powder-soft: #d3e5ec;
  --rose: #ebb9b8;
  --rose-deep: #d99a99;
  --mint: #d8ece5;
  --bone: #dbdbcc;
  --offwhite: #f7f5f0;
  --white: #ffffff;
  --line: #e3e0d8;

  --script: 'Satisfy', cursive;
  --serif: 'Libre Baskerville', 'Baskerville', Georgia, serif;
  --sans: 'Archivo Narrow', 'Arial Narrow', sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

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

html { scroll-behavior: smooth; }

html.lenis { height: auto; scroll-behavior: auto; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.2;
  color: var(--slate);
}

.script { font-family: var(--script); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--script);
  font-size: clamp(42px, 5.5vw, 64px);
  color: var(--slate);
  margin-bottom: 24px;
}

.lead {
  font-size: 17px;
  color: var(--slate-soft);
  max-width: 660px;
}

/* --------------------------------------------------------------------------
   Buttons — serif text, navy on powder blue (square, calm)
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1;
  color: var(--navy);
  background: var(--powder);
  padding: 16px 34px;
  border: 0;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

.btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(9, 46, 70, .18);
}

.btn--rose { background: var(--rose); }

.btn--rose:hover { background: var(--navy); }

.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85);
  color: var(--white);
}

.btn--ghost:hover { background: var(--white); color: var(--navy); box-shadow: none; }

/* --------------------------------------------------------------------------
   Top bar + Header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: .08em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}

.topbar a:hover { color: var(--white); }

.topbar__contact { display: flex; gap: 26px; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header.is-scrolled { box-shadow: 0 10px 40px rgba(9, 46, 70, .08); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  font-family: var(--script);
  font-size: 34px;
  color: var(--slate);
  line-height: 1;
  transition: color .3s;
}

.brand:hover { color: var(--navy); }

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

.nav a:not(.btn) {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  position: relative;
  padding: 6px 0;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.nav a:not(.btn):hover::after,
.nav a.is-active:not(.btn)::after { transform: scaleX(1); transform-origin: left; }

.nav a.is-active:not(.btn) { color: var(--navy); }

.nav .btn { padding: 13px 26px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 8px;
  width: 24px;
  height: 1.5px;
  background: var(--slate);
  transition: all .3s var(--ease);
}

.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 46, 70, .5) 0%, rgba(9, 46, 70, .28) 45%, rgba(9, 46, 70, .55) 100%);
}

.hero__inner { max-width: 860px; padding: 150px 24px; }

.hero .eyebrow { color: var(--powder); }

.hero h1 {
  font-family: var(--script);
  font-size: clamp(52px, 8.5vw, 108px);
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(9, 46, 70, .35);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.92);
  max-width: 600px;
  margin: 0 auto 42px;
}

.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,.8), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page hero (interior pages) */

.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute; inset: -14% 0; z-index: -2;
  background-size: cover; background-position: center;
  will-change: transform;
}

.page-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,46,70,.3), rgba(9,46,70,.65));
}

.page-hero .container { padding-bottom: 64px; padding-top: 150px; }

.page-hero h1 {
  font-family: var(--script);
  color: var(--white);
  font-size: clamp(46px, 6.5vw, 84px);
}

.page-hero .eyebrow { color: var(--powder); margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Sections — soft pastel bands
   -------------------------------------------------------------------------- */

.section { padding: 110px 0; position: relative; }

.section--powder { background: var(--powder-soft); }
.section--mint { background: var(--mint); }
.section--bone { background: var(--offwhite); }
.section--rose { background: #f7e5e4; }
.section--navy { background: var(--navy); color: rgba(255,255,255,.85); }

.section--navy .section-title, .section--navy h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 64px; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head--center .lead { margin: 0 auto; }

/* Welcome split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}

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

.split__media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  will-change: transform;
}

.split__frame {
  position: relative;
  padding: 14px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(9, 46, 70, .12);
}

.split__body p + p { margin-top: 18px; }

.split__body p { color: var(--slate-soft); }

.split__body .btn { margin-top: 34px; }

/* Rooms grid */

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

.room-card {
  background: var(--white);
  box-shadow: 0 6px 26px rgba(9, 46, 70, .07);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}

.room-card:hover {
  box-shadow: 0 30px 70px rgba(9, 46, 70, .16);
  transform: translateY(-6px);
}

.room-card__media { overflow: hidden; aspect-ratio: 4 / 3; }

.room-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.room-card:hover .room-card__media img { transform: scale(1.08); }

.room-card__body { padding: 32px 30px 36px; text-align: center; }

.room-card__body h3 {
  font-family: var(--script);
  font-size: 30px;
  margin-bottom: 4px;
}

.room-card__rate {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 14px;
}

.room-card__rate strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}

.room-card__body p { font-size: 14.5px; color: var(--slate-soft); }

.room-card__link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--rose);
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}

.room-card__link:hover { color: var(--rose-deep); border-color: var(--navy); }

/* Room detail rows (rooms page) */

.room-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.room-row:last-of-type { border-bottom: none; }

.room-row:nth-of-type(even) .room-row__media { order: 2; }

.room-row__media { overflow: hidden; }

.room-row__media img {
  width: 100%; height: 430px;
  object-fit: cover;
  will-change: transform;
  transition: transform 1.1s var(--ease);
}

.room-row__media:hover img { transform: scale(1.05); }

.room-row__body h3 {
  font-family: var(--script);
  font-size: 42px;
  margin-bottom: 6px;
}

.room-row__body .room-card__rate { margin-bottom: 18px; }

.room-row__body p { color: var(--slate-soft); }

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.room-features li {
  font-family: var(--sans);
  font-size: 14.5px;
  letter-spacing: .06em;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 9px;
}

.room-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}

/* Amenities */

.amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 60px;
}

.amenity { text-align: center; }

.amenity__icon {
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 8px 26px rgba(9, 46, 70, .1);
  transition: transform .5s var(--ease), background .4s, color .4s;
}

.amenity:hover .amenity__icon {
  transform: translateY(-6px) rotate(-4deg);
  background: var(--navy);
  color: var(--powder);
}

.amenity__icon svg { width: 26px; height: 26px; }

.amenity h3 {
  font-family: var(--script);
  font-size: 26px;
  margin-bottom: 8px;
}

.amenity p { font-size: 14.5px; color: var(--slate-soft); }

/* Testimonials */

.testimonials { position: relative; max-width: 800px; margin: 0 auto; text-align: center; }

.testimonial { display: none; }

.testimonial.is-active { display: block; }

.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(19px, 2.6vw, 25px);
  font-style: italic;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 26px;
}

.testimonial cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.testimonials__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--slate);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}

.testimonials__dots button:hover { transform: scale(1.3); }

.testimonials__dots button.is-active { background: var(--slate); }

/* Gallery */

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin-bottom: 52px;
}

.gallery-filters button {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate-soft);
  cursor: pointer;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: all .35s;
}

.gallery-filters button:hover,
.gallery-filters button.is-active { color: var(--navy); border-color: var(--rose); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--offwhite);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 46, 70, 0);
  transition: background .45s;
}

.gallery-item:hover::after { background: rgba(9, 46, 70, .25); }

.gallery-item.is-hidden { display: none; }

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9, 30, 46, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: scale(.96);
  transition: transform .4s var(--ease);
}

.lightbox.is-open img { transform: scale(1); }

.lightbox__close {
  position: absolute;
  top: 26px; right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: transform .3s;
}

.lightbox__close:hover { color: #fff; transform: rotate(90deg); }

/* CTA band */

.cta-band {
  position: relative;
  padding: 140px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.cta-band__bg {
  position: absolute; inset: -18% 0; z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.cta-band::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(9, 46, 70, .68);
}

.cta-band .eyebrow { color: var(--powder); }

.cta-band h2 {
  font-family: var(--script);
  color: var(--white);
  font-size: clamp(40px, 5.5vw, 66px);
  margin-bottom: 16px;
}

.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 38px; }

/* Info cards (contact page) */

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

.info-card {
  background: var(--white);
  box-shadow: 0 6px 26px rgba(9, 46, 70, .07);
  padding: 46px 36px;
  text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.info-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(9, 46, 70, .14); }

.info-card h3 {
  font-family: var(--script);
  font-size: 28px;
  margin-bottom: 12px;
}

.info-card p { font-size: 15px; color: var(--slate-soft); }

.info-card a:hover { color: var(--navy); }

.info-card .amenity__icon { margin-bottom: 20px; }

/* Forms */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-grid .form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
  transition: border-color .3s, box-shadow .3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--powder);
  box-shadow: 0 0 0 3px rgba(175, 207, 219, .3);
}

.form-note { font-size: 13.5px; color: var(--slate-soft); margin-top: 16px; }

/* Newsletter */

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 32px auto 0;
}

.newsletter-form input {
  flex: 1;
  font-family: var(--serif);
  font-size: 15px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.4);
  border-right: none;
  background: rgba(255,255,255,.1);
  color: var(--white);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }

.newsletter-form input:focus { outline: none; border-color: var(--powder); }

/* Map */

.map-embed { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.3); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 84px 0 0;
  font-size: 15px;
}

.site-footer h4 {
  color: var(--powder);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand__name {
  font-family: var(--script);
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p { max-width: 300px; }

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 10px; }

.site-footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 26px 0;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: .06em;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Animation primitives (driven by GSAP; graceful without JS)
   -------------------------------------------------------------------------- */

[data-reveal] { opacity: 0; }

.no-js [data-reveal], .no-gsap [data-reveal] { opacity: 1; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .rooms-grid, .amenities, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .room-row { grid-template-columns: 1fr; gap: 44px; }
  .room-row:nth-of-type(even) .room-row__media { order: 0; }
  .split__media img { height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }

  .topbar { display: none; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    box-shadow: -20px 0 60px rgba(9,46,70,.18);
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    z-index: 200;
  }

  .nav.is-open { transform: translateX(0); }

  .nav-toggle { display: block; z-index: 210; }

  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
  body.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

  .rooms-grid, .amenities, .info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; gap: 14px; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,.4); }
  .hero { min-height: 74vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
