/*
Theme Name: Coclauri de Bălnaca
Description: Tema site-ului Coclauri de Bălnaca – trasee recreative ghidate cu ATV și cu bicicleta. Funcționează cu pluginul Balnaca Bookings.
Version: 1.0.1
Requires PHP: 8.1
Text Domain: balnaca
*/

@font-face { font-family: "Bitter"; font-weight: 800; font-display: swap; src: url(fonts/bitter-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bitter"; font-weight: 800; font-display: swap; src: url(fonts/bitter-latin-ext-800.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bitter"; font-weight: 700; font-display: swap; src: url(fonts/bitter-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bitter"; font-weight: 700; font-display: swap; src: url(fonts/bitter-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --green: #2f4a2c; --green-2: #3d5c39; --accent: #e07a1f; --accent-2: #c8650f;
  --ink: #1f2a1f; --muted: #5f6a5a; --bg: #f7f5ef; --card: #fff; --line: #e3e6df;
  --radius: 18px; --shadow: 0 12px 40px rgba(30, 40, 25, .10);
  --font-brand: "Bitter", Georgia, serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; }
h1, h2 { font-family: var(--font-brand); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container-narrow { width: min(900px, 100% - 32px); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost-dark:hover { background: var(--green); border-color: var(--green); }
.btn-block { display: block; text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); color: #fff; transition: background .2s, box-shadow .2s; }
.site-header.is-overlay { position: fixed; inset: 0 0 auto 0; background: transparent; }
.site-header.is-scrolled { background: rgba(47, 74, 44, .97); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.admin-bar .site-header.is-overlay { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; }
.brand-mark { width: 44px; height: 44px; color: #fff; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--font-brand); font-weight: 800; font-size: 24px; letter-spacing: -.005em; }
.brand-word i { font-style: normal; font-family: var(--font-brand); font-weight: 700; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: #f0a35a; margin-top: 4px; padding-left: 1px; }
.brand img { max-height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 500; opacity: .9; }
.site-nav a:not(.btn):hover { opacity: 1; }
.lang-switch { order: 2; display: flex; gap: 2px; margin-left: 20px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px; }
.lang-switch a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; opacity: .8; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-current { background: #fff; color: var(--green); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .lang-switch { order: 0; margin-left: auto; margin-right: 10px; }
  .lang-switch a { padding: 8px 11px; }
  .nav-toggle { padding: 10px 8px; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--green); flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a:not(.btn) { display: block; padding: 11px 0; }
  .admin-bar .site-header.is-overlay { top: 46px; }
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-word b { font-size: 21px; }
  .brand-word i { font-size: 9.5px; letter-spacing: .2em; }
  .lang-switch { margin-right: 4px; }
  .lang-switch a { padding: 8px 9px; }
}

/* Hero */
.hero { position: relative; color: #fff; padding: 150px 0 140px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,35,20,.55), rgba(20,35,20,.35)), var(--hero-img, linear-gradient(135deg, #2f4a2c 0%, #4f6b3a 45%, #a0682c 100%)) center/cover no-repeat; }
.hero-bg { position: absolute; inset: auto 0 -1px 0; height: 200px; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; max-width: 780px; margin-left: max(16px, (100% - 1180px) / 2); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
.hero .eyebrow { color: #ffc58f; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); margin: 0 0 18px; font-weight: 800; }
.lead { font-size: clamp(17px, 2vw, 21px); opacity: .95; margin: 0 0 28px; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; }
.hero-badges li::before { content: "✓"; color: #ffc58f; font-weight: 800; margin-right: 8px; }

/* Sections */
.section { padding: 84px 0; scroll-margin-top: 60px; }
.section-alt { background: #eef0e8; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 12px; }
.section-head p:last-child { color: var(--muted); margin: 0; }

/* Offers */
.offer-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 26px; margin-bottom: 36px; }
.offer-group:last-child { margin-bottom: 0; }
.offer-info .offer-media { height: 170px; }
.offer-intro { margin: 0 0 10px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.tiles-2 { grid-template-columns: 1fr; }
.tile { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px 22px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s; }
.tile:hover { transform: translateY(-3px); }
.tile.is-featured { outline: 3px solid var(--accent); padding-top: 40px; }
.tile h3 { margin: 0 0 8px; font-family: var(--font-brand); font-size: 30px; line-height: 1.1; }
.tile h3 span { display: block; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tile .offer-price strong { font-size: 26px; }
.tile .offer-price span { display: block; font-size: 14px; }
.tile .offer-price { margin-bottom: 8px; }
.tile .offer-hourly { align-self: flex-start; margin: -4px 0 12px; padding: 3px 10px; border-radius: 999px; background: #e8f0e3; color: var(--green); font-size: 13px; font-weight: 700; }
@media (max-width: 900px) { .offer-group { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tile { padding: 18px 16px; } .tile h3 { font-size: 24px; } .tile .offer-price strong { font-size: 22px; } }
.offer { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.offer:hover { transform: translateY(-4px); }
.offer.is-featured { outline: 3px solid var(--accent); }
.offer-media { height: 190px; position: relative; background-size: cover; background-position: center; }
.offer-media-atv { background-color: #8a5a2b; background-image: linear-gradient(135deg, #a0682c, #5b3d1e); }
.offer-media-mtb { background-color: #2f4a2c; background-image: linear-gradient(135deg, #4f6b3a, #23381f); }
.offer-tag { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.55); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.offer-ribbon { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.offer-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.offer-body h3 { margin: 0 0 6px; font-size: 21px; }
.offer-price { margin: 0 0 14px; }
.offer-price strong { font-size: 32px; color: var(--accent); }
.offer-price span { color: var(--muted); }
.offer-body ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.offer-body li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid var(--line); }
.offer-body li::before { content: "✓"; position: absolute; left: 0; color: var(--green-2); font-weight: 800; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: 0 4px 18px rgba(30,40,25,.06); }
.steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 18px; }
.steps h3 { margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.location h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 12px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #dfe3d8; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* Content / FAQ */
.page-head { background: var(--green); color: #fff; padding: 56px 0 46px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.content { padding: 46px 0 70px; }
.content > * { max-width: 820px; }
.faq h2 { text-align: center; font-size: clamp(28px, 4vw, 40px); max-width: none; }
.faq details { background: var(--card); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(30,40,25,.05); }
.faq summary { font-weight: 700; cursor: pointer; padding: 16px 20px; margin: -16px -20px; }  /* whole card is the tap target */
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* CTA + footer */
.cta-band { background: var(--accent); color: #fff; padding: 46px 0; text-align: center; }
.cta-band h2 { margin: 0 0 18px; font-size: clamp(26px, 3.5vw, 36px); }
.cta-band .btn { background: #fff; color: var(--accent); border-color: #fff; }
.site-footer { background: #1d2c1b; color: #cfd6c8; padding: 56px 0 24px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.footer-brand { margin-bottom: 12px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 10px; }
.site-footer li { margin-bottom: 6px; }
.anpc a { font-size: 13px; opacity: .8; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: 13px; opacity: .75; }

/* ---------- Hero with EU funding box (AFIR model C.1) ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr); gap: 40px; align-items: center; position: relative; }
.hero-grid .hero-inner { margin-left: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

.ue-box { background: rgba(255,255,255,.96); color: #1f2a1f; border-radius: 14px; padding: 18px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.18); font-size: 14px; line-height: 1.5; }
.ue-box p { margin: 0 0 6px; }
.ue-box-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.ue-box-head h2 { font-size: 19px; margin: 0; color: #003399; line-height: 1.25; }
.ue-emblem { width: 92px; height: auto; flex: none; background: #fff; }
.ue-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px !important; }
.ue-links a { color: #003399; font-weight: 600; }
.ue-box-full { border: 1px solid var(--line); box-shadow: none; font-size: 16px; padding: 26px 28px; margin: 10px 0 30px; }
.ue-box-full .ue-box-head h2 { font-size: 22px; }
.ue-box-full .ue-emblem { width: 120px; }
@media (max-width: 480px) {
  .ue-box-full { padding: 20px 18px; }
  .ue-box-full .ue-box-head { flex-direction: column-reverse; }
  .ue-box-full .ue-emblem { width: 100px; }
}
.ue-inline { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.ue-legal { color: var(--muted); font-size: 14px; margin-top: 12px !important; }
.ue-note { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 0 0 16px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.ue-emblem-sm { width: 52px; }

/* Footer funding strip */
.footer-ue { display: flex; align-items: center; gap: 16px; background: #fff; color: #1f2a1f; border-radius: 12px; padding: 12px 16px; margin-top: 28px; font-size: 13px; }
.footer-ue .ue-emblem { width: 70px; }
.footer-ue a { color: #003399; }

/* Route map + rules */
/* width: 100% stops min-height from turning into a 427px min-width through aspect-ratio */
#route-map { width: 100%; aspect-ratio: 4 / 3; min-height: 320px; z-index: 0; }
.rules { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rules li { background: var(--card); border-radius: 14px; padding: 16px 18px 16px 48px; position: relative; box-shadow: 0 2px 10px rgba(30,40,25,.05); }
.rules li::before { content: "!"; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.nobr { white-space: nowrap; }
