/* Familie Suciu – Basis-Styles */
:root {
  --bg: #0b0c10;
  --panel: #111317;
  --text: #e8eaed;
  --muted: #b7bec7;
  --brand: #5ab1ff;
  --brand-2: #91e6b3;
  --border: #22252b;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --glass-bg: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.18);
  --glass-highlight: rgba(255,255,255,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 90% -20%, rgba(90,177,255,.08), transparent 60%),
              radial-gradient(900px 700px at -10% 10%, rgba(145,230,179,.08), transparent 55%),
              var(--bg);
  line-height: 1.6;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

/* Liquid background layers */
body::before, body::after {
  content: "";
  position: fixed;
  inset: -30% -20% -30% -20%;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px) saturate(120%);
  opacity: .5;
}
body::before {
  background: radial-gradient(600px 400px at 10% 20%, rgba(90,177,255,.22), transparent 60%),
              radial-gradient(500px 380px at 80% 0%, rgba(145,230,179,.18), transparent 60%);
  animation: float1 22s ease-in-out infinite alternate;
}
body::after {
  background: radial-gradient(700px 420px at 20% 90%, rgba(255,140,140,.16), transparent 60%),
              radial-gradient(520px 360px at 100% 60%, rgba(170,150,255,.16), transparent 60%);
  animation: float2 28s ease-in-out infinite alternate;
}

@keyframes float1 {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,30px,0) scale(1.05); }
}
@keyframes float2 {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,-30px,0) scale(1.07); }
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus { left: 16px; top: 16px; background: var(--panel); color: var(--text); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: saturate(120%) blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .4px; font-size: 1.35rem; text-shadow: 0 1px 0 rgba(255,255,255,.06); }
.logo span { color: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle .bar { display: block; width: 26px; height: 2.5px; background: var(--text); margin: 6px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }

.site-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 12px; transition: color .2s ease, background .2s ease, transform .15s ease; border: 1px solid transparent; backdrop-filter: blur(6px); }
.site-nav a:hover, .site-nav a:focus { color: var(--text); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); transform: translateY(-1px); }
.site-nav a[aria-current="page"] { color: #0b1116; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-color: transparent; font-weight: 700; }
.site-nav a[aria-current="page"]:hover { filter: brightness(1.03); transform: translateY(-1px); }
.site-nav .divider { width: 1px; height: 18px; background: var(--border); }

/* Secondary row for clarity (breadcrumbs / tagline) */
.header-sub {
  font-size: .86rem;
  color: var(--muted);
}

/* Hero */
.hero { padding: 80px 0 48px; }
.hero-inner { text-align: center; padding: 28px; border: 1px solid var(--glass-border); border-radius: 18px; background: var(--glass-bg); box-shadow: 0 8px 30px rgba(0,0,0,.35), inset 0 1px 0 var(--glass-highlight); backdrop-filter: saturate(140%) blur(14px); }
.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(80% 50% at 10% 0%, rgba(255,255,255,.16), transparent 60%),
              radial-gradient(50% 40% at 90% 0%, rgba(255,255,255,.08), transparent 60%);
}
.hero h1 { margin: 0 0 10px; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2; }
.hero p { margin: 0 auto 20px; max-width: 720px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform .15s ease, background .2s ease, border-color .2s ease; background: rgba(255,255,255,.02); }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.04); }
.btn.primary { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0b1116; border-color: transparent; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.03); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: rgba(255,255,255,.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { margin: 0 0 22px; font-size: clamp(1.2rem, 2.6vw, 1.6rem); }

/* Quote block (heroic) */
.quote-block {
  position: relative;
  margin: 0;
  padding: 28px 28px;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: saturate(150%) blur(14px);
}
.quote-block p {
  margin: 0;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: .2px;
  background: linear-gradient(90deg, #ffffff, #dfe7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote-block cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
}
.quote-block::before, .quote-block::after {
  content: '“';
  position: absolute;
  font-size: 4rem;
  color: rgba(255,255,255,.12);
  line-height: 1;
}
.quote-block::before { left: 16px; top: 8px; }
.quote-block::after { content: '”'; right: 16px; bottom: -10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 18px 18px 42px; box-shadow: 0 8px 30px rgba(0,0,0,.35), inset 0 1px 0 var(--glass-highlight); backdrop-filter: saturate(150%) blur(14px); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 40%); }
.card .avatar { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(120px 80px at 20% 20%, rgba(90,177,255,.35), rgba(145,230,179,.35)); display: grid; place-items: center; font-weight: 700; color: #0b1116; }
.card h3 { margin: 12px 0 6px; }
.card p { margin: 0 0 8px; color: var(--muted); }
.text-link { color: var(--brand); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Ensure member cards have link pinned bottom-left */
.members .card { display: grid; grid-template-rows: auto auto 1fr auto; }
.members .card .text-link { position: absolute; left: 18px; bottom: 14px; }

/* News */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.news-list li { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: start; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); }
.news-list time { color: var(--brand-2); font-weight: 600; }
.news-list h3 { margin: 0 0 4px; }
.news-list p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(255,255,255,.04); backdrop-filter: blur(8px) saturate(120%); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }

/* Form */
.contact-form { display: grid; gap: 12px; }
.form-row { display: grid; gap: 6px; }
label { color: var(--muted); }
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
input:focus, textarea:focus { outline: 2px solid rgba(90,177,255,.4); outline-offset: 2px; }
.form-actions { margin-top: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 20px 0; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)); backdrop-filter: saturate(120%) blur(8px); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .news-list li { grid-template-columns: 1fr; padding: 16px; }
}

/* Wider container for select sections */
.section.wide .container { width: min(1400px, 96%); }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; background: rgba(18,20,26,.7); backdrop-filter: blur(16px) saturate(140%); border-top: 1px solid var(--glass-border); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 16px 16px; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; width: 100%; padding: 14px; }
  .site-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .header-inner { padding: 12px 0; }
  .hero { padding: 56px 0 36px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


