/* Real-retreats shared CSS — used by hub and detail pages */
:root {
  --ink: #202125; --ink-soft: #3d4f32; --ink-mute: #8a8b7e;
  --cream: #faf6ee; --cream-2: #f4e8d4;
  --sage: #5b6f3f; --sage-dark: #3d4f32;
  --terracotta: #c9663a; --gold: #d4a445;
  --line: #e6dfd0; --radius: 14px;
}
/* OMP brand override — teal/forest palette */
body.brand-omp {
  --ink: #1a2e28; --ink-soft: #2a4338; --ink-mute: #666;
  --cream: #fdfdfc; --cream-2: #f0f5f3;
  --sage: #3d6b5e; --sage-dark: #2d544a;
  --terracotta: #3d6b5e; --gold: #8aa89d;
  --line: #e5e5e0;
  --header-bg: #2d544a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.site-header { background: var(--header-bg, var(--sage-dark)); color: white; padding: 18px 0; position: relative; }
.header-inner { display: flex; justify-content: space-between; align-items: center; position: relative; }
.brand { font-family: 'Fraunces', serif; font-size: 1.3rem; color: white; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-nav { display: flex; gap: 28px; align-items: center; }
.header-nav a { color: white; opacity: 0.85; font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap; }
.header-nav a:hover, .header-nav a.active { opacity: 1; }

/* Hamburger — hidden on desktop */
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: white; -webkit-tap-highlight-color: transparent; }
.nav-toggle svg { display: block; width: 24px; height: 24px; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--header-bg, var(--sage-dark));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
    z-index: 40;
  }
  .header-nav.is-open { display: flex; }
  .header-nav a {
    padding: 14px 24px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .header-nav a:last-child { border-bottom: 0; }
  .brand { font-size: 1.1rem; }
}

.breadcrumb-bar { background: var(--cream-2); padding: 12px 0; font-size: 13px; color: var(--ink-mute); border-bottom: 1px solid var(--line); }
.breadcrumb-bar a { color: var(--ink-mute); }

.page-hero { padding: 56px 0 32px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.95rem; }
.hero-stats strong { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--ink); display: block; }

.directory { padding: 32px 0 80px; }
.directory .container { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }

.filters { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; height: fit-content; position: sticky; top: 20px; }
.filter-group { margin-bottom: 18px; }
.filter-group label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 8px; font-weight: 600; }
.filter-group input, .filter-group select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; background: white; }

.toolbar { margin-bottom: 20px; }
.count { color: var(--ink-mute); font-size: 14px; }

.retreat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.retreat-card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.retreat-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(31, 43, 36, 0.22); text-decoration: none; }

.card-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--cream-2); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-photo-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--cream-2), #d8c8a3); }
.card-photo-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.95); color: var(--sage-dark); font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.card-photo-rating { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.7); color: white; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 999px; }
.card-photo-rating::before { content: '★ '; color: var(--gold); }

.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.card-name { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 500; line-height: 1.25; color: var(--ink); margin: 0; }
.card-tagline { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.card-footer { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.card-price { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; color: var(--sage-dark); }
.card-price-from { font-size: 11px; color: var(--ink-mute); font-weight: 400; font-family: 'Inter', sans-serif; margin-right: 4px; }
.card-cta { font-size: 13px; font-weight: 600; color: var(--terracotta); }

.load-more-wrap { text-align: center; margin-top: 40px; }
.btn-secondary { background: white; border: 1px solid var(--line); padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-secondary:hover { border-color: var(--sage-dark); }

.detail-section { background: white; padding: 60px 0; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.detail-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-2); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-meta { font-size: 13px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 8px; }
.detail-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 14px; }
.detail-tagline { font-size: 1.1rem; color: var(--sage-dark); margin: 0 0 24px; line-height: 1.45; font-style: italic; }
.detail-stats { display: flex; gap: 28px; margin-bottom: 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.detail-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); }
.detail-stat-value { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.detail-stat-value .rev-ct { font-size: 12px; color: var(--ink-mute); font-family: 'Inter', sans-serif; }
.detail-desc { color: var(--ink); line-height: 1.7; margin-bottom: 24px; }
.detail-highlights { list-style: none; padding: 0; margin: 0 0 32px; }
.detail-highlights li { padding: 8px 0; border-bottom: 1px solid var(--line); position: relative; padding-left: 22px; }
.detail-highlights li::before { content: '✓'; color: var(--sage); position: absolute; left: 0; font-weight: bold; }
.book-cta { background: var(--terracotta); color: white; padding: 16px 28px; border-radius: 10px; font-weight: 600; text-decoration: none; display: inline-block; font-size: 15px; }
.book-cta:hover { background: #b25530; text-decoration: none; }
.affiliate-disclaimer { font-size: 12px; color: var(--ink-mute); margin-top: 12px; max-width: 380px; }
.affiliate-disclaimer a { color: var(--ink-mute); text-decoration: underline; }

.site-footer { background: var(--sage-dark); color: white; padding: 56px 0 28px; margin-top: 60px; font-size: 14px; }
.site-footer a { color: white; opacity: 0.8; text-decoration: none; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-name { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 500; margin: 0 0 12px; }
.footer-brand-name em { font-style: italic; opacity: 0.85; }
.footer-tag { color: rgba(255,255,255,0.75); line-height: 1.55; margin: 0; max-width: 340px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin: 0 0 14px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; color: rgba(255,255,255,0.55); font-size: 13px; text-align: center; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .directory .container { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
}
