*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #020617;
  --bg-elevated: #020617;
  --bg-panel: #020617;
  --txt: #e5e7eb;
  --txt-muted: #9ca3af;
  --accent: #22c55e;
  --accent-soft: rgba(34,197,94,0.18);
  --accent-alt: #38bdf8;
  --border-soft: rgba(148,163,184,0.35);
  --card-bg: rgba(15,23,42,0.95);
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.85);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-full: 999px;
  --nav-h: 64px;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background: #020617; /* fundal uniform, lăsăm efectele doar pe parallax */
  color: var(--txt);
  display: flex;
  flex-direction: column;
}


/* PARALLAX BACKGROUND LAYERS HOOKS */
.parallax-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}
.parallax-layer {
  position: absolute;
  inset: -10%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.25;
  transform: translate3d(0,0,0);
}
.parallax-layer.mountains {
  /* Fundal tematic "Marea de la munte" + gradient de întunecare pentru text */
  background-image:
    linear-gradient(to top, rgba(2,6,23,0.55), rgba(15,23,42,0.25)),
    url('/assets/img/hero-marea-de-la-munte.jpg');
}
.parallax-layer.forest {
  background-image: radial-gradient(circle at bottom, rgba(16,185,129,0.4), transparent);
}
.parallax-layer.fog {
  background-image: radial-gradient(circle at top, rgba(148,163,184,0.4), transparent);
}

/* HEADER / NAVBAR */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.75));
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: conic-gradient(from 180deg, #22c55e, #38bdf8, #a855f7, #22c55e);
  box-shadow: 0 0 20px rgba(56,189,248,0.7);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1.05rem;
}
.logo-subtitle {
  font-size: 0.75rem;
  color: var(--txt-muted);
}

.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}



.main-nav a {
  position: relative;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--txt-muted);
  padding: 4px 8px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-alt));
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-alt);
  background: rgba(15,23,42,0.8);
}

.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  font-size: 0.8rem;
}
.lang-switch a {
  text-decoration: none;
  color: var(--txt-muted);
}
.lang-switch a.active {
  color: var(--accent);
  font-weight: 600;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, rgba(56,189,248,0.25), rgba(15,23,42,1));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* MOBILE NAV */

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-soft);
  background: rgba(15,23,42,0.9);
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--txt);
}

/* HERO */

.hero-wrap {
  padding: 90px 16px 80px;
  position: relative;
  z-index: 1;
}
.hero {
  max-width: 1120px;
  margin: 0 auto;
  display: block;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 32px;
  border-radius: 28px;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.84));
  box-shadow: 0 32px 90px rgba(15,23,42,0.95);
  backdrop-filter: blur(8px);
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}


.hero-badges {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  font-size:0.85rem;
}

.hero-cta {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:4px;
}

.hero-cta-secondary {
  margin-top:6px;
}







.hero-badge {
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
}
.hero h1 {
  font-size: clamp(1.8rem, 2.3vw + 1rem, 2.6rem);
}
.hero p {
  color: var(--txt-muted);
  font-size: 0.95rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(to right, #22c55e, #38bdf8);
  color: #020617;
  box-shadow: 0 10px 30px rgba(34,197,94,0.4);
}
.btn-outline {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--txt);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

/* HERO SIDE CARD */

.hero-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.15), rgba(15,23,42,0.98));
  border: 1px solid rgba(148,163,184,0.6);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-card h2 {
  font-size: 1rem;
}
.hero-card p {
  color: var(--txt-muted);
  font-size: 0.9rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin-top: 4px;
}
.hero-stats .stat {
  padding: 6px 8px;
  border-radius: var(--radius-md);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(37,99,235,0.4);
  font-size: 0.75rem;
}
.hero-stats span {
  color: var(--txt-muted);
}
.hero-stats strong {
  display: block;
  margin-top: 2px;
}

/* SECTION GENERIC */

.section {
  padding: 6px 16px 16px;
}
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.section h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.section p.lead {
  color: var(--txt-muted);
  font-size: 0.9rem;
}

/* CARDS GRID */

.cards-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 14px;
}
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), #020617);
  border: 1px solid rgba(30,64,175,0.7);
  box-shadow: var(--shadow-soft);
  padding: 12px 12px 14px;
  overflow: hidden;
  transform: translate3d(0,0,0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}



.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(56,189,248,0.18), transparent);
  pointer-events: none;   /* ← linia nouă, importantă */
  /* restul proprietăților tale */
}




.card:hover {
  transform: translateY(-4px) rotate3d(1,1,0,2deg);
  box-shadow: 0 30px 60px rgba(15,23,42,0.95);
  border-color: rgba(56,189,248,0.9);
}
.card:hover::before {
  opacity: 1;
}
.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(22,163,74,0.1);
  color: #bbf7d0;
  margin-bottom: 5px;
}
.card .tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.card p {
  font-size: 0.85rem;
  color: var(--txt-muted);
}
.card-footer {
  margin-top: 8px;
  font-size: 0.8rem;
}
.card-footer a {
  color: var(--accent-alt);
  text-decoration: none;
}

/* TIMELINE BASIC */

.timeline {
  margin-top: 12px;
  border-left: 1px solid rgba(148,163,184,0.5);
  padding-left: 14px;
}
.timeline-item {
  position: relative;
  margin-bottom: 10px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34,197,94,0.8);
}
.timeline-year {
  font-size: 0.8rem;
  color: var(--txt-muted);
}
.timeline-title {
  font-size: 0.95rem;
  font-weight: 600;
}
.timeline-text {
  font-size: 0.85rem;
  color: var(--txt-muted);
}

/* FOOTER */

.site-footer {
  margin-top: auto;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
}
.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 14px;
}
.f-col h4, .f-col h5 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.f-col p, .f-col ul {
  font-size: 0.8rem;
  color: var(--txt-muted);
}
.f-col ul {
  list-style: none;
}
.f-col li+li {
  margin-top: 4px;
}
.f-col a {
  color: var(--accent-alt);
  text-decoration: none;
}
.footer-bottom {
  max-width: 1120px;
  margin: 10px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--txt-muted);
}
.footer-bottom .bullet {
  opacity: 0.7;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-card {
    order: -1;
  }
}

@media (max-width: 720px) {

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }


  .main-nav {
    position: absolute;
    top: var(--nav-h);
    right: 12px;
    left: 12px;
    flex-direction: column;
    padding: 8px;
    border-radius: var(--radius-lg);
    background: rgba(15,23,42,0.98);
    border: 1px solid var(--border-soft);
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .header-right {
    gap: 6px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
}


.logo-mark img{width:100%;height:100%;display:block;border-radius:12px;}


@keyframes float-soft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

.hero-badge {
  animation: float-soft 6s ease-in-out infinite;
}

.btn-primary {
  animation: float-soft 7s ease-in-out infinite;
}



@media (max-width: 800px) {
  .hero-wrap {
    padding: 72px 16px 56px;
  }
}

/* Mic efect de scalare pentru titlul principal din hero */
.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1.6rem, 3.4rem);
}

.hero p {
  font-size: 0.98rem;
}


.hero-title-center {
  text-align: center;
}


/* PAGE LAYOUT (CONTENT PAGES) */

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 16px 80px;
}

.page-hero {
  padding: 40px 0 32px;
  text-align: center;
}

.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-hero-inner h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.page-hero-inner p {
  font-size: 1rem;
  color: var(--txt-muted);
}

.page-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-soft);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 8px;
}

.section-header .lead {
  font-size: 0.98rem;
  color: var(--txt-muted);
}

/* FILTER CHIPS */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 24px;
}

.chip {
  border-radius: var(--radius-full);
  border: 1px solid var(--border-soft);
  padding: 6px 14px;
  font-size: 0.9rem;
  background: transparent;
  color: var(--txt);
  cursor: pointer;
}

.chip-active {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* TABLE WRAPPER */

.table-wrapper {
  margin-top: 18px;
  overflow-x: auto;
}

.page-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.page-table th,
.page-table td {
  border-bottom: 1px solid var(--border-soft);
  padding: 9px 8px;
  text-align: left;
  font-size: 0.9rem;
}

.page-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--txt-muted);
}

.small-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--txt-muted);
  text-align: center;
}

/* CARDS GRID ON CONTENT PAGES */

.page-section .cards-grid,
.page-section .card-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 14px;
}


/* MAP SECTIONS */

.map-wrapper{
  max-width:1100px;
  margin:0 auto 18px auto;
}

.map-container{
  border-radius:20px;
  overflow:hidden;
}

.map-note{
  margin-top:8px;
  font-size:0.85rem;
  text-align:center;
  color:var(--txt-muted);
}

.map-note a{
  color:var(--accent-alt);
  text-decoration:none;
}

.map-note a:hover{
  text-decoration:underline;
}




/* ===  modificari  === */





/* override: nu mai vrem linie de separare între secțiuni */
.page-section {
  border-top: none !important;
}









