/* ============================================================
   Solaris Palace — global styles
   Palette: deep emerald + antique gold + warm ivory
   Convention: custom classes use `sp-` prefix (BEM-ish).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --sp-emerald-900: #0a2e2a;
  --sp-emerald-800: #0c3b36;
  --sp-emerald-700: #114b43;
  --sp-emerald-600: #166055;
  --sp-teal: #1b7a6b;
  --sp-gold: #c9a24b;
  --sp-gold-dark: #a9842f;
  --sp-gold-soft: #e7d3a1;
  --sp-ivory: #f6f1e7;
  --sp-cream: #efe6d3;
  --sp-sand: #e3d7bd;
  --sp-ink: #22302e;
  --sp-muted: #64726e;
  --sp-rose: #b4552d;
  --sp-radius: 1rem;
  --sp-shadow: 0 1.25rem 3rem rgba(10, 46, 42, .14);
  --sp-font-display: 'Playfair Display', Georgia, serif;
  --sp-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

body,html {
  font-family: var(--sp-font-body);
  color: var(--sp-ink);
  background: var(--sp-ivory);
  overflow-x: hidden;
}

h1, h2, h3, .display-font, .navbar-brand {
  font-family: var(--sp-font-display);
}

h1, h2, h3 { font-weight: 600; }

section { position: relative; }

::selection { background: var(--sp-gold); color: var(--sp-emerald-900); }

/* ---------- generic helpers ---------- */

.sp-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sp-gold-dark);
}

.sp-kicker::before {
  content: '';
  width: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--sp-gold), transparent);
}

.sp-kicker--light { color: var(--sp-gold-soft); }

.sp-lead { font-size: 1.15rem; color: var(--sp-muted); }

.sp-section { padding: 5rem 0; }

.sp-section--tint { background: var(--sp-cream); }
.sp-section--dark { background: var(--sp-emerald-800); color: var(--sp-ivory); }
.sp-section--dark .sp-lead, .sp-section--dark p { color: rgba(246, 241, 231, .75); }

/* sections that carry a background photo — photo.js fills url() later */
.sp-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* decorative gradient blob, pure CSS — no svg allowed */
.sp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}

.sp-blob--gold { background: var(--sp-gold); }
.sp-blob--teal { background: var(--sp-teal); }

/* thin ornamental rule with a diamond dot */
.sp-ornament {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--sp-gold-dark);
}

.sp-ornament::before,
.sp-ornament::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--sp-gold), transparent);
}

.sp-ornament i { font-size: .55rem; }

/* oversized ghost numeral behind section titles */
.sp-ghost {
  position: absolute;
  top: -1.5rem;
  left: -.5rem;
  font-family: var(--sp-font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(201, 162, 75, .12);
  pointer-events: none;
  user-select: none;
}

/* ---------- buttons ---------- */

.btn-sp {
  --bs-btn-font-weight: 600;
  background: linear-gradient(135deg, var(--sp-gold), var(--sp-gold-dark));
  border: 0;
  color: var(--sp-emerald-900);
  padding: .8rem 1.9rem;
  border-radius: 3rem;
  box-shadow: 0 .6rem 1.4rem rgba(169, 132, 47, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-sp:hover, .btn-sp:focus {
  color: var(--sp-emerald-900);
  transform: translateY(-2px);
  box-shadow: 0 .9rem 1.8rem rgba(169, 132, 47, .45);
}

.btn-sp-outline {
  border: 1.5px solid var(--sp-gold);
  color: var(--sp-gold-dark);
  border-radius: 3rem;
  padding: .7rem 1.7rem;
  font-weight: 600;
  background: transparent;
  transition: all .25s ease;
}

.btn-sp-outline:hover {
  background: var(--sp-gold);
  color: var(--sp-emerald-900);
}

.btn-sp-light {
  border: 1.5px solid rgba(246, 241, 231, .6);
  color: var(--sp-ivory);
  border-radius: 3rem;
  padding: .7rem 1.7rem;
  font-weight: 600;
  background: transparent;
}

.btn-sp-light:hover { background: var(--sp-ivory); color: var(--sp-emerald-800); }

.btn-link-gold {
  color: var(--sp-gold-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--sp-gold);
}

.btn-link-gold:hover { color: var(--sp-emerald-700); }

/* ---------- cards ---------- */

.sp-card {
  background: #fff;
  border: 1px solid rgba(201, 162, 75, .25);
  border-radius: var(--sp-radius);
  box-shadow: 0 .5rem 1.5rem rgba(10, 46, 42, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.sp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sp-shadow);
}

.sp-card--dark {
  background: var(--sp-emerald-700);
  border-color: rgba(231, 211, 161, .3);
  color: var(--sp-ivory);
}

/* icon chip used across feature blocks */
.sp-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--sp-emerald-800);
  background: linear-gradient(135deg, var(--sp-gold-soft), var(--sp-gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
}

/* ---------- stats ---------- */

.sp-stat__num {
  font-family: var(--sp-font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--sp-gold-dark);
  line-height: 1;
}

.sp-section--dark .sp-stat__num { color: var(--sp-gold-soft); }

.sp-stat__label { font-size: .85rem; color: var(--sp-muted); }
.sp-section--dark .sp-stat__label { color: rgba(246, 241, 231, .7); }

/* ---------- header ---------- */

.sp-topbar {
  background: var(--sp-emerald-900);
  color: rgba(246, 241, 231, .85);
  font-size: .82rem;
}

.sp-topbar a { color: var(--sp-gold-soft); text-decoration: none; }
.sp-topbar a:hover { color: #fff; }
.sp-topbar i { color: var(--sp-gold); }

.sp-navbar {
  background: rgba(246, 241, 231, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 75, .3);
  transition: box-shadow .3s ease;
}

.sp-navbar.is-scrolled { box-shadow: 0 .5rem 1.5rem rgba(10, 46, 42, .12); }

.sp-navbar .navbar-brand img { height: 44px; width: auto; }

.sp-navbar .nav-link {
  font-weight: 600;
  font-size: .92rem;
  color: var(--sp-ink);
  padding: .6rem .85rem;
}

.sp-navbar .nav-link:hover,
.sp-navbar .nav-link.active { color: var(--sp-gold-dark); }

/* 18+ round badge */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 2px solid var(--sp-rose);
  color: var(--sp-rose);
  font-weight: 700;
  font-size: .8rem;
  line-height: 1;
}

.age-badge--light { border-color: var(--sp-gold-soft); color: var(--sp-gold-soft); }

/* ---------- hero / slider ---------- */

.sp-hero-slide {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.sp-hero-slide .container { position: relative; z-index: 2; }

.sp-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--sp-ivory);
}

.sp-hero p { color: rgba(246, 241, 231, .85); font-size: 1.15rem; max-width: 42rem; }

.carousel-indicators [data-bs-target] {
  width: 2.4rem;
  height: .3rem;
  border-radius: 2px;
  background-color: var(--sp-gold-soft);
}

.carousel-control-prev-icon,
.carousel-control-next-icon { filter: none; }

/* small floating info chip on hero */
.sp-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(10, 46, 42, .55);
  border: 1px solid rgba(231, 211, 161, .4);
  color: var(--sp-ivory);
  border-radius: 3rem;
  padding: .45rem 1.1rem;
  font-size: .82rem;
  backdrop-filter: blur(6px);
}

/* ---------- feature / media splits ---------- */

.sp-img-frame {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  box-shadow: var(--sp-shadow);
}

.sp-img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* offset gold frame behind an image */
.sp-img-frame--offset::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--sp-gold);
  border-radius: var(--sp-radius);
  transform: translate(14px, 14px);
  z-index: -1;
}

.sp-checklist { list-style: none; padding: 0; margin: 0; }

.sp-checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .8rem;
}

.sp-checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: .15rem;
  color: var(--sp-gold-dark);
}

/* ---------- gallery ---------- */

.sp-gallery figure { margin: 0; }

.sp-gallery img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: var(--sp-radius);
  transition: transform .4s ease;
}

.sp-gallery figure:hover img { transform: scale(1.04); }

.sp-gallery figure { overflow: hidden; border-radius: var(--sp-radius); position: relative; }

.sp-gallery figcaption {
  font-size: .82rem;
  color: var(--sp-muted);
  padding: .6rem .2rem 0;
}

/* ---------- reviews ---------- */

.review-card__avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sp-gold-soft);
}

.sp-stars { color: var(--sp-gold); letter-spacing: .15em; }

/* ---------- steps ---------- */

.step-item__num {
  font-family: var(--sp-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sp-gold);
  line-height: 1;
}

/* ---------- partners ---------- */

.sp-partner img {
  width: 100%;
  height: 6.5rem;
  object-fit: cover;
  border-radius: .8rem;
  filter: grayscale(35%);
  transition: filter .3s ease, transform .3s ease;
}

.sp-partner:hover img { filter: grayscale(0); transform: translateY(-4px); }

/* ---------- tables ---------- */

.sp-table { background: #fff; border-radius: var(--sp-radius); overflow: hidden; }

.sp-table thead { background: var(--sp-emerald-800); color: var(--sp-gold-soft); }

.sp-table th, .sp-table td { padding: .9rem 1.1rem; vertical-align: middle; }

/* ---------- faq ---------- */

.sp-faq .accordion-item {
  border: 1px solid rgba(201, 162, 75, .3);
  border-radius: .8rem !important;
  overflow: hidden;
  margin-bottom: .8rem;
  background: #fff;
}

.sp-faq .accordion-button {
  font-weight: 600;
  color: var(--sp-ink);
  background: #fff;
}

.sp-faq .accordion-button:not(.collapsed) {
  background: var(--sp-cream);
  color: var(--sp-emerald-800);
  box-shadow: none;
}

.sp-faq .accordion-button:focus { box-shadow: none; border-color: var(--sp-gold); }

/* ---------- disclaimer / responsible gaming ---------- */

.sp-rg {
  border: 1px dashed rgba(180, 85, 45, .55);
  background: rgba(180, 85, 45, .07);
  border-radius: var(--sp-radius);
  font-size: .85rem;
}

.sp-section--dark .sp-rg {
  border-color: rgba(231, 211, 161, .5);
  background: rgba(246, 241, 231, .06);
}

/* ---------- cookie banner (home only) ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  max-width: 24rem;
  z-index: 1080;
  background: var(--sp-emerald-800);
  color: var(--sp-ivory);
  border: 1px solid rgba(231, 211, 161, .4);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  padding: 1.1rem 1.25rem;
  display: none;
}

.cookie-banner.is-visible { display: block; }

/* ---------- toast notification (forms) ---------- */

.sp-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1090;
  background: var(--sp-emerald-800);
  color: var(--sp-ivory);
  border-left: 4px solid var(--sp-gold);
  border-radius: .6rem;
  padding: 1rem 1.4rem;
  box-shadow: var(--sp-shadow);
  display: none;
  align-items: center;
  gap: .7rem;
  max-width: 22rem;
}

.sp-toast.is-visible { display: flex; }
.sp-toast i { color: var(--sp-gold); font-size: 1.3rem; }

/* ---------- footer ---------- */

.sp-footer {
  background: var(--sp-emerald-900);
  color: rgba(246, 241, 231, .75);
  font-size: .92rem;
}

.sp-footer h5, .sp-footer h6 {
  color: var(--sp-gold-soft);
  font-family: var(--sp-font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sp-footer a { color: rgba(246, 241, 231, .75); text-decoration: none; }
.sp-footer a:hover { color: var(--sp-gold-soft); }

.sp-footer .list-unstyled li { margin-bottom: .45rem; }

.sp-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(231, 211, 161, .4);
  color: var(--sp-gold-soft);
  transition: all .25s ease;
}

.sp-social a:hover { background: var(--sp-gold); color: var(--sp-emerald-900); border-color: var(--sp-gold); }

.sp-footer__bottom {
  border-top: 1px solid rgba(231, 211, 161, .2);
  font-size: .82rem;
}

/* ---------- misc ---------- */

.map-embed {
  border: 0;
  border-radius: var(--sp-radius);
  width: 100%;
  min-height: 24rem;
  box-shadow: var(--sp-shadow);
}

.text-gold { color: var(--sp-gold-dark) !important; }
.bg-emerald { background: var(--sp-emerald-800) !important; }
.bg-cream { background: var(--sp-cream) !important; }

.divider-wave {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sp-gold), transparent);
  border: 0;
  opacity: .6;
}

/* price tag chip */
.sp-price-chip {
  font-family: var(--sp-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sp-emerald-800);
}

.sp-price-chip small {
  font-family: var(--sp-font-body);
  font-size: .8rem;
  font-weight: 500;
  color: var(--sp-muted);
}

/* blog cards */
.sp-post-card img {
  height: 13rem;
  width: 100%;
  object-fit: cover;
  border-radius: var(--sp-radius) var(--sp-radius) 0 0;
}

.sp-post-card .sp-card { overflow: hidden; height: 100%; }

/* article body inside generated blog pages */
.sp-article p { line-height: 1.85; margin-bottom: 1.2rem; }
.sp-article h2 { margin: 2.2rem 0 1rem; }
.sp-article ul { margin-bottom: 1.4rem; }
.sp-article li { margin-bottom: .5rem; }

@media (max-width: 991.98px) {
  .sp-section { padding: 3.5rem 0; }
  .sp-hero-slide { min-height: 78vh; }
}
