/* =============================================
   SHARED STYLESHEET — The Crown Inn
   All inner pages link to this file
============================================= */

/* DESIGN TOKENS */
:root {
  --cream:       #F8F7F5;
  --cream-dark:  #EAEAEA;
  --white:       #FFFFFF;
  --charcoal:    #363D40;
  --charcoal-mid:#666E79;
  --stone:       #8A9199;
  --red:         #9E4535;
  --red-light:   #B5604E;
  --red-dark:    #7A3228;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;

  --shadow-sm:   0 2px 8px rgba(54,61,64,.08);
  --shadow:      0 4px 24px rgba(54,61,64,.12);
  --shadow-lg:   0 12px 48px rgba(54,61,64,.18);

  --transition:  all .25s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}

/* LAYOUT */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; margin: 10px 0 16px; }
.section-header h2 em { color: var(--red); font-style: italic; }
.section-header p { color: var(--stone); max-width: 540px; margin: 0 auto; font-weight: 300; font-size: .95rem; }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 160px 0 80px;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .25;
}
.page-hero__content { position: relative; z-index: 2; max-width: 700px; }
.page-hero__eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 12px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero__title em { font-style: italic; }
.page-hero__desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 32px;
}

/* BREADCRUMB */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 12px 0;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: .75rem;
  color: var(--stone);
}
.breadcrumb__list a { color: var(--charcoal-mid); transition: var(--transition); }
.breadcrumb__list a:hover { color: var(--red); }
.breadcrumb__sep { color: var(--cream-dark); }
.breadcrumb__current { color: var(--charcoal); font-weight: 500; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}
.btn--dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn--dark:hover {
  background: var(--charcoal-mid);
  border-color: var(--charcoal-mid);
  transform: translateY(-1px);
}
.btn--sm { padding: 10px 20px; font-size: .72rem; }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: var(--transition); }

.header-util {
  background: var(--charcoal);
  padding: 8px 0;
  font-size: .72rem;
  letter-spacing: .05em;
  color: rgba(255,255,255,.6);
}
.header-util .container { display: flex; justify-content: space-between; align-items: center; }
.header-util a { color: rgba(255,255,255,.7); transition: var(--transition); }
.header-util a:hover { color: var(--white); }
.header-util__left { display: flex; gap: 20px; }
.header-util__right { display: flex; gap: 12px; align-items: center; }
.util-sep { color: rgba(255,255,255,.25); }

.header-main { background: var(--white); border-bottom: 1px solid rgba(54,61,64,.08); }
.header-main .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo img { height: 48px; width: auto; }
.site-logo__name { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--charcoal); line-height: 1.1; }
.site-logo__sub { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); font-weight: 500; }

.main-nav { display: flex; align-items: center; list-style: none; }
.main-nav__item { position: relative; }
.main-nav__link { display: block; padding: 8px 14px; font-size: .78rem; font-weight: 500; letter-spacing: .05em; color: var(--charcoal-mid); transition: var(--transition); white-space: nowrap; }
.main-nav__link:hover,
.main-nav__link.active { color: var(--red); }

.main-nav__dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 200px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(54,61,64,.06);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: var(--transition); z-index: 200; list-style: none;
}
.main-nav__item:hover .main-nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav__dropdown a { display: block; padding: 10px 20px; font-size: .78rem; color: var(--charcoal-mid); transition: var(--transition); }
.main-nav__dropdown a:hover { color: var(--red); background: var(--cream); padding-left: 24px; }

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

.site-header.scrolled .header-util { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }

/* FOOTER */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.7); }

.footer-main { padding: 72px 0 48px; }
.footer-main .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }

.footer-brand__name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); margin-bottom: 4px; }
.footer-brand__sub { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: 20px; }
.footer-brand__desc { font-size: .82rem; line-height: 1.75; color: rgba(255,255,255,.5); font-weight: 300; margin-bottom: 24px; }
.footer-brand__contact { display: flex; flex-direction: column; gap: 6px; }
.footer-brand__contact a { font-size: .82rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-brand__contact a:hover { color: var(--red-light); }

.footer-col__title { font-family: var(--font-serif); font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-col__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col__links a { font-size: .8rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-col__links a:hover { color: var(--red-light); }

.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom__copy { font-size: .72rem; color: rgba(255,255,255,.35); }
.footer-bottom__links { display: flex; gap: 20px; }
.footer-bottom__links a { font-size: .72rem; color: rgba(255,255,255,.35); transition: var(--transition); }
.footer-bottom__links a:hover { color: rgba(255,255,255,.7); }

/* TAGS */
.tag { padding: 6px 14px; background: var(--cream-dark); border-radius: 100px; font-size: .72rem; font-weight: 500; color: var(--charcoal-mid); letter-spacing: .04em; }

/* ENQUIRY FORM */
.enquiry-form { display: grid; gap: 16px; }
.enquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(158,69,53,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* MOBILE BOOK NOW BUTTON */
.header-book-now { display: none; flex-shrink: 0; }

/* BEST RATE TOAST */
.best-rate-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 998;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 100px;
  padding: 12px 20px 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(28,28,26,.25);
  opacity: 1;
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.best-rate-toast.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}
.best-rate-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* BEST RATE BANNER (inside booking modal room step) */
.booking-best-rate {
  margin: 0 28px 4px;
  background: rgba(158,69,53,.08);
  border: 1px solid rgba(158,69,53,.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--red-dark);
  font-weight: 500;
}
.booking-best-rate__icon { font-size: 1rem; flex-shrink: 0; }

/* BOOKING MODAL */
.booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.booking-modal.open { display: flex; }
.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,28,26,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.booking-modal__box {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(28,28,26,.3);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
}
.booking-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 0;
  gap: 12px;
}
.booking-modal__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
}
.booking-modal__title em { color: var(--red); font-style: italic; }
.booking-modal__close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--stone);
  cursor: pointer;
  padding: 2px 0 0 12px;
  flex-shrink: 0;
  transition: var(--transition);
}
.booking-modal__close:hover { color: var(--charcoal); }
.booking-modal__back {
  background: none;
  border: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.booking-modal__back:hover { color: var(--charcoal); }

/* Step cards */
.booking-modal__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 24px 28px 32px;
}
.booking-modal__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 24px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.booking-modal__card:hover { border-color: var(--red); background: var(--white); }
.booking-modal__card-icon { font-size: 2.2rem; }
.booking-modal__card-label { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--charcoal); }
.booking-modal__card-sub { font-size: .75rem; color: var(--stone); line-height: 1.4; }

/* Step forms */
.booking-step { display: none; }
.booking-step.active { display: block; }
.booking-modal__step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 28px 20px;
}
.booking-modal__step-icon { font-size: 1.6rem; }
.booking-modal__step-title .booking-modal__title { font-size: 1.4rem; }

.booking-modal__fields {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.booking-field { display: flex; flex-direction: column; gap: 6px; }
.booking-field--row { flex-direction: row; gap: 16px; align-items: flex-end; }
.booking-field--grow { flex: 1; }
.booking-field label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
}
.booking-field input[type="date"],
.booking-field select {
  padding: 12px 14px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.booking-field input:focus,
.booking-field select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(158,69,53,.1); }

.booking-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 44px;
}
.booking-stepper__btn {
  background: var(--cream);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--charcoal);
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-stepper__btn:hover { background: var(--cream-dark); }
.booking-stepper__val {
  flex: 1;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--charcoal);
  min-width: 32px;
}

.booking-modal__submit {
  padding: 20px 28px 28px;
}
.booking-modal__submit .btn { width: 100%; justify-content: center; }
.booking-modal__note {
  margin-top: 10px;
  font-size: .72rem;
  color: var(--stone);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-main .container { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .container { padding: 0 16px; }
  .main-nav, .header-ctas { display: none; }
  .header-util { display: none; }
  /* Mobile header: hamburger | logo (centre) | book now */
  .header-main .container { position: relative; justify-content: center; }
  .nav-toggle { display: flex; order: 1; position: absolute; left: 16px; }
  .header-book-now { display: block; order: 3; position: absolute; right: 16px; }
  .site-logo { flex-shrink: 1; min-width: 0; order: 2; }
  .site-logo__name, .site-logo__sub { display: none; }
  .site-logo img { height: 36px; }
  .footer-main .container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }
  .enquiry-form .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
}
