/*
  Golden Royal Hours Casino — global stylesheet
  Library-first: Bootstrap 5 is the base; this file only adds theme, decorative
  flourishes and component behaviour that utilities cannot cover.
  TODO: replace placeholder ABN/owner in footer once real company docs are supplied.
*/

/* === CSS variables === */
:root {
  --grh-cream: #f9f7f2;
  --grh-sand: #efe9e0;
  --grh-gold: #c5a06d;
  --grh-gold-dark: #96794a;
  --grh-espresso: #2c241b;
  --grh-charcoal: #4a3f32;
  --grh-cream-dark: #e8e1d5;
  --grh-white: #ffffff;
  --grh-overlay: rgba(0, 0, 0, 0.62);
  --grh-radius: 1.25rem;
  --grh-radius-sm: 0.625rem;
  --grh-section-pad: 6rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--grh-cream);
  color: var(--grh-espresso);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* === Typography helpers === */
.grh-display {
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.grh-subtitle {
  color: var(--grh-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

.grh-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--grh-charcoal);
}

.grh-accent {
  color: var(--grh-gold-dark);
}

/* === Decorative atoms === */
.grh-deco-line {
  width: 4rem;
  height: 2px;
  background: var(--grh-gold);
  display: inline-block;
}

.grh-deco-line--light {
  background: rgba(255, 255, 255, 0.5);
}

.grh-deco-square {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--grh-gold);
  transform: rotate(45deg);
  opacity: 0.3;
}

.grh-deco-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grh-gold);
  display: inline-block;
}

.grh-deco-ring {
  border: 1px solid var(--grh-gold);
  border-radius: 50%;
  opacity: 0.25;
}

.grh-deco-dots {
  background-image: radial-gradient(var(--grh-gold) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.12;
}

/* === Buttons === */
.grh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 50rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.grh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 36, 27, 0.12);
}

.grh-btn--gold {
  background: var(--grh-gold);
  color: var(--grh-espresso);
}

.grh-btn--gold:hover {
  background: var(--grh-gold-dark);
  color: var(--grh-white);
}

.grh-btn--outline {
  border-color: var(--grh-gold);
  color: var(--grh-gold-dark);
}

.grh-btn--dark {
  background: var(--grh-espresso);
  color: var(--grh-white);
}

.grh-btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--grh-white);
  border-color: rgba(255, 255, 255, 0.25);
}

/* === Header === */
.grh-header {
  position: sticky;
  top: 0;
  z-index: 1080;
  background: rgba(249, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grh-sand);
  padding: 0.75rem 0;
  transition: box-shadow 0.2s ease;
}

.grh-header--scrolled {
  box-shadow: 0 4px 20px rgba(44, 36, 27, 0.08);
}

.grh-header__logo {
  max-height: 48px;
  width: auto;
}

.grh-header__contact {
  color: var(--grh-charcoal);
  font-size: 0.85rem;
  font-weight: 500;
}

.grh-header__contact i {
  color: var(--grh-gold-dark);
  margin-right: 0.35rem;
}

.grh-nav-link {
  color: var(--grh-espresso);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0;
  margin: 0 0.6rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.grh-nav-link:hover,
.grh-nav-link:focus {
  color: var(--grh-gold-dark);
  border-bottom-color: var(--grh-gold);
}

/* === Footer === */
.grh-footer {
  background: var(--grh-espresso);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.grh-footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.grh-footer__brand {
  max-height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.grh-footer__title {
  color: var(--grh-white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.grh-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.grh-footer a:hover {
  color: var(--grh-gold);
}

.grh-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.grh-footer__offline {
  background: rgba(197, 160, 109, 0.12);
  border: 1px solid rgba(197, 160, 109, 0.25);
  border-radius: var(--grh-radius-sm);
}

/* === Sections === */
.grh-section {
  position: relative;
  padding: var(--grh-section-pad) 0;
  overflow: hidden;
}

.grh-section--dark {
  color: var(--grh-white);
  background-color: var(--grh-espresso);
}

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

.grh-section--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.grh-section--bg .grh-lead,
.grh-section--bg p:not(.grh-btn) {
  color: rgba(255, 255, 255, 0.85);
}

.grh-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--grh-gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.grh-section__title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* === Hero === */
.grh-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 5rem;
}

.grh-hero__frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--grh-radius);
  padding: 2rem;
}

.grh-hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.grh-hero__title--outline {
  -webkit-text-stroke: 1.5px var(--grh-gold);
  color: transparent;
}

.grh-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grh-white);
}

.grh-hero__bottom-bar {
  position: relative;
  padding: 1.25rem 0;
  margin-top: 3rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.grh-hero__meta {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

.grh-hero__scroll {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grh-white);
  transition: background 0.2s, color 0.2s;
}

.grh-hero__scroll:hover {
  background: var(--grh-white);
  color: var(--grh-espresso);
}

/* === Cards === */
.grh-card {
  background: var(--grh-white);
  border-radius: var(--grh-radius);
  border: 1px solid var(--grh-sand);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.grh-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(44, 36, 27, 0.08);
}

.grh-card--dark {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--grh-white);
}

.grh-card--bg {
  background-size: cover;
  background-position: center;
  border: none;
}

.grh-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 160, 109, 0.12);
  color: var(--grh-gold-dark);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.grh-card--bg .grh-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--grh-white);
}

.grh-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grh-gold-dark);
  margin-bottom: 0.35rem;
}

.grh-card--bg .grh-card__label {
  color: var(--grh-gold);
}

/* === Bento grid === */
.grh-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.grh-bento__item {
  grid-column: span 2;
  min-height: 260px;
  border-radius: var(--grh-radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.grh-bento__item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.grh-bento__item--sm {
  grid-column: span 1;
}

.grh-bento__item--bg {
  background-size: cover;
  background-position: center;
}

/* === Service pillars / hover expand === */
.grh-pillars {
  display: flex;
  gap: 0.75rem;
  min-height: 520px;
}

.grh-pillar {
  flex: 1;
  border-radius: var(--grh-radius);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--grh-sand);
  transition: flex 0.35s ease;
  overflow: hidden;
  position: relative;
}

.grh-pillar:hover {
  flex: 2.2;
}

.grh-pillar__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: var(--grh-white);
}

/* === Timeline === */
.grh-timeline {
  position: relative;
  padding-left: 2rem;
}

.grh-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grh-gold);
  opacity: 0.35;
}

.grh-timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.grh-timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-2rem + 1px);
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grh-cream);
  border: 2px solid var(--grh-gold);
}

.grh-timeline__year {
  font-size: 0.75rem;
  color: var(--grh-gold-dark);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* === Masonry gallery === */
.grh-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.grh-masonry__item {
  border-radius: var(--grh-radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.grh-masonry__item--tall {
  grid-row: span 2;
}

.grh-masonry__item--wide {
  grid-column: span 2;
}

.grh-masonry__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--grh-white);
}

/* === Portfolio hover list === */
.grh-reel {
  list-style: none;
  padding: 0;
  margin: 0;
}

.grh-reel__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: padding 0.2s;
}

.grh-reel__item:hover {
  padding-left: 1rem;
}

.grh-reel__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--grh-white);
}

.grh-reel__meta {
  color: var(--grh-gold);
  font-size: 0.85rem;
}

/* === Testimonials === */
.grh-testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.grh-testimonial__slides {
  position: relative;
  overflow: hidden;
}

.grh-testimonial__slide {
  display: none;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: center;
  animation: grh-fade-in 0.4s ease;
}

.grh-testimonial__slide.active {
  display: grid;
}

.grh-testimonial__portrait {
  aspect-ratio: 3/4;
  border-radius: var(--grh-radius);
  background-size: cover;
  background-position: center;
}

.grh-testimonial__quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--grh-espresso);
}

@keyframes grh-fade-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Stats === */
.grh-stat__number {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--grh-gold-dark);
  line-height: 1;
}

.grh-section--dark .grh-stat__number,
.grh-section--bg .grh-stat__number {
  color: var(--grh-gold);
}

.grh-stat__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grh-charcoal);
}

/* === Pricing === */
.grh-pricing-card {
  border: 1px solid var(--grh-sand);
  border-radius: var(--grh-radius);
  padding: 2rem;
  background: var(--grh-white);
  height: 100%;
  position: relative;
}

.grh-pricing-card--featured {
  border-color: var(--grh-gold);
  box-shadow: 0 18px 50px rgba(44, 36, 27, 0.1);
}

.grh-pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--grh-espresso);
}

/* === FAQ / Accordion === */
.grh-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grh-sand);
}

.grh-accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  color: var(--grh-espresso);
  font-weight: 600;
  padding-left: 0;
}

.grh-accordion .accordion-button:not(.collapsed) {
  color: var(--grh-gold-dark);
}

.grh-accordion .accordion-body {
  padding-left: 0;
}

/* === Forms === */
.grh-form .form-control,
.grh-form .form-select {
  background: var(--grh-white);
  border-color: var(--grh-sand);
  border-radius: var(--grh-radius-sm);
  padding: 0.85rem 1rem;
  color: var(--grh-espresso);
}

.grh-form .form-control:focus,
.grh-form .form-select:focus {
  border-color: var(--grh-gold);
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 109, 0.15);
}

.grh-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  background: var(--grh-espresso);
  color: var(--grh-white);
  padding: 1rem 1.5rem;
  border-radius: var(--grh-radius-sm);
  border-left: 4px solid var(--grh-gold);
  display: none;
  max-width: 360px;
}

.grh-toast.is-visible {
  display: block;
  animation: grh-slideIn 0.3s ease;
}

@keyframes grh-slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Cookie banner === */
.grh-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--grh-white);
  border-top: 1px solid var(--grh-sand);
  padding: 1rem 0;
  z-index: 1090;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.grh-cookie.is-visible {
  transform: translateY(0);
}

/* === Map === */
.grh-map iframe {
  border-radius: var(--grh-radius);
  filter: grayscale(25%) contrast(0.95);
}

/* === Utility === */
.grh-sticky-note {
  position: sticky;
  top: 100px;
}

.grh-aside-rule {
  border-left: 2px solid var(--grh-gold);
  padding-left: 1.5rem;
}

.grh-text-white {
  color: var(--grh-white) !important;
}

.grh-text-gold {
  color: var(--grh-gold) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.grh-bg-dark {
  background-color: var(--grh-espresso) !important;
}

.grh-bg-sand {
  background-color: var(--grh-sand) !important;
}

.grh-radius {
  border-radius: var(--grh-radius) !important;
}

/* === Responsive tweaks === */
@media (max-width: 991.98px) {
  :root {
    --grh-section-pad: 4rem;
  }

  .grh-hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .grh-hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .grh-bento,
  .grh-masonry,
  .grh-testimonial__slide {
    grid-template-columns: 1fr;
  }

  .grh-bento__item,
  .grh-bento__item--lg,
  .grh-bento__item--sm,
  .grh-masonry__item--wide,
  .grh-masonry__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .grh-pillars {
    flex-direction: column;
    min-height: auto;
  }

  .grh-pillar {
    min-height: 220px;
  }

  .grh-pillar:hover {
    flex: 1;
  }

  .grh-pillar__content {
    position: relative;
    background: rgba(0, 0, 0, 0.55);
  }
}

@media (max-width: 575.98px) {
  .grh-hero__title {
    font-size: clamp(2.2rem, 13vw, 3.2rem);
  }

  .grh-section {
    padding: 3rem 0;
  }

  .grh-btn {
    width: 100%;
    justify-content: center;
  }
}
