/* =========================================================
   Danube Delta Parking — stiluri
   ========================================================= */
:root {
  --forest: #1f3d2b;
  --forest-2: #2a4f38;
  --moss: #4f6f3e;
  --sage: #9db58a;
  --sage-soft: #e3eadb;
  --cream: #f4efe2;
  --paper: #fbf9f3;
  --ink: #1d2a22;
  --muted: #5d6b61;
  --line: #dfe3d6;
  --water: #3a7ca5;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 61, 43, .08);
  --shadow-lg: 0 24px 60px rgba(31, 61, 43, .18);
  --header-h: 68px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* fir de iarbă — folosit ca mască pentru separatoare */
  --grass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V34H4Q6 20 3 10Q9 22 9 34H16Q19 16 24 4Q22 20 22 34H30Q31 24 28 16Q35 26 35 34H42Q46 18 52 8Q49 22 48 34H58Q59 22 56 12Q64 24 64 34H72Q76 20 84 6Q79 22 78 34H88Q89 26 86 18Q93 26 93 34H100Q104 18 110 10Q107 24 106 34H114Q115 26 113 20Q119 27 120 34V40Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--forest); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--moss); margin-bottom: .8em;
}
.eyebrow.light { color: var(--sage); }
.sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 500; font-size: .98rem;
  text-decoration: none; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--forest); box-shadow: var(--shadow); }
.btn-light:hover { background: #fff; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(251, 249, 243, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; transition: color .3s; }
.brand img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: cover; }
.site-header.scrolled .brand { color: var(--forest); }
.menu { display: flex; gap: 24px; }
.menu a { text-decoration: none; color: rgba(255,255,255,.9); font-size: .95rem; font-weight: 500; position: relative; transition: color .3s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.menu a:hover::after { transform: scaleX(1); }
.site-header.scrolled .menu a { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: background .3s; }
.site-header.scrolled .nav-toggle span { background: var(--forest); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 120px; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,28,.55) 0%, rgba(20,40,28,.45) 45%, rgba(20,40,28,.75) 100%); }
.hero-content { position: relative; text-align: center; max-width: 820px; }
.hero-logo { display: inline-block; background: #fff; padding: 14px 22px; border-radius: 22px; box-shadow: var(--shadow-lg); margin-bottom: 28px; }
.hero-logo img { width: min(320px, 62vw); height: auto; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .45em 1.1em; border-radius: 999px; background: rgba(157,181,138,.25); border: 1px solid rgba(227,234,219,.5); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); letter-spacing: -.015em; margin-bottom: .4em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 2em; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Separator iarbă ---------- */
.grass {
  position: absolute; left: 0; right: 0; height: 46px; pointer-events: none;
  -webkit-mask: var(--grass) repeat-x bottom / 120px 100%;
          mask: var(--grass) repeat-x bottom / 120px 100%;
}
.hero .grass { bottom: -1px; }
.grass-to-paper { background: var(--paper); }
.grass-to-cream { background: var(--cream); bottom: -1px; }
.grass-from-cream { background: var(--cream); top: -1px; transform: scaleY(-1); }

/* ---------- Secțiuni ---------- */
.section { position: relative; padding: 110px 0; }
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-forest { background: var(--forest); color: #e9efe4; padding: 140px 0; }
.section-forest h2 { color: #fff; }
.section-forest .sub { color: #c4d1bb; }

/* Despre */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.about-text p { color: #34433a; }
.about-card { background: var(--sage-soft); border-radius: var(--radius); padding: 36px; position: relative; overflow: hidden; }
.about-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: var(--sage); opacity: .35; -webkit-mask: var(--grass) repeat-x bottom / 90px 100%; mask: var(--grass) repeat-x bottom / 90px 100%; }
.about-card p { color: #3d4c42; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.ticks li { padding-left: 30px; position: relative; margin: .5em 0; font-weight: 500; color: var(--forest); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Video */
.video-frame {
  position: relative; max-width: 640px; margin: 48px auto 0; border-radius: 26px; overflow: hidden;
  background: var(--forest); box-shadow: var(--shadow-lg); outline: 10px solid #fff; outline-offset: -1px;
  aspect-ratio: 1 / 1;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(251,249,243,.92); color: var(--forest); box-shadow: 0 10px 30px rgba(0,0,0,.25);
  display: grid; place-items: center; transition: transform .2s, background .2s;
}
.video-play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.video-play:hover { transform: scale(1.06); background: #fff; }
.video-frame.playing .video-play { opacity: 0; pointer-events: none; }
.video-frame.video-wide { max-width: 960px; aspect-ratio: 16 / 9; margin-top: 44px; }
.video-frame.video-wide video { object-fit: contain; background: #000; }
.video-note { text-align: center; color: var(--muted); font-size: .92rem; margin: 22px 0 0; }
.video-frame.video-tall { max-width: none; margin: 0; aspect-ratio: 9 / 16; outline: none; border-radius: 22px; border: 6px solid rgba(255,255,255,.12); }
.video-frame.video-tall video { object-fit: cover; }

/* Clipuri din Deltă (în secțiunea Activități) */
.delta-intro { margin-top: 84px; }
.delta-intro h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.delta-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 32px; margin-top: 36px; }
.delta-videos figure { margin: 0; }
.delta-videos figcaption { text-align: center; color: #c4d1bb; font-size: .95rem; margin-top: 14px; }

/* Carduri */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sage-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg, .activity svg, .address svg, .social svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon svg { width: 26px; height: 26px; color: var(--forest); }

/* Activități */
.activities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 52px; }
.activity { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 16px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .25s; }
.activity:hover { background: rgba(255,255,255,.09); }
.activity svg { width: 40px; height: 40px; color: var(--sage); }
.activity span { font-weight: 500; color: #f1f5ec; line-height: 1.35; }

/* Progres amenajare */
.progress-list { max-width: 980px; margin-top: 52px; }
.progress-empty { text-align: center; color: var(--muted); font-style: italic; padding: 48px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: #fff; margin: 0; }
.stage { position: relative; padding: 0 0 52px 36px; border-left: 2px solid var(--sage-soft); margin-left: 8px; }
.stage:last-child { padding-bottom: 0; }
.stage::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--moss); }
.stage-date { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); margin-bottom: .3em; }
.stage h3 { font-size: 1.35rem; margin-bottom: .3em; }
.stage-desc { color: var(--muted); margin-bottom: 1.1em; max-width: 680px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--sage-soft); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo:hover img { transform: scale(1.04); }
.photo:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.photos-more { margin-top: 14px; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: .5em 1.2em; font: inherit; font-size: .9rem; color: var(--forest); cursor: pointer; }
.photos-more:hover { background: var(--sage-soft); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 26, 18, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: #dfe8d8; font-size: .95rem; margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Misiune socială */
.social-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 52px; }
.social-card { flex: 0 1 calc((100% - 44px) / 3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .25s, box-shadow .25s; }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card .icon { margin-bottom: 16px; }
.social-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--moss); background: var(--sage-soft); padding: .3em .85em; border-radius: 999px; margin-bottom: 12px; }
.inline-link { color: var(--moss); font-weight: 500; text-underline-offset: 3px; }

/* Locație */
.location { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.location-text > p { color: #34433a; }
.address { margin: 28px 0 32px; display: grid; gap: 18px; }
.address .row { display: flex; gap: 14px; align-items: flex-start; }
.address svg { width: 22px; height: 22px; color: var(--moss); flex: none; margin-top: 4px; }
.address strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.address a, .address span { text-decoration: none; font-weight: 500; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; aspect-ratio: 4 / 3; background: var(--sage-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Placeholder clar marcat */
.placeholder { color: #9a6b2f !important; background: #fbefd9; padding: 0 .4em; border-radius: 4px; font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: #17301f; color: #c9d4c2; padding: 72px 0 28px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 16px; }
.footer-logo img { width: 190px; height: auto; }
.footer-contact p { margin: 0 0 .5em; }
.footer-contact a { color: #fff; text-decoration: none; }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #dfe8d8; transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--sage); border-color: var(--sage); color: var(--forest); }
.social svg { width: 18px; height: 18px; }
.social .fill { fill: currentColor; stroke: none; }
.footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8fa08a; }

/* ---------- Animație apariție ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .activities { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about, .location { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .social-card { flex-basis: calc((100% - 22px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute; top: var(--header-h); left: 12px; right: 12px; flex-direction: column; gap: 0;
    background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .menu.open { opacity: 1; transform: none; pointer-events: auto; }
  @media (min-width: 601px) { .menu { left: auto; width: 320px; } }
  .menu a, .site-header.scrolled .menu a { color: var(--ink); padding: 12px 16px; border-radius: 10px; }
  .menu a::after { display: none; }
  .menu a:hover { background: var(--sage-soft); }
  .site-header:has(.menu.open) { background: rgba(251, 249, 243, .96); }
  .site-header:has(.menu.open) .brand { color: var(--forest); }
  .site-header:has(.menu.open) .nav-toggle span { background: var(--forest); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-forest { padding: 100px 0; }
  .cards { grid-template-columns: 1fr; }
  .social-card { flex-basis: 100%; }
  .activities { grid-template-columns: repeat(2, 1fr); }
  .activity:last-child { grid-column: 1 / -1; }
  .about-card { padding: 28px 22px; }
  .video-frame { outline-width: 6px; border-radius: 20px; }
  .video-play { width: 72px; height: 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .delta-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .video-frame.video-tall { border-width: 3px; border-radius: 14px; }
  .delta-videos .video-play { width: 56px; height: 56px; }
  .delta-videos .video-play svg { width: 24px; height: 24px; }
  .delta-videos figcaption { font-size: .85rem; }
  .delta-intro { margin-top: 64px; }
  .stage { padding-left: 22px; }
  .lightbox { padding: 56px 8px 72px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 14px; transform: none !important; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .brand span { font-size: 1rem; }
}

/* ---------- Limbă (RO / EN) + deschidere ---------- */
.lang-switch { display: inline-flex; margin-left: auto; margin-right: 6px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; overflow: hidden; transition: border-color .3s; }
.lang-switch button { font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .06em; padding: 6px 12px; background: transparent; color: #fff; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--forest); }
.lang-switch button:focus-visible { outline: 2px solid var(--water); outline-offset: -2px; }
.site-header.scrolled .lang-switch { border-color: var(--forest); }
.site-header.scrolled .lang-switch button { color: var(--forest); }
.site-header.scrolled .lang-switch button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.site-header:has(.menu.open) .lang-switch { border-color: var(--forest); }
.site-header:has(.menu.open) .lang-switch button { color: var(--forest); }
.site-header:has(.menu.open) .lang-switch button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.opening { display: inline-block; margin: -.6em auto 1.6em; padding: .5em 1.2em; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); font-weight: 600; font-size: .98rem; }
@media (min-width: 1181px) { .lang-switch { margin-left: 0; } .menu { gap: 20px; } }
.menu a, .brand span { white-space: nowrap; }
@media (max-width: 400px) { .lang-switch button { padding: 5px 9px; } .brand span { font-size: 1rem; } }
