/* ==========================================================================
   Druremi — boutique hotel in Brisbane
   Custom styling layer on top of Bootstrap 5.3
   Palette leans on ink, warm paper and brass, tuned for WCAG AA contrast.
   TODO: replace --dr-ink accent variants once brand photography lands.
   ========================================================================== */

:root {
  --dr-ink: #14120e;
  --dr-ink-soft: #2a261f;
  --dr-paper: #fbf8f1;
  --dr-cream: #f2ebdc;
  --dr-brass: #b89460;
  --dr-brass-deep: #8a6d3f;
  --dr-sage: #4d6155;
  --dr-muted: #564f43;
  --dr-line: rgba(20, 18, 14, 0.14);
  --dr-white: #ffffff;
  --dr-shadow-sm: 0 2px 8px rgba(20, 18, 14, 0.06);
  --dr-shadow-md: 0 18px 40px -22px rgba(20, 18, 14, 0.45);
  --dr-radius: 4px;
  --dr-radius-lg: 10px;
  --dr-font-display: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --dr-font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --dr-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Base --------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dr-paper);
  color: var(--dr-ink);
  font-family: var(--dr-font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--dr-font-display);
  color: var(--dr-ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

p { color: var(--dr-ink-soft); }

a {
  color: var(--dr-brass-deep);
  text-decoration: none;
  transition: color 0.2s var(--dr-ease);
}

a:hover,
a:focus-visible {
  color: #8b6b6b;
}

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

::selection {
  background: var(--dr-brass);
  color: var(--dr-ink);
}

/* Layout helpers ----------------------------------------------------------- */
.dr-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.dr-band {
  padding-block: clamp(3.2rem, 7vw, 6rem);
}

.dr-band--tight {
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
}

.dr-band--ink {
  background-color: var(--dr-ink);
  color: var(--dr-cream);
}

.dr-band--ink h1,
.dr-band--ink h2,
.dr-band--ink h3 {
  color: var(--dr-cream);
}

.dr-band--ink p,
.dr-band--ink li {
  color: rgba(244, 238, 227, 0.85);
}

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

.dr-eyebrow {
  display: inline-block;
  font-family: var(--dr-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dr-brass-deep);
  margin-bottom: 0.9rem;
}

.dr-band--ink .dr-eyebrow {
  color: var(--dr-brass);
}

.dr-lede {
  font-size: 1.12rem;
  color: var(--dr-muted);
  max-width: 62ch;
}

.dr-band--ink .dr-lede {
  color: rgba(244, 238, 227, 0.8);
}

.dr-rule {
  width: 64px;
  height: 1px;
  background: var(--dr-brass);
  border: 0;
  margin: 1.25rem 0;
}

/* Buttons ------------------------------------------------------------------ */
.dr-btn {
  --btn-bg: var(--dr-ink);
  --btn-fg: var(--dr-paper);
  --btn-bd: var(--dr-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--dr-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--dr-radius);
  transition: transform 0.25s var(--dr-ease), background 0.25s var(--dr-ease), color 0.25s var(--dr-ease);
  cursor: pointer;
}

.dr-btn:hover,
.dr-btn:focus-visible {
  color: var(--btn-fg);
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.dr-btn--brass {
  --btn-bg: var(--dr-brass);
  --btn-fg: var(--dr-ink);
  --btn-bd: var(--dr-brass);
}

.dr-btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--dr-ink);
  --btn-bd: var(--dr-ink);
}

.dr-btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--dr-cream);
  --btn-bd: rgba(244, 238, 227, 0.55);
}

.dr-btn--outline-light:hover,
.dr-btn--outline-light:focus-visible {
  --btn-fg: var(--dr-ink);
  --btn-bg: var(--dr-cream);
}

/* Site header -------------------------------------------------------------- */
.dr-site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--dr-ease), box-shadow 0.3s var(--dr-ease);
}

.dr-site-header.is-scrolled {
  border-bottom-color: var(--dr-line);
  box-shadow: var(--dr-shadow-sm);
}

.dr-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

.dr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--dr-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dr-ink);
}

.dr-brand:hover,
.dr-brand:focus-visible {
  color: var(--dr-ink);
}

.dr-contact-strip {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.86rem;
  color: var(--dr-muted);
}

.dr-contact-strip a {
  color: var(--dr-muted);
}

.dr-contact-strip a:hover,
.dr-contact-strip a:focus-visible {
  color: var(--dr-ink);
}

.dr-contact-strip i {
  color: var(--dr-brass-deep);
  margin-right: 0.35rem;
}

/* Mobile menu -------------------------------------------------------------- */
.dr-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dr-line);
  background: transparent;
  border-radius: var(--dr-radius);
  color: var(--dr-ink);
  font-size: 1.2rem;
  cursor: pointer;
}

.dr-nav-panel {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.dr-nav-panel a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dr-ink);
  padding-block: 0.25rem;
}

.dr-nav-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--dr-brass);
  transition: width 0.3s var(--dr-ease);
}

.dr-nav-panel a:hover::after,
.dr-nav-panel a:focus-visible::after {
  width: 100%;
}

@media (max-width: 991.98px) {
  .dr-contact-strip { display: none; }
  .dr-nav-toggle { display: inline-flex; }

  .dr-nav-panel {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.4rem 1.5rem 1.8rem;
    background: var(--dr-paper);
    border-bottom: 1px solid var(--dr-line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--dr-ease), transform 0.25s var(--dr-ease);
  }

  .dr-nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .dr-nav-panel a {
    width: 100%;
    padding-block: 0.55rem;
  }
}

/* Hero --------------------------------------------------------------------- */
.dr-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--dr-cream);
  overflow: hidden;
}

.dr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.25), rgba(20, 18, 14, 0.72));
  z-index: 1;
}

.dr-hero .dr-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.dr-hero h1,
.dr-hero h2 {
  color: var(--dr-white);
}

.dr-hero p {
  color: rgba(244, 238, 227, 0.9);
  font-size: 1.1rem;
}

.dr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.dr-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 238, 227, 0.22);
}

.dr-hero-meta strong {
  display: block;
  font-family: var(--dr-font-display);
  font-size: 1.65rem;
  color: var(--dr-white);
  font-weight: 600;
}

.dr-hero-meta span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.7);
}

/* Slider dots (works alongside Bootstrap carousel markup) ------------------ */
.dr-slide-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 3;
}

.dr-slide-indicators button {
  width: 34px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(244, 238, 227, 0.35);
  cursor: pointer;
  transition: background 0.25s var(--dr-ease);
}

.dr-slide-indicators button.is-active {
  background: var(--dr-brass);
}

/* Cards -------------------------------------------------------------------- */
.dr-card {
  position: relative;
  height: 100%;
  background: var(--dr-white);
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--dr-ease), box-shadow 0.3s var(--dr-ease);
}

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

.dr-card-media {
  aspect-ratio: 4 / 3;
  background: var(--dr-cream);
  overflow: hidden;
}

.dr-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dr-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.dr-card-body h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}

.dr-card-body p {
  color: var(--dr-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.dr-price {
  font-family: var(--dr-font-display);
  font-size: 1.35rem;
  color: var(--dr-ink);
}

.dr-price small {
  font-family: var(--dr-font-body);
  font-size: 0.78rem;
  color: var(--dr-muted);
  font-weight: 400;
}

/* Feature / stat cards ----------------------------------------------------- */
.dr-feature {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius-lg);
  background: var(--dr-white);
  height: 100%;
}

.dr-feature .dr-feature-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--dr-cream);
  color: var(--dr-brass-deep);
  border-radius: var(--dr-radius);
  font-size: 1.15rem;
}

.dr-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.dr-feature p {
  font-size: 0.92rem;
  color: var(--dr-muted);
  margin: 0;
}

.dr-stat {
  text-align: center;
  padding: 1.2rem;
}

.dr-stat strong {
  display: block;
  font-family: var(--dr-font-display);
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  color: var(--dr-ink);
  font-weight: 600;
}

.dr-stat span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dr-muted);
}

/* Testimonials ------------------------------------------------------------- */
.dr-quote {
  position: relative;
  padding: 2rem 1.8rem 1.8rem;
  background: var(--dr-white);
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius-lg);
  height: 100%;
}

.dr-quote::before {
  content: "\201C";
  position: absolute;
  top: -0.4rem;
  left: 1.2rem;
  font-family: var(--dr-font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--dr-brass);
  opacity: 0.55;
}

.dr-quote p {
  font-family: var(--dr-font-display);
  font-size: 1.08rem;
  color: var(--dr-ink);
  margin-bottom: 1.2rem;
}

.dr-quote-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--dr-line);
  padding-top: 1rem;
}

.dr-quote-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--dr-cream);
}

.dr-quote-author strong {
  display: block;
  font-size: 0.9rem;
}

.dr-quote-author span {
  font-size: 0.8rem;
  color: var(--dr-muted);
}

/* Forms -------------------------------------------------------------------- */
.dr-form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dr-muted);
  margin-bottom: 0.4rem;
}

.dr-form .form-control,
.dr-form .form-select {
  background-color: var(--dr-white);
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--dr-ink);
  box-shadow: none;
}

.dr-form .form-control:focus,
.dr-form .form-select:focus {
  border-color: var(--dr-brass);
  box-shadow: 0 0 0 3px rgba(184, 148, 96, 0.25);
}

.dr-form .form-control.is-invalid,
.dr-form .form-select.is-invalid {
  border-color: #b5372b;
  background-color: #fbf1ee;
}

.dr-field-note {
  font-size: 0.82rem;
  color: var(--dr-muted);
  margin-top: 0.35rem;
}

.dr-field-error {
  font-size: 0.82rem;
  color: #a5291f;
  margin-top: 0.35rem;
  display: none;
}

.dr-field-error.is-visible {
  display: block;
}

/* Gallery ---------------------------------------------------------------- */
.dr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.dr-gallery-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--dr-radius);
  aspect-ratio: 1 / 1;
  background: var(--dr-cream);
  margin: 0;
}

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

.dr-gallery-grid figure:hover img {
  transform: scale(1.05);
}

.dr-gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.82rem;
  color: var(--dr-cream);
  background: linear-gradient(to top, rgba(20, 18, 14, 0.85), rgba(20, 18, 14, 0));
}

.dr-gallery-grid figure:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

@media (max-width: 767.98px) {
  .dr-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dr-gallery-grid figure:nth-child(1) {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Accordion (FAQ) --------------------------------------------------------- */
.dr-accordion .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dr-line);
}

.dr-accordion .accordion-button {
  background: transparent;
  color: var(--dr-ink);
  font-family: var(--dr-font-display);
  font-size: 1.05rem;
  padding-inline: 0;
  box-shadow: none;
}

.dr-accordion .accordion-button:not(.collapsed) {
  color: var(--dr-brass-deep);
}

.dr-accordion .accordion-button::after {
  background: none;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f067";
  color: var(--dr-brass-deep);
  transition: transform 0.25s var(--dr-ease);
}

.dr-accordion .accordion-button:not(.collapsed)::after {
  content: "\f068";
  transform: none;
}

.dr-accordion .accordion-body {
  padding-inline: 0;
  color: var(--dr-muted);
  font-size: 0.95rem;
}

/* Site footer ------------------------------------------------------------- */
.dr-site-footer {
  background: var(--dr-ink);
  color: rgba(244, 238, 227, 0.82);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: 2rem;
}

.dr-site-footer h4 {
  color: var(--dr-cream);
  font-family: var(--dr-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.dr-site-footer a {
  color: rgba(244, 238, 227, 0.82);
}

.dr-site-footer a:hover,
.dr-site-footer a:focus-visible {
  color: var(--dr-brass);
}

.dr-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.dr-footer-list a {
  display: inline-block;
}

.dr-footer-meta {
  border-top: 1px solid rgba(244, 238, 227, 0.14);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: rgba(244, 238, 227, 0.6);
}

.dr-footer-meta a {
  color: rgba(244, 238, 227, 0.72);
}

/* Cookie banner ----------------------------------------------------------- */
.dr-cookie-veil {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1080;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.28s var(--dr-ease), transform 0.28s var(--dr-ease);
}

.dr-cookie-veil.is-hidden {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.dr-cookie-panel {
  pointer-events: auto;
  width: min(980px, 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 1.8rem;
  padding: 1.4rem 1.6rem;
  background: var(--dr-ink);
  color: var(--dr-cream);
  border: 1px solid rgba(184, 148, 96, 0.5);
  border-radius: var(--dr-radius-lg);
  box-shadow: 0 24px 60px -22px rgba(20, 18, 14, 0.9);
}

.dr-cookie-copy {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 1 460px;
}

.dr-cookie-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(184, 148, 96, 0.18);
  color: var(--dr-brass);
  border-radius: 50%;
  font-size: 1.05rem;
}

.dr-cookie-title {
  font-family: var(--dr-font-display);
  font-size: 1.1rem;
  color: var(--dr-cream);
  margin: 0 0 0.25rem;
}

.dr-cookie-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(244, 238, 227, 0.82);
  margin: 0;
}

.dr-cookie-text a {
  color: var(--dr-brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dr-cookie-text a:hover,
.dr-cookie-text a:focus-visible {
  color: var(--dr-cream);
}

.dr-cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.dr-cookie-btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--dr-radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s var(--dr-ease), color 0.2s var(--dr-ease), border-color 0.2s var(--dr-ease);
}

.dr-cookie-btn:focus-visible {
  outline: 2px solid var(--dr-brass);
  outline-offset: 2px;
}

.dr-cookie-btn--solid {
  background: var(--dr-brass);
  color: var(--dr-ink);
  border-color: var(--dr-brass);
}

.dr-cookie-btn--solid:hover {
  background: #cda76e;
  border-color: #cda76e;
}

.dr-cookie-btn--quiet {
  background: transparent;
  color: var(--dr-cream);
  border-color: rgba(244, 238, 227, 0.4);
}

.dr-cookie-btn--quiet:hover {
  background: rgba(244, 238, 227, 0.08);
  border-color: rgba(244, 238, 227, 0.7);
}

@media (max-width: 575.98px) {
  .dr-cookie-actions {
    width: 100%;
  }
  .dr-cookie-btn {
    flex: 1 1 0;
  }
}

/* Utility ----------------------------------------------------------------- */
.dr-text-muted {
  color: var(--dr-muted);
}

.dr-divider {
  border: 0;
  border-top: 1px solid var(--dr-line);
  margin-block: 2rem;
}

.dr-stack-lg > * + * {
  margin-top: 2rem;
}

.dr-aos-init [data-aos] {
  opacity: 0;
}
/* ==========================================================================
   Contrast repairs (appended overrides — do not edit above rules)
   ========================================================================== */

/* Eyebrow labels on light surfaces: deepen brass for AA at small sizes */
.dr-eyebrow {
  color: #7a5f36;
}

/* Header contact details sit on the light sticky header, not on dark */
.dr-header-contact {
  color: var(--dr-muted);
}

.dr-header-contact a,
.dr-header-contact .dr-header-contact-link {
  color: var(--dr-ink);
}

.dr-header-contact a:hover,
.dr-header-contact a:focus-visible,
.dr-header-contact .dr-header-contact-link:hover,
.dr-header-contact .dr-header-contact-link:focus-visible {
  color: #7a5f36;
}

/* Cards nested inside dark bands are white panels — restore dark text */
.dr-band--ink .dr-card h3,
.dr-band--ink .dr-card h4 {
  color: var(--dr-ink);
}

.dr-band--ink .dr-card p,
.dr-band--ink .dr-card li {
  color: var(--dr-muted);
}

.dr-band--ink .dr-card .dr-eyebrow {
  color: #7a5f36;
}

/* Footer copy: light text on the ink footer background */
.dr-site-footer p,
.dr-site-footer li,
.dr-site-footer .small {
  color: rgba(244, 238, 227, 0.82);
}

.dr-site-footer .dr-text-muted {
  color: rgba(244, 238, 227, 0.72);
}

/* Footer section labels need a lighter brass to clear AA on ink */
.dr-site-footer .dr-eyebrow,
.dr-site-footer h4 {
  color: var(--dr-brass);
}

/* ==========================================================================
   QA overrides — contrast repairs (AA on cream, ink and paper surfaces)
   ========================================================================== */

/* Brass eyebrow on light surfaces (paper #fbf8f1 / cream #f2ebdc) */
.dr-eyebrow {
  color: #75592f;
}

/* Dark bands keep the lighter brass */
.dr-band--ink .dr-eyebrow {
  color: var(--dr-brass);
}

/* Footer sits on ink — lighten every piece of copy */
.dr-site-footer .dr-eyebrow,
.dr-site-footer h2.dr-eyebrow,
.dr-site-footer h3.dr-eyebrow,
.dr-site-footer h2.h6 {
  color: var(--dr-brass);
}

.dr-site-footer p,
.dr-site-footer li,
.dr-site-footer .dr-text-muted,
.dr-site-footer .dr-footer-list {
  color: rgba(244, 238, 227, 0.88);
}

.dr-site-footer .dr-footer-meta,
.dr-site-footer .dr-footer-meta p {
  color: rgba(244, 238, 227, 0.8);
}

.dr-site-footer a {
  color: rgba(244, 238, 227, 0.92);
}

/* Header contact strip sits on the light paper header, not on ink */
.dr-site-header .dr-header-bar .text-white,
.dr-site-header .dr-header-bar a.text-white {
  color: var(--dr-ink) !important;
}

.dr-site-header .dr-header-bar .btn-outline-light {
  color: var(--dr-ink);
  border-color: rgba(20, 18, 14, 0.35);
}

.dr-site-header .dr-header-bar .btn-outline-light:hover,
.dr-site-header .dr-header-bar .btn-outline-light:focus-visible {
  background: var(--dr-ink);
  border-color: var(--dr-ink);
  color: var(--dr-paper);
}

/* Links inside the dark hero overlay (buttons keep their own colours) */
.dr-hero .dr-hero-meta a,
.dr-hero .dr-hero-inner > p a,
.dr-hero .dr-lede a {
  color: #ecdcbc;
}

.dr-hero .dr-hero-meta a:hover,
.dr-hero .dr-hero-meta a:focus-visible,
.dr-hero .dr-hero-inner > p a:hover,
.dr-hero .dr-hero-inner > p a:focus-visible,
.dr-hero .dr-lede a:hover,
.dr-hero .dr-lede a:focus-visible {
  color: var(--dr-white);
}

/* ==========================================================================
   Page-level overrides (casino-hotel template)
   ========================================================================== */

/* Feature blocks: icon in a left rail, heading + copy stacked in one text
   column so nothing is squeezed into a narrow flex row. */
.dr-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: start;
}

.dr-feature > * {
  min-width: 0;
}

.dr-feature .dr-feature-icon {
  grid-row: span 2;
}

.dr-feature h3,
.dr-feature p {
  grid-column: 2;
  margin-top: 0;
}

/* Feature blocks sitting inside the dark band get a dark card so the
   light headings and copy stay readable instead of white-on-white. */
.dr-band--ink .dr-feature {
  background: #211d18;
  border-color: rgba(244, 238, 227, 0.22);
}

.dr-band--ink .dr-feature h3,
.dr-band--ink .dr-feature h3.text-white {
  color: #f6f1e6 !important;
}

.dr-band--ink .dr-feature p {
  color: rgba(244, 238, 227, 0.86);
}

@media (min-width: 768px) {
  .dr-band--ink .dr-feature {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.6rem;
  }

  .dr-band--ink .dr-feature .dr-feature-icon {
    grid-row: auto;
  }

  .dr-band--ink .dr-feature h3,
  .dr-band--ink .dr-feature p {
    grid-column: 1;
  }
}

/* Eyebrows on the cream bands need a deeper brass to clear AA. */
.dr-band--cream .dr-eyebrow {
  color: #6f5730;
}

/* Footer eyebrows ride on the ink background. */
.dr-site-footer .dr-eyebrow {
  color: #cda76e;
}

/* Footer body copy was inheriting the dark ink text colour. */
.dr-site-footer p,
.dr-site-footer p.dr-text-muted,
.dr-site-footer p.small,
.dr-site-footer .dr-text-muted {
  color: rgba(244, 238, 227, 0.86);
}

/* Header sits on a light translucent bar, so the contact block needs dark
   text rather than the inherited white utility classes. */
.dr-site-header .text-white,
.dr-site-header .text-white a,
.dr-site-header a.text-white {
  color: var(--dr-ink) !important;
}

.dr-site-header .btn-outline-light {
  color: var(--dr-ink) !important;
  border-color: rgba(20, 18, 14, 0.3) !important;
}

.dr-site-header .btn-outline-light:hover,
.dr-site-header .btn-outline-light:focus-visible {
  color: var(--dr-paper) !important;
  background-color: var(--dr-ink) !important;
  border-color: var(--dr-ink) !important;
}

/* Booking strip sits over a darkened photo: force light copy. */
.dr-contact-strip p,
.dr-contact-strip p.dr-field-note,
.dr-contact-strip li,
.dr-contact-strip label,
.dr-contact-strip .form-label {
  color: #f6f1e6;
}

.dr-contact-strip a {
  color: #f6f1e6;
}

.dr-contact-strip a:hover,
.dr-contact-strip a:focus-visible {
  color: #e2c99b;
}

.dr-contact-strip .dr-eyebrow {
  color: #e2c99b;
}

/* ==========================================================================
   QA fixes — cookie consent visibility + hero button colours
   ========================================================================== */

/* The banner panel uses `display: flex`, which overrode the user-agent
   `[hidden] { display: none }` rule. The result was a consent bar that
   could never be dismissed (and which floated over page content such as
   the hero buttons). Honour both the hidden attribute and the is-hidden
   state so accepting/declining actually removes the banner. */
.dr-cookie-veil[hidden],
.dr-cookie-veil.is-hidden,
.dr-cookie-veil[aria-hidden="true"] {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

/* Keep the sticky header clear of the hero: reserve its height on small
   screens so the hero copy never slides underneath the header bar. */
.dr-page-main-hero,
main > .dr-hero:first-child {
  scroll-margin-top: 80px;
}

/* Hero action buttons: declare solid colours explicitly so the rendered
   text/background pair is unambiguous (ink on brass = 6.6:1). */
.dr-hero .dr-btn.dr-btn--brass,
.dr-hero .dr-btn--brass {
  background-color: #b89460;
  border-color: #b89460;
  color: #14120e;
}

.dr-hero .dr-btn.dr-btn--brass:hover,
.dr-hero .dr-btn.dr-btn--brass:focus-visible,
.dr-hero .dr-btn--brass:hover,
.dr-hero .dr-btn--brass:focus-visible {
  background-color: #cda76e;
  border-color: #cda76e;
  color: #14120e;
}

/* Inline confirmation message for the enquiry/newsletter form. */
.dr-form-status {
  font-family: var(--dr-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0.9rem 0 0;
 
}

/* ==========================================================================
   QA fix — inline link contrast inside the cream band
   The default brass link (#8a6d3f) sits at 3.25:1 on the cream surface
   (#f2ebdc). A deeper brass keeps the brand hue while clearing AA (6.1:1).
   ========================================================================== */
.dr-band--cream a {
  color: #6b5330;
}

.dr-band--cream a:hover,
.dr-band--cream a:focus-visible {
  color: #4a3820;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   QA overrides — hero eyebrow contrast on photography backgrounds
   The global eyebrow colour (#75592f) is tuned for the light paper/cream
   surfaces. Inside the hero the eyebrow sits over a darkened photo, so it
   needs the light brass variant to clear AA.
   ========================================================================== */
.dr-hero .dr-eyebrow,
.dr-hero .dr-hero-inner .dr-eyebrow {
  color: #f0dfbe;
}

/* Same treatment for any eyebrow placed over a darkened photo band that is
   not using the ink modifier class. */
.dr-band[style*="background-image"] .dr-eyebrow {
  color: #e8d5ac;
}

/* Event enquiry form: keep placeholders and selects legible on the dark
   photo band where the panel is white. */
.dr-form .form-control::placeholder,
.dr-form .form-select option[value=""] {
  color: #6b6255;
  opacity: 1;
}

/* ==========================================================================
   Layout fix — hero carousel container spans the full viewport width.
   Bootstrap's `.carousel` is display:block, but the hero's flex layout let
   the slider shrink to its content width (744px of a 1440px viewport),
   leaving the copy flush against the left viewport edge. Pin the slider and
   its inner track to full width so the Bootstrap `.container` inside each
   slide provides the balanced desktop inset. Backgrounds, mobile layout and
   the left-aligned hero text are unchanged.
   ========================================================================== */
.dr-hero > .carousel {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.dr-hero .carousel-inner,
.dr-hero .carousel-item {
  width: 100%;
}

/* ==========================================================================
   Layout fix — mobile footer columns overlapping
   The footer's second `.row` puts "Business hours" + ABN/licence copy in the
   right-hand column. Its grid-based `.dr-footer-list` and the inline
   messenger links in the Contact column can outgrow their Bootstrap column
   on narrow viewports (grid tracks default to content size, links are
   `display: inline-block`), so text from one column painted over the next
   and over the meta bar. Constrain every footer cell and its children to the
   column width while keeping the existing look, left-aligned text and the
   two-up mobile grid.
   ========================================================================== */
.dr-site-footer .row > [class*="col"] {
  min-width: 0;
}

.dr-site-footer .row > [class*="col"] > * {
  max-width: 100%;
}

/* Keep footer lists from being sized by their longest unbreakable word. */
.dr-site-footer .dr-footer-list {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.dr-site-footer .dr-footer-list > * {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Messenger links sit directly inside the Contact list; keep them wrapping
   inside the column instead of spilling sideways into the next one. */
.dr-site-footer .dr-footer-list a {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Business hours / ABN block: normal flow with real block spacing so the
   address and licence lines can never sit on top of one another. */
.dr-site-footer .col-lg-6 > p {
  margin-top: 0;
}

.dr-site-footer .col-lg-6 > p.small {
  line-height: 1.55;
}

/* ==========================================================================
   QA fix — mobile gallery caption clipping / overlap
   The gallery captions are absolutely positioned overlays pinned to the
   bottom of each figure. On small screens the two-up grid gives each tile
   only ~150px of width, so multi-line captions overflowed the figure edges
   (clipped by `overflow: hidden`) and painted over the neighbouring tile.
   Below 768px, stop overlaying the caption and place it in normal flow
   underneath the image inside the same figure, so text wraps to the tile
   width and each tile grows to fit its own caption. Desktop (3-up grid with
   the large hero tile) keeps the existing overlay caption treatment.
   ========================================================================== */
@media (max-width: 767.98px) {
  .dr-gallery-grid figure {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    overflow: visible;
  }

  .dr-gallery-grid figure:nth-child(1) {
    aspect-ratio: auto;
  }

  /* Give every mobile tile the same image height so the grid stays even. */
  .dr-gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    object-fit: cover;
  }

  .dr-gallery-grid figure:nth-child(1) img {
    aspect-ratio: 4 / 3;
  }

  .dr-gallery-grid figcaption {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0.6rem 0.7rem 0.7rem;
    font-size: 0.78rem;
    line-height: 1.45;
    background: var(--dr-ink);
    color: rgba(244, 238, 227, 0.92);
    overflow-wrap: break-word;
  }

  /* Captions now sit on solid ink rather than over the photo, so the image
     scale-on-hover would only crop the picture, not the copy. */
  .dr-gallery-grid figure:hover img {
    transform: none;
  }
}

/* ==========================================================================
   Layout fix — mobile step cards ("How a stay with us works" /
   "From first call to pack-down")
   The number + heading + body stack inside `.dr-card-body` used generous
   padding in `.dr-card-body`, and Bootstrap's `g-4` gutters stacked the six
   single-column cards far apart, so on narrow screens the section grew into
   a very long run of tall, airy panels. Below the md breakpoint, tighten the
   panel padding, the inner spacing and the vertical gutter so each step
   reads as a compact row. Card colours, left-aligned text, the ink band
   background and the two-up / three-up layouts from 768px up are unchanged.
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Step cards inside dark bands: reduce the airy panel padding. */
  .dr-band--ink .dr-card-body {
    padding-block: 1.05rem 1.15rem;
  }

  /* Step number ("01") and heading sit closer to the copy. */
  .dr-band--ink .dr-card-body .dr-price {
    font-size: 1.15rem;
    margin-bottom: 0.15rem !important;
  }

  .dr-band--ink .dr-card-body h3 {
    font-size: 1.18rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
  }

  .dr-band--ink .dr-card-body p {
    margin-bottom: 0;
    line-height: 1.6;
  }

  /* Stacked cards: trim the vertical gutter between panels. */
  .dr-band--ink .row.g-4 {
    --bs-gutter-y: 0.85rem;
  }

  /* The card:hover lift is meaningless on touch and can clip neighbours. */
  .dr-band--ink .dr-card {
    box-shadow: none;
  }
}
