/* ==========================================================================
   Osteria Hotel — global styles
   Theme: deep emerald + brass gold + warm ivory (casino-side boutique hotel)
   Library-first: Bootstrap utilities carry layout; these are the brand skin.
   ========================================================================== */

:root {
  --oh-emerald: #123f36;
  --oh-emerald-deep: #0c2c26;
  --oh-emerald-soft: #1b5247;
  --oh-gold: #c9a45c;
  --oh-gold-soft: #e4cf9d;
  --oh-ivory: #f6f1e7;
  --oh-sand: #efe6d3;
  --oh-ink: #1d2724;
  --oh-muted: #5c6b66;
  --oh-line: rgba(18, 63, 54, .14);
  --oh-radius: 1.25rem;
  --oh-shadow: 0 1.25rem 3rem rgba(12, 44, 38, .14);
  --oh-font-display: "Playfair Display", Georgia, serif;
  --oh-font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

h1, h2, h3, .oh-display {
  font-family: var(--oh-font-display);
  color: var(--oh-emerald-deep);
  letter-spacing: -.01em;
}

h4, h5, h6 { font-family: var(--oh-font-body); font-weight: 600; }

a { color: var(--oh-emerald); }
a:hover { color: var(--oh-emerald-deep); }

::selection { background: var(--oh-gold); color: var(--oh-emerald-deep); }

/* ---------- Type helpers ---------- */

.oh-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oh-gold);
}
.oh-kicker::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--oh-gold);
}
.oh-kicker--center::after {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--oh-gold);
}

.oh-lead { font-size: 1.125rem; color: var(--oh-muted); }

/* ---------- Buttons ---------- */

.btn-oh-gold {
  --bs-btn-bg: var(--oh-gold);
  --bs-btn-border-color: var(--oh-gold);
  --bs-btn-color: var(--oh-emerald-deep);
  --bs-btn-hover-bg: #b8923f;
  --bs-btn-hover-border-color: #b8923f;
  --bs-btn-hover-color: var(--oh-emerald-deep);
  --bs-btn-active-bg: #a8823a;
  --bs-btn-active-border-color: #a8823a;
  --bs-btn-active-color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: .7rem 1.6rem;
}

.btn-oh-outline {
  --bs-btn-color: var(--oh-emerald);
  --bs-btn-border-color: var(--oh-emerald);
  --bs-btn-hover-bg: var(--oh-emerald);
  --bs-btn-hover-border-color: var(--oh-emerald);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--oh-emerald-deep);
  --bs-btn-active-border-color: var(--oh-emerald-deep);
  font-weight: 600;
  border-radius: 999px;
  padding: .7rem 1.6rem;
}

.btn-oh-light {
  --bs-btn-color: var(--oh-emerald-deep);
  --bs-btn-bg: var(--oh-ivory);
  --bs-btn-border-color: var(--oh-ivory);
  --bs-btn-hover-bg: var(--oh-gold-soft);
  --bs-btn-hover-border-color: var(--oh-gold-soft);
  --bs-btn-hover-color: var(--oh-emerald-deep);
  font-weight: 600;
  border-radius: 999px;
  padding: .7rem 1.6rem;
}

.link-gold {
  color: var(--oh-gold);
  font-weight: 600;
  text-decoration: none;
}
.link-gold:hover { color: var(--oh-gold-soft); text-decoration: underline; }

/* ---------- 18+ badge & disclaimers ---------- */

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: .35rem .6rem;
  border: 2px solid var(--oh-gold);
  border-radius: .6rem;
  color: var(--oh-gold);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .05em;
  line-height: 1;
}
.badge-18--sm { min-width: 2.4rem; font-size: .78rem; padding: .25rem .45rem; border-width: 1.5px; }

.rg-note {
  border: 1px dashed rgba(201, 164, 92, .55);
  background: rgba(201, 164, 92, .1);
  border-radius: var(--oh-radius);
}

/* ---------- Cards / surfaces ---------- */

.oh-card {
  background: #fff;
  border: 1px solid var(--oh-line);
  border-radius: var(--oh-radius);
  box-shadow: 0 .5rem 1.5rem rgba(12, 44, 38, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.oh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--oh-shadow);
}

.oh-icon-chip {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(201, 164, 92, .16);
  color: var(--oh-gold);
  font-size: 1.15rem;
}

/* ---------- Sections ---------- */

.oh-section { position: relative; padding: 5rem 0; }
.oh-section--tint { background: var(--oh-sand); }
.oh-section--dark { background: var(--oh-emerald-deep); color: #e9e2d2; }
.oh-section--dark h1, .oh-section--dark h2, .oh-section--dark h3 { color: var(--oh-ivory); }
.oh-section--dark .oh-lead { color: rgba(233, 226, 210, .75); }

/* background-photo sections: src stays empty, photo.js fills url() later */
.oh-bg-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.oh-bg-photo h1, .oh-bg-photo h2, .oh-bg-photo h3, .oh-bg-photo p { color: #fff; }
.oh-bg-photo .oh-lead { color: rgba(255, 255, 255, .82); }

/* decorative soft ring behind content */
.oh-ring {
  position: absolute;
  border: 1px solid rgba(201, 164, 92, .35);
  border-radius: 50%;
  pointer-events: none;
}

/* ---------- Header ---------- */

.topbar {
  background: var(--oh-emerald-deep);
  color: rgba(246, 241, 231, .85);
  font-size: .82rem;
}
.topbar a { color: var(--oh-gold-soft); text-decoration: none; }
.topbar a:hover { color: var(--oh-gold); }

.site-header .navbar {
  background: rgba(246, 241, 231, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--oh-line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled .navbar { box-shadow: 0 .5rem 1.5rem rgba(12, 44, 38, .12); }

.main-nav .nav-link {
  font-weight: 600;
  font-size: .92rem;
  color: var(--oh-ink);
  padding: .5rem .8rem;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--oh-gold); }

.brand-logo { height: 44px; width: auto; }

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

.hero-slide {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); color: #fff; }
.carousel-indicators [data-bs-target] { width: 2.4rem; height: .3rem; border-radius: 999px; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: none; }

/* ---------- Stats / facts ---------- */

.oh-stat__num {
  font-family: var(--oh-font-display);
  font-size: 2.4rem;
  color: var(--oh-gold);
  line-height: 1;
}
.oh-stat__label { font-size: .85rem; color: var(--oh-muted); }
.oh-section--dark .oh-stat__label, .oh-bg-photo .oh-stat__label { color: rgba(255, 255, 255, .7); }

/* ---------- Steps ---------- */

.step-item { position: relative; }
.step-item__num {
  font-family: var(--oh-font-display);
  font-size: 2rem;
  color: var(--oh-gold);
  line-height: 1;
}

/* ---------- Reviews ---------- */

.review-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--oh-gold-soft);
}
.stars { color: var(--oh-gold); letter-spacing: .15em; }

/* ---------- Partners ---------- */

.partner-logo {
  height: 72px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--oh-radius);
  filter: grayscale(35%);
  opacity: .9;
  transition: filter .25s ease, opacity .25s ease;
}
.partner-logo:hover { filter: none; opacity: 1; }

/* ---------- Gallery ---------- */

.img-cover { width: 100%; object-fit: cover; }
.gallery-cap { font-size: .85rem; color: var(--oh-muted); }

/* ---------- Pricing ---------- */

.price-tier { position: relative; overflow: hidden; }
.price-tier--featured { border: 2px solid var(--oh-gold); }
.price-tier__price {
  font-family: var(--oh-font-display);
  font-size: 2.2rem;
  color: var(--oh-emerald-deep);
}
.price-tier__flag {
  position: absolute;
  top: 1rem;
  right: -2.6rem;
  transform: rotate(45deg);
  background: var(--oh-gold);
  color: var(--oh-emerald-deep);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .25rem 3rem;
}

/* ---------- Comparison table ---------- */

.oh-table thead th {
  background: var(--oh-emerald-deep);
  color: var(--oh-ivory);
  font-weight: 600;
  border: none;
}
.oh-table tbody tr:hover { background: rgba(201, 164, 92, .08); }

/* ---------- FAQ accordion skin ---------- */

.oh-faq .accordion-item {
  border: 1px solid var(--oh-line);
  border-radius: 1rem !important;
  overflow: hidden;
  margin-bottom: .8rem;
  background: #fff;
}
.oh-faq .accordion-button {
  font-weight: 600;
  color: var(--oh-emerald-deep);
  background: #fff;
}
.oh-faq .accordion-button:not(.collapsed) {
  background: var(--oh-emerald);
  color: #fff;
  box-shadow: none;
}
.oh-faq .accordion-button:focus { box-shadow: none; }

/* ---------- Forms ---------- */

.form-control, .form-select {
  border-radius: .8rem;
  border: 1px solid var(--oh-line);
  padding: .75rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--oh-gold);
  box-shadow: 0 0 0 .2rem rgba(201, 164, 92, .2);
}

/* inline notification (never alert()) */
.form-note {
  display: none;
  border-radius: .8rem;
  padding: .8rem 1rem;
  font-size: .92rem;
  margin-top: 1rem;
}
.form-note.is-ok {
  display: block;
  background: rgba(27, 82, 71, .12);
  border: 1px solid var(--oh-emerald-soft);
  color: var(--oh-emerald-deep);
}
.form-note.is-err {
  display: block;
  background: rgba(164, 60, 60, .1);
  border: 1px solid rgba(164, 60, 60, .4);
  color: #7c2f2f;
}

/* ---------- Map ---------- */

.map-embed {
  border: 0;
  width: 100%;
  min-height: 380px;
  border-radius: var(--oh-radius);
}

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

.site-footer {
  background: var(--oh-emerald-deep);
  color: rgba(246, 241, 231, .78);
  font-size: .92rem;
}
.site-footer h5, .site-footer h6 { color: var(--oh-ivory); }
.site-footer a { color: rgba(246, 241, 231, .78); text-decoration: none; }
.site-footer a:hover { color: var(--oh-gold); }

.footer-link { display: block; padding: .2rem 0; }

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 164, 92, .45);
  border-radius: 50%;
  color: var(--oh-gold);
  transition: background .25s ease, color .25s ease;
}
.social-link:hover { background: var(--oh-gold); color: var(--oh-emerald-deep); }

.footer-divider { border-color: rgba(246, 241, 231, .15); }

/* ---------- Cookie banner (index only) ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 24rem;
  background: var(--oh-emerald-deep);
  color: var(--oh-ivory);
  border: 1px solid rgba(201, 164, 92, .4);
  border-radius: var(--oh-radius);
  box-shadow: var(--oh-shadow);
}
.cookie-banner[hidden] { display: none; }

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

.post-card__img { height: 220px; width: 100%; object-fit: cover; }
.post-card__tag {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oh-gold);
  font-weight: 700;
}

/* ---------- Misc ---------- */

.oh-divider-gold {
  width: 4rem;
  height: 3px;
  background: var(--oh-gold);
  border-radius: 999px;
}

.text-gold { color: var(--oh-gold) !important; }
.bg-emerald { background: var(--oh-emerald) !important; }

@media (max-width: 991.98px) {
  .oh-section { padding: 3.5rem 0; }
  .hero-slide { min-height: 62vh; }
  .topbar .topbar__item { display: block; padding: .1rem 0; }
}
