/* ============================================================
   ALBASTRU PENTRU SOLIDARITATE — Main Stylesheet
   Paletă: #003B73 | #0085C7 | #60A3D9 | #BDD5EA | #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Lato:wght@300;400;700;900&display=swap');

/* ─── VARIABLES ─── */
:root {
  --c-dark:    #003B73;
  --c-accent:  #0085C7;
  --c-mid:     #60A3D9;
  --c-light:   #BDD5EA;
  --c-white:   #FFFFFF;

  --t-dark:    #1a2d4d;
  --t-mid:     #2d5a8e;
  --t-soft:    #5a87b0;

  --grad-hero:    linear-gradient(150deg, #001f3f 0%, #003B73 35%, #005fa3 65%, #0085C7 85%, #60A3D9 100%);
  --grad-primary: linear-gradient(135deg, #003B73 0%, #0085C7 100%);
  --grad-light:   linear-gradient(135deg, #60A3D9 0%, #BDD5EA 100%);
  --grad-card:    linear-gradient(145deg, rgba(96,163,217,0.08) 0%, rgba(189,213,234,0.15) 100%);
  --grad-btn:     linear-gradient(135deg, #003B73 0%, #0085C7 60%, #60A3D9 100%);

  --shadow-xs:  0 2px 8px  rgba(0,59,115,0.08);
  --shadow-sm:  0 4px 16px rgba(0,59,115,0.12);
  --shadow-md:  0 8px 32px rgba(0,59,115,0.16);
  --shadow-lg:  0 16px 48px rgba(0,59,115,0.20);
  --shadow-xl:  0 24px 64px rgba(0,59,115,0.25);

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius:     18px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --trans:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h:      80px;
  --container:  1200px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--t-dark);
  background: var(--c-white);
  overflow-x: hidden;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }

::-webkit-scrollbar            { width: 7px; }
::-webkit-scrollbar-track      { background: var(--c-light); }
::-webkit-scrollbar-thumb      { background: var(--c-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover{ background: var(--c-dark); }

/* ─── TYPOGRAPHY ─── */
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--c-dark); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--t-soft); line-height: 1.85; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(0,133,199,0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-desc  { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }

/* ─── LAYOUT ─── */
.container      { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.section        { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
  background: transparent;
}
.navbar.solid {
  background: rgba(0,27,64,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 32px rgba(0,59,115,0.35);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,133,199,0.45);
}
.nav-logo-circle svg { width: 26px; height: 26px; fill: white; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-title   { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white; }
.nav-brand-sub     { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-light); opacity: 0.8; }

.nav-menu { display: flex; align-items: center; gap: 0.2rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: var(--radius-xs);
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.88);
  transition: var(--trans);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: white; background: rgba(255,255,255,0.12);
}
.nav-link svg { width: 12px; height: 12px; fill: currentColor; transition: transform 0.3s; }

/* Anunțuri badge */
.nav-anunturi { position: relative; }
.anunt-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: #e63946; color: white;
  font-size: 0.62rem; font-weight: 900; letter-spacing: 0.05em;
  border-radius: 50px; margin-left: 4px;
  box-shadow: 0 0 0 0 rgba(230,57,70,0.5);
  animation: pulseBadge 1.6s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(230,57,70,0); }
}

/* Dropdown */
.dropdown-menu, .dropdown-submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 230px;
  background: rgba(0,27,64,0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(96,163,217,0.2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 200;
  /* invisible padding-top bridges the gap between trigger and menu */
  padding-top: 6px;
  margin-top: 0;
}
/* Invisible bridge so mouse can travel from nav link to menu without gap */
.dropdown-menu::before, .dropdown-submenu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.dropdown-submenu {
  top: -6px; left: calc(100% + 2px); padding-top: 0;
  padding-left: 4px;
}
.dropdown-submenu::before {
  top: 0; left: -10px; right: auto;
  width: 10px; height: 100%;
}
.dropdown-menu a, .dropdown-submenu a {
  display: block; padding: 11px 18px;
  font-size: 0.86rem; font-weight: 600;
  color: rgba(255,255,255,0.82);
  transition: var(--trans);
  border-bottom: 1px solid rgba(96,163,217,0.08);
}
.dropdown-menu a:last-child, .dropdown-submenu a:last-child { border-bottom: none; }
.dropdown-menu a:hover, .dropdown-submenu a:hover {
  color: white; background: rgba(96,163,217,0.18); padding-left: 24px;
}
/* JS-driven open state (desktop) */
.nav-item > .dropdown-menu.dd-open,
.dropdown-sub > .dropdown-submenu.dd-open {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
}
/* Fallback CSS hover for browsers where JS isn't ready yet */
@media (hover: hover) {
  .nav-item:hover > .dropdown-menu:not(.dd-managed),
  .dropdown-sub:hover > .dropdown-submenu:not(.dd-managed) {
    opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
  }
}
.nav-item.dd-active > .nav-link > svg { transform: rotate(180deg); }
.dropdown-sub { position: relative; }
.dropdown-sub > a {
  display: flex; justify-content: space-between; align-items: center;
}
.dropdown-sub > a > svg { width: 10px; height: 10px; fill: currentColor; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: var(--trans);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  background: var(--grad-hero);
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  animation: fadeInUp 0.9s var(--ease) both;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-light);
  background: rgba(189,213,234,0.15);
  border: 1px solid rgba(189,213,234,0.3);
  padding: 7px 18px; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero h1 { color: white; margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero h1 em { font-style: italic; color: var(--c-light); }
.hero p { color: rgba(255,255,255,0.80); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 560px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Particle/bubble decorations */
.hero-bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.bubble {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  animation: floatBubble linear infinite;
}

/* Wave */
.hero-wave-wrap {
  position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2;
  line-height: 0;
}
.hero-wave-wrap svg { width: 100%; }
.wave-path-1 { fill: rgba(255,255,255,0.15); animation: waveDrift 8s ease-in-out infinite alternate; }
.wave-path-2 { fill: rgba(255,255,255,0.08); animation: waveDrift 10s ease-in-out infinite alternate-reverse; }
.wave-path-3 { fill: var(--c-white); }

/* Sub-hero waves (for interior pages) */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 60px) 0 100px;
  overflow: hidden;
}
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.78); font-size: 1.1rem; }
.page-hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 1; }
.page-hero-wave svg { width: 100%; display: block; }

/* Animated water bg texture */
.water-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 60%, rgba(0,133,199,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(96,163,217,0.12) 0%, transparent 60%);
  animation: waterShift 12s ease-in-out infinite alternate;
}
@keyframes waterShift {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-xl);
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em;
  border: none; transition: var(--trans);
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--grad-btn);
  color: white;
  box-shadow: 0 6px 24px rgba(0,59,115,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,59,115,0.45);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
}
.btn-light {
  background: white;
  color: var(--c-dark);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* Vote button */
.vote-btn {
  background: var(--grad-btn); color: white;
  padding: 10px 22px; border-radius: 50px; border: none;
  font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,59,115,0.25);
  transition: var(--trans); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.vote-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,59,115,0.35);
}
.vote-btn:disabled, .vote-btn.voted {
  background: linear-gradient(135deg, #4a9,#3c7);
  cursor: default;
  opacity: 0.85;
}

/* ─── CARDS ─── */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  overflow: hidden;
  border: 1px solid rgba(189,213,234,0.4);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-mid);
}
.card-body { padding: 2rem; }
.card-img  {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--grad-light);
}

/* Feature card */
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(189,213,234,0.4);
  transition: var(--trans);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(0,133,199,0.35);
}
.feature-icon svg { width: 36px; height: 36px; fill: white; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.feature-card p  { font-size: 0.92rem; }

/* Stat card */
.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-soft); }

/* ─── GRID SYSTEMS ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }

/* ─── SECTION BACKGROUNDS ─── */
.bg-light { background: linear-gradient(180deg, #f4f8fd 0%, #e8f2fb 100%); }
.bg-blue  {
  background: var(--grad-hero);
  color: white;
}
.bg-blue h2, .bg-blue h3, .bg-blue p { color: white; }
.bg-blue .section-label { color: var(--c-light); background: rgba(255,255,255,0.12); }
.bg-wave {
  position: relative;
  background: linear-gradient(180deg, #f4f8fd 0%, white 100%);
}
.bg-wave::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%2360A3D9' fill-opacity='0.05' d='M0,50 C240,100 480,0 720,50 C960,100 1200,0 1440,50 L1440,100 L0,100Z'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 100% auto;
  animation: bgWave 20s linear infinite;
}
@keyframes bgWave { from { background-position: 0 0; } to { background-position: 100% 0; } }

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.gallery-item .gal-img {
  width: 100%; height: 100%; object-fit: cover;
  background: var(--grad-light);
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover .gal-img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,27,64,0.8) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-size: 0.85rem; font-weight: 700; }

/* Placeholder gallery image */
.gal-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 2.5rem; color: white;
  gap: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.gal-placeholder small { font-size: 0.8rem; font-family: 'Lato', sans-serif; font-weight: 700; opacity: 0.9; letter-spacing: 0.05em; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,10,26,0.95);
  backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-inner {
  position: relative; max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.lightbox img, .lightbox .lb-placeholder {
  max-width: 90vw; max-height: 80vh; object-fit: contain;
  display: block;
}
.lb-placeholder {
  width: 600px; height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: var(--grad-hero);
}
.lb-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15); border: none;
  color: white; width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lb-close:hover { background: rgba(255,255,255,0.3); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: white; width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,10,26,0.9), transparent);
  color: white; padding: 1.5rem 1.5rem 1rem; font-size: 0.9rem; font-weight: 700;
}

/* ─── WORKS GRID (Voting) ─── */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.work-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(189,213,234,0.4);
  transition: var(--trans); display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-artwork {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.work-artwork-label {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,0.4); color: white;
  font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px;
}
.work-info { padding: 1.25rem 1.5rem; flex: 1; }
.work-title  { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--c-dark); margin-bottom: 0.4rem; }
.work-author { font-size: 0.85rem; color: var(--t-soft); font-weight: 600; }
.work-class  { font-size: 0.78rem; color: var(--c-mid); font-weight: 700; margin-top: 2px; }
.work-footer {
  padding: 1rem 1.5rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(189,213,234,0.3);
}
.vote-count { font-size: 0.85rem; font-weight: 700; color: var(--c-accent); }
.vote-count svg { width: 14px; height: 14px; fill: var(--c-accent); vertical-align: middle; }

/* ─── RESOURCES ─── */
.resource-card {
  background: white; border-radius: var(--radius);
  padding: 1.75rem; display: flex; align-items: flex-start; gap: 1.25rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(189,213,234,0.4);
  transition: var(--trans);
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--grad-btn); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,133,199,0.3);
}
.resource-icon svg { width: 28px; height: 28px; fill: white; }
.resource-info h4 { margin-bottom: 0.4rem; color: var(--c-dark); }
.resource-info p  { font-size: 0.85rem; margin-bottom: 0.75rem; }
.resource-meta { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.resource-type {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(0,133,199,0.1); color: var(--c-accent);
  padding: 3px 10px; border-radius: 4px;
}

/* ─── ANNOUNCEMENTS ─── */
.anunt-card {
  background: white; border-radius: var(--radius);
  padding: 2rem 2.5rem; border-left: 5px solid var(--c-accent);
  box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
  transition: var(--trans); position: relative;
}
.anunt-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.anunt-card.new { border-left-color: #e63946; }
.anunt-nou-tag {
  display: inline-block; background: #e63946; color: white;
  font-size: 0.65rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 0.75rem;
  animation: pulseBadge 2s ease infinite;
}
.anunt-card h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.anunt-card p  { margin-bottom: 0; }
.anunt-date {
  font-size: 0.78rem; font-weight: 700; color: var(--c-mid);
  letter-spacing: 0.08em; margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* ─── ACTIVITATE REGULAMENT ─── */
.regulament-box {
  background: linear-gradient(135deg, rgba(0,59,115,0.04) 0%, rgba(96,163,217,0.08) 100%);
  border: 1px solid rgba(96,163,217,0.25);
  border-radius: var(--radius); padding: 2.5rem;
}
.regulament-box h3 { color: var(--c-dark); margin-bottom: 1.5rem; }
.regulament-list { display: flex; flex-direction: column; gap: 1rem; }
.reg-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.reg-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-btn); color: white;
  font-weight: 900; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,133,199,0.3);
}
.reg-text { padding-top: 6px; }
.reg-text strong { display: block; color: var(--c-dark); font-size: 0.95rem; margin-bottom: 3px; }
.reg-text span { font-size: 0.88rem; color: var(--t-soft); }

/* ─── PARTNERS ─── */
.partner-card {
  background: white; border-radius: var(--radius);
  padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(189,213,234,0.4);
  transition: var(--trans);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-logo {
  width: 160px; height: 120px; border-radius: var(--radius-sm);
  background: var(--grad-light); margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; overflow: hidden;
}
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.partner-card p  { font-size: 0.83rem; }

/* ─── PARTICIPANTS ─── */
.participants-table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.participants-table th {
  background: var(--grad-primary); color: white;
  padding: 14px 20px; text-align: left; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
}
.participants-table td { padding: 12px 20px; font-size: 0.9rem; border-bottom: 1px solid rgba(189,213,234,0.3); }
.participants-table tr:last-child td { border-bottom: none; }
.participants-table tr:nth-child(even) td { background: rgba(189,213,234,0.1); }
.participants-table tr:hover td { background: rgba(96,163,217,0.1); }

/* ─── CONTACT FORM ─── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; font-weight: 700; font-size: 0.88rem;
  color: var(--c-dark); margin-bottom: 0.5rem; letter-spacing: 0.04em;
}
.form-control {
  width: 100%; padding: 13px 18px;
  border: 2px solid rgba(189,213,234,0.5);
  border-radius: var(--radius-sm); background: white;
  font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--t-dark);
  transition: var(--trans); outline: none;
}
.form-control:focus { border-color: var(--c-mid); box-shadow: 0 0 0 4px rgba(96,163,217,0.15); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-success {
  background: rgba(0,200,100,0.1); border: 1px solid rgba(0,200,100,0.3);
  color: #1a6b3c; padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 700; display: none;
}

/* ─── ADMIN ─── */
.admin-lock {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--grad-hero); padding: 2rem;
}
.admin-login-card {
  background: white; border-radius: var(--radius-lg); padding: 3.5rem 3rem;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-xl); text-align: center;
}
.admin-login-card h2 { margin-bottom: 0.75rem; }
.admin-login-card p  { margin-bottom: 2rem; }
.admin-panel { padding: 120px 0 80px; }
.admin-controls {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 2rem;
}
.admin-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.admin-rank {
  background: var(--grad-btn); color: white;
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem; flex-shrink: 0;
}
.admin-rank.gold   { background: linear-gradient(135deg, #f6d365, #fda085); }
.admin-rank.silver { background: linear-gradient(135deg, #a8b8c8, #8ea5b8); }
.admin-rank.bronze { background: linear-gradient(135deg, #cd7f32, #a06020); }
.admin-badge {
  display: inline-block; background: rgba(0,133,199,0.1); color: var(--c-accent);
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 4px;
}

/* ─── TIMELINE ─── */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px; background: var(--grad-light);
}
.timeline-item { position: relative; padding: 0 0 2.5rem 72px; }
.timeline-dot {
  position: absolute; left: 0; top: 2px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-btn); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: 0 4px 14px rgba(0,133,199,0.4);
  border: 3px solid white;
}
.timeline-date { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.4rem; }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-item p  { font-size: 0.9rem; }

/* ─── FOOTER ─── */
.footer {
  background: linear-gradient(170deg, #001426 0%, #001f3f 40%, #003B73 100%);
  color: rgba(255,255,255,0.75);
  position: relative;
}
.footer-wave-top { line-height: 0; }
.footer-wave-top svg { width: 100%; display: block; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif; color: white;
  font-size: 1.1rem; margin-bottom: 1.2rem;
}
.footer-col p { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.65); font-size: 0.88rem; font-weight: 600;
  transition: color 0.3s; display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--c-light); }
.footer-links a::before { content: '→'; color: var(--c-mid); font-size: 0.75rem; }
.footer-center { text-align: center; }
.footer-logo-big {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--grad-btn); margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,133,199,0.4);
}
.footer-logo-big svg { width: 38px; height: 38px; fill: white; }
.footer-center h4 { margin-bottom: 0.6rem; }
.footer-social { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
  transition: var(--trans);
}
.footer-social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: white; }
.footer-contact-item {
  display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.9rem;
}
.footer-contact-item svg { width: 18px; height: 18px; fill: var(--c-mid); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: 0.87rem; color: rgba(255,255,255,0.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0; text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { color: var(--c-light); }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes floatBubble {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-80vh) translateX(30px) scale(1.2); opacity: 0; }
}
@keyframes waveDrift {
  from { d: path("M0,56 C240,100 480,16 720,56 C960,96 1200,16 1440,56 L1440,100 L0,100Z"); }
  to   { d: path("M0,44 C240,8 480,90 720,44 C960,0 1200,88 1440,44 L1440,100 L0,100Z"); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── DIVIDERS ─── */
.wave-divider { overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: white; }
.breadcrumb span { opacity: 0.4; }

/* ─── BADGE / TAG ─── */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag-blue   { background: rgba(0,133,199,0.12); color: var(--c-accent); }
.tag-green  { background: rgba(0,180,100,0.12); color: #0a7040; }
.tag-orange { background: rgba(255,150,50,0.12); color: #b05000; }

/* ─── HELPER ─── */
.text-center  { text-align: center; }
.text-white   { color: white !important; }
.text-white p { color: rgba(255,255,255,0.8) !important; }
.mt-1 { margin-top: 0.5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }  .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }

/* ─── INLINE GRID RESPONSIVE (collapse 2-col on mobile) ─── */
@media (max-width: 900px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns:1.3fr 1fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .admin-login-card { padding: 2.5rem 1.75rem !important; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-center { order: -1; grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    width: 100vw; max-width: 100vw; box-sizing: border-box;
    background: rgba(0,15,35,0.97); backdrop-filter: blur(24px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1.5rem 1.25rem 3rem;
    overflow-y: auto;
    transform: translateX(100%); transition: transform 0.32s var(--ease);
    z-index: 850;
    gap: 0;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-hamburger { display: flex; }
  .nav-item { border-bottom: 1px solid rgba(96,163,217,0.1); }
  .nav-item:last-child { border-bottom: none; }
  .nav-link { padding: 14px 4px; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
  .nav-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
  .nav-item.mob-open > .nav-link svg { transform: rotate(180deg); }
  .dropdown-menu, .dropdown-submenu {
    position: static; opacity: 1; visibility: visible; pointer-events: all;
    transform: none; box-shadow: none; min-width: 0;
    background: rgba(96,163,217,0.07); border: none; border-radius: var(--radius-sm);
    display: none; padding: 0.25rem 0; margin: 0.25rem 0 0.5rem;
    transition: none;
  }
  .dropdown-menu.open, .dropdown-submenu.open { display: block; }
  .dropdown-menu a, .dropdown-submenu a { font-size: 0.9rem; padding: 11px 16px; border-bottom: 1px solid rgba(96,163,217,0.07); }
  .dropdown-menu a:last-child, .dropdown-submenu a:last-child { border-bottom: none; }
  .dropdown-sub > a { padding: 11px 16px; font-size: 0.9rem; display: flex; justify-content: space-between; }
  .dropdown-sub > a > svg { width: 10px; height: 10px; transform: rotate(90deg); }
  .nav-item:hover > .dropdown-menu  { display: none; }
  .nav-item:hover > .dropdown-menu.open { display: block; }
  .dropdown-sub:hover > .dropdown-submenu { display: none; }
  .dropdown-sub:hover > .dropdown-submenu.open { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .footer-center { order: 0; }
  .section { padding: 70px 0; }
  .hero-content { text-align: center; }
  .hero-btns { justify-content: center; }
  .works-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 85vh; }
  .works-grid { grid-template-columns: 1fr; }
  .anunt-card { padding: 1.5rem; }
  .resource-card { flex-direction: column; }
  .participants-table { font-size: 0.82rem; }
  .participants-table th, .participants-table td { padding: 10px 14px; }
}
