/* Preporu brand theme: preserve Bootstrap components while switching the site to green. */
:root {
  --bs-primary: #18845b;
  --bs-primary-rgb: 24, 132, 91;
  --bs-link-color: #146c43;
  --bs-link-hover-color: #0f5132;
}

body { color: #20342a; background: #f7faf8; }
.navbar.bg-light { background-color: #fff !important; border-bottom: 1px solid #e6eee8; }
.navbar { --bs-navbar-color: #53665c; --bs-navbar-hover-color: #146c43; }
.navbar .navbar-brand img { width: 174px; max-width: 48vw; height: auto; }
.navbar .nav-link { font-size: .88rem; font-weight: 650; letter-spacing: .025em; }
.bg-primary { --bs-bg-opacity: 1; background-color: #18845b !important; }
.text-bg-primary { color: #fff !important; background-color: #18845b !important; }
.btn-primary {
  --bs-btn-bg: #18845b;
  --bs-btn-border-color: #18845b;
  --bs-btn-hover-bg: #146c43;
  --bs-btn-hover-border-color: #146c43;
  --bs-btn-active-bg: #0f5132;
  --bs-btn-active-border-color: #0f5132;
  --bs-btn-disabled-bg: #18845b;
  --bs-btn-disabled-border-color: #18845b;
}
.btn-outline-primary {
  --bs-btn-color: #146c43;
  --bs-btn-border-color: #18845b;
  --bs-btn-hover-bg: #18845b;
  --bs-btn-hover-border-color: #18845b;
}
.table-primary { --bs-table-bg: #e1f1e8; --bs-table-color: #20342a; }
.pagination { --bs-pagination-active-bg: #18845b; --bs-pagination-active-border-color: #18845b; --bs-pagination-color: #146c43; }
footer.bg-primary { background: #155d42 !important; }

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 6.25rem) 0 4.25rem;
  color: #fff;
  background: radial-gradient(ellipse at 84% 8%, rgba(126, 215, 167, .28), transparent 34%), linear-gradient(125deg, #123f31 0%, #176447 52%, #19865b 100%);
}
.home-hero::after { position: absolute; right: -90px; bottom: -220px; width: 490px; height: 490px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.025); content: ""; pointer-events: none; }
.home-hero-inner { position: relative; z-index: 1; max-width: 1040px; }
.home-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; color: #e0f2e8; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .82rem; font-weight: 600; }
.home-kicker-dot { width: 8px; height: 8px; background: #9ce2b9; border-radius: 50%; box-shadow: 0 0 0 4px rgba(156,226,185,.15); }
.home-hero h1 { max-width: 820px; margin: 1.35rem 0 .8rem; font-size: clamp(2.4rem, 5.5vw, 4.35rem); font-weight: 750; line-height: 1.06; letter-spacing: -.055em; }
.home-lead { margin: 0; color: #d7e9df; font-size: clamp(1rem, 2vw, 1.2rem); }
.home-search { display: flex; align-items: center; gap: 12px; max-width: 710px; margin-top: 2rem; padding: 8px; background: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 14px; box-shadow: 0 16px 45px rgba(8, 35, 25, .22); }
.home-search-icon { padding-left: 12px; color: #688176; font-size: 1.1rem; }
.home-search input { flex: 1; min-width: 0; padding: 12px 2px; color: #20342a; background: transparent; border: 0; outline: 0; font: inherit; }
.home-search input::placeholder { color: #829188; opacity: 1; }
.home-search button { display: flex; align-items: center; gap: 9px; padding: 12px 20px; color: #fff; background: #18845b; border: 0; border-radius: 9px; font-weight: 650; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.home-search button:hover { background: #116846; transform: translateY(-1px); }
.home-search-hint { margin: 10px 0 0 4px; color: #d4e6db; font-size: .8rem; }
.home-search-hint i { margin-right: 4px; }
.home-browse-link { display: inline-flex; align-items: center; gap: 7px; margin: 1.25rem 0 0 4px; color: #fff; font-size: .9rem; font-weight: 650; text-decoration: none; }
.home-browse-link:hover { color: #c9f1d8; }
.home-content { max-width: 1120px; padding-top: 2rem; padding-bottom: 3.5rem; }
.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: -3rem; position: relative; z-index: 2; }
.home-stat-card { display: flex; align-items: center; gap: 14px; min-height: 116px; padding: 19px 17px; background: #fff; border: 1px solid #e5eee8; border-radius: 15px; box-shadow: 0 9px 25px rgba(29, 72, 49, .07); }
.home-stat-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: #18845b; background: #e9f6ee; border-radius: 12px; font-size: 1.12rem; }
.home-stat-card div { display: flex; min-width: 0; flex-direction: column; }
.home-stat-label { color: #6a7b70; font-size: .78rem; }
.home-stat-card strong { margin: 1px 0; color: #1c382b; font-size: 1.7rem; font-weight: 750; line-height: 1.18; letter-spacing: -.04em; }
.home-stat-card small { color: #88968e; font-size: .69rem; }
.home-stat-rating .home-stat-icon { color: #a87917; background: #fff6dc; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 3.25rem 0 1.15rem; }
.home-section-kicker { color: #18845b; font-size: .72rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.home-section-heading h2 { margin: 3px 0 0; color: #1d362a; font-size: clamp(1.45rem, 2.8vw, 1.9rem); font-weight: 730; letter-spacing: -.035em; }
.home-section-heading > a, .home-panel-link { display: inline-flex; align-items: center; gap: 7px; color: #18704e; font-size: .85rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.home-charts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.home-panel { padding: 21px 22px; background: #fff; border: 1px solid #e5eee8; border-radius: 15px; box-shadow: 0 6px 18px rgba(29,72,49,.035); }
.home-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.home-panel-heading h3 { margin: 0; color: #20392d; font-size: 1.05rem; font-weight: 720; letter-spacing: -.02em; }
.home-panel-heading p { margin: 4px 0 0; color: #829087; font-size: .78rem; }
.home-panel-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #317957; background: #edf7f0; border-radius: 999px; font-size: .68rem; font-weight: 650; white-space: nowrap; }
.home-month-chart { margin-top: 14px; padding: 0 4px; }
.home-month-line { display: block; width: 100%; height: auto; aspect-ratio: 600 / 165; overflow: visible; }
.home-chart-grid line { stroke: #e8efea; stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.home-month-line-path { fill: none; stroke: #18845b; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.home-month-point { fill: #fff; stroke: #18845b; stroke-width: 3; vector-effect: non-scaling-stroke; }
.home-month-axis { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; margin-top: 3px; }
.home-month-column { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; }
.home-month-value { color: #3f594b; font-size: .72rem; font-weight: 700; }
.home-month-label { color: #829087; font-size: .68rem; text-align: center; white-space: nowrap; }
.home-panel-icon { display: grid; width: 34px; height: 34px; place-items: center; color: #18845b; background: #e9f6ee; border-radius: 10px; }
.home-rating-chart { display: grid; gap: 15px; margin-top: 24px; }
.home-rating-row { display: grid; grid-template-columns: 40px minmax(0,1fr) 30px; align-items: center; gap: 9px; }
.home-rating-label { color: #6d7d73; font-size: .75rem; font-weight: 650; }
.home-rating-label i { color: #e9b847; font-size: .64rem; }
.home-rating-track { overflow: hidden; height: 9px; background: #edf2ee; border-radius: 99px; }
.home-rating-bar { height: 100%; background: linear-gradient(90deg, #73c28f, #18845b); border-radius: inherit; }
.home-rating-count { color: #51655a; font-size: .75rem; font-weight: 650; text-align: right; }
.home-latest-panel { margin-top: 16px; }
.home-latest-panel > .home-panel-heading { align-items: center; margin-bottom: 17px; }
.home-latest-panel .home-panel-heading h3 { margin-top: 3px; font-size: 1.2rem; }
.home-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.home-review-card { display: flex; min-width: 0; flex-direction: column; padding: 15px; color: inherit; background: #f9fbf9; border: 1px solid #e9efeb; border-radius: 12px; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.home-review-card:hover { color: inherit; border-color: #a9d6b9; box-shadow: 0 8px 18px rgba(29,72,49,.07); transform: translateY(-2px); }
.home-review-location { color: #75857a; font-size: .72rem; }
.home-review-card strong { margin-top: 10px; color: #263f31; font-size: .96rem; }
.home-review-rating { margin-top: 8px; color: #e6ac32; font-size: .9rem; letter-spacing: .03em; }
.home-review-rating b { margin-left: 3px; color: #53675b; font-size: .74rem; letter-spacing: 0; }
.home-star-empty { color: #dce4de; }
.home-review-date { margin-top: 7px; color: #87948b; font-size: .7rem; }
.home-review-open { display: flex; justify-content: space-between; margin-top: 13px; padding-top: 11px; color: #18704e; border-top: 1px solid #e7eee9; font-size: .73rem; font-weight: 650; }
.home-empty-state { padding: 26px 12px; color: #718177; text-align: center; }
.home-empty-state > i { color: #66a982; font-size: 1.8rem; }
.home-empty-state p { margin: 8px 0; }
.home-share-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 25px 27px; background: #edf7f0; border: 1px solid #d9eddf; border-radius: 15px; }
.home-share-cta h2 { margin: 4px 0; color: #1e3b2d; font-size: 1.3rem; font-weight: 730; letter-spacing: -.025em; }
.home-share-cta p { margin: 0; color: #65796c; font-size: .84rem; }
.home-cta-button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; color: #fff; background: #18845b; border-radius: 9px; font-size: .85rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.home-cta-button:hover { color: #fff; background: #146c43; }

@media (max-width: 991.98px) {
  .home-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-charts { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .home-hero { padding: 3rem 0 4rem; }
  .home-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .home-search { gap: 6px; padding: 6px; }
  .home-search-icon { padding-left: 7px; }
  .home-search input { padding: 10px 0; font-size: .88rem; }
  .home-search button { gap: 6px; padding: 10px 12px; font-size: .83rem; }
  .home-content { padding-right: 16px; padding-left: 16px; }
  .home-stats { gap: 9px; margin-top: -2.65rem; }
  .home-stat-card { min-height: 96px; gap: 9px; padding: 12px 10px; border-radius: 12px; }
  .home-stat-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: .95rem; }
  .home-stat-label { font-size: .68rem; }
  .home-stat-card strong { font-size: 1.35rem; }
  .home-stat-card small { font-size: .61rem; }
  .home-section-heading { align-items: flex-start; margin-top: 2.6rem; }
  .home-section-heading > a { margin-top: 4px; font-size: .73rem; }
  .home-panel { padding: 17px 14px; }
  .home-panel-badge { font-size: .61rem; }
  .home-month-axis { gap: 3px; }
  .home-month-value { font-size: .66rem; }
  .home-month-label { font-size: .61rem; }
  .home-latest-grid { grid-template-columns: 1fr; }
  .home-latest-panel > .home-panel-heading { align-items: flex-start; }
  .home-panel-link { font-size: .74rem; }
  .home-share-cta { align-items: flex-start; flex-direction: column; gap: 15px; padding: 20px 17px; }
}
