/* Secaria, Prahova — static site
   Palette inspired by the sub-Carpathian forests and hills */

:root {
  /* Misty Pine — forest at dawn */
  --green: #3c6e54;        /* fir green */
  --green-dark: #1f3a2e;   /* deep pine */
  --green-light: #8aa897;  /* misty sage */
  --stone: #f4f1ea;        /* cream */
  --stone-dark: #e3ddd0;
  --text: #283027;
  --text-soft: #5a6258;
  --gold: #d9a441;         /* lamplight gold */
  --shadow: 0 8px 30px rgba(20, 40, 30, .14);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--stone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: var(--green-dark);
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-dark);
}
.brand:hover { text-decoration: none; }
.brand .stema { width: 38px; height: 38px; }
.brand small { display: block; font-size: .72rem; font-weight: 400; color: var(--text-soft); letter-spacing: .04em; text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: .35rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  display: inline-block;
  padding: .5rem .85rem;
  border-radius: 999px;
  color: var(--text);
  font-size: .95rem;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--stone-dark); text-decoration: none; }
.nav-links a.active { background: var(--green); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--green-dark);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 6rem 1.25rem 7rem;
  overflow: hidden;
  background: linear-gradient(165deg, #1f3a2e 0%, #3c6e54 55%, #8aa897 100%);
}
.hero .ridge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  display: block;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
  margin-bottom: .6rem;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 300;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
  margin-bottom: 1.8rem;
}
.hero .kicker {
  display: inline-block;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 1.2rem;
  opacity: .9;
}

/* Hero for inner pages */
.page-hero {
  background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 3.5rem 1.25rem;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { opacity: .9; max-width: 620px; margin: .5rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #2a2308; box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: 4.5rem 0; }
section.block.alt { background: #fff; }
.section-title { text-align: center; margin-bottom: .6rem; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section-intro { text-align: center; max-width: 680px; margin: 0 auto 2.8rem; color: var(--text-soft); font-size: 1.08rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -3.5rem;
  position: relative;
  z-index: 5;
}
.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat .num { font-family: Georgia, serif; font-size: 2.1rem; color: var(--green); font-weight: 700; }
.stat .lbl { font-size: .85rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--stone);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .15s, box-shadow .15s;
}
section.block.alt .card { background: var(--stone); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.card p { color: var(--text-soft); }

/* ---------- Two columns ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split .prose p { margin-bottom: 1rem; color: var(--text-soft); }
.split .prose h2 { margin-bottom: 1rem; }
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

/* ---------- Facts list ---------- */
.facts { list-style: none; display: grid; gap: .6rem; }
.facts li {
  display: flex; gap: .8rem; align-items: baseline;
  padding: .7rem 1rem;
  background: #fff;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
}
.facts li b { color: var(--green-dark); min-width: 150px; }

/* ---------- Timeline ---------- */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: var(--stone-dark);
}
.timeline .item { position: relative; padding: 0 0 1.8rem 1.5rem; }
.timeline .item::before {
  content: ""; position: absolute; left: -1px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green-light);
}
.timeline .year { font-family: Georgia, serif; font-weight: 700; color: var(--gold); }
.timeline h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.timeline p { color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.info-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic {
  flex: 0 0 auto; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--green); color: #fff;
}
.info-list .lbl { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); }
.info-list .val { font-weight: 600; color: var(--green-dark); }

form .field { margin-bottom: 1.1rem; }
form label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
form input, form textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--stone-dark); border-radius: 10px;
  font: inherit; background: #fff;
}
form input:focus, form textarea:focus { outline: 2px solid var(--green-light); border-color: transparent; }
form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--text-soft); margin-top: .6rem; }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff; text-align: center; padding: 4rem 1.25rem;
}
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p { opacity: .9; max-width: 560px; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #cdd8cd;
  padding: 3rem 0 1.5rem;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: #fff; font-family: Georgia, serif; margin-bottom: .8rem; font-size: 1.1rem; }
.site-footer a { color: #cdd8cd; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.2rem;
  text-align: center;
  color: #9fb09f;
  font-size: .85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .info-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--stone);
    border-bottom: 1px solid var(--stone-dark);
    padding: .6rem 1rem 1rem;
    gap: .2rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 1rem; }
}
