/* ===== Stiluri pentru paginile interioare + navigație dropdown + admin ===== */

/* ---------- Dropdown navigație ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.caret { font-size: 10px; opacity: 0.6; }
.sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 20, 70, 0.18);
  padding: 10px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 50;
}
.sub-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item.has-sub:hover .sub-menu,
.nav-item.sub-open .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.sub-menu a {
  padding: 10px 14px !important;
  border-radius: 10px;
  font-size: 14px;
}
.sub-menu a::after { display: none !important; }
.sub-menu a:hover { background: #f2f6fd; color: var(--blue); }

/* Header solid pe paginile interioare */
.site-header.solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 20, 70, 0.08);
}

/* ---------- Hero pagină interioară ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--blue) 0%, #0a3fb0 60%, #0078a8 100%);
  padding: 168px 0 76px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(252, 210, 14, 0.14);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: 60px; bottom: -180px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.page-hero .crumbs {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero .crumbs a { color: var(--yellow); text-decoration: none; }
.page-hero .lead {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin-top: 16px;
}

.page-body { padding: 80px 0 100px; }
.page-body.alt { background: var(--bg-alt); }

/* ---------- Carduri de conținut generice ---------- */
.content-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  margin-bottom: 26px;
}
.content-card h2 { font-size: 26px; margin-bottom: 14px; }
.content-card h3 { font-size: 20px; margin: 22px 0 10px; }
.content-card p { margin-bottom: 14px; }
.content-card ul { margin: 0 0 14px 22px; }
.content-card li { margin-bottom: 8px; }

.bullet-list { list-style: none; margin: 0 !important; display: flex; flex-direction: column; gap: 18px; }
.bullet-list li {
  position: relative;
  padding-left: 34px;
  margin: 0 !important;
}
.bullet-list li::before {
  content: "►";
  position: absolute;
  left: 0; top: 2px;
  color: var(--red);
  font-size: 14px;
}

/* ---------- Consiliul Director ---------- */
.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 40px;
}
.board-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.board-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.board-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.board-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.board-body { padding: 26px 30px 30px; }
.board-body h3 { font-size: 21px; margin-bottom: 4px; }
.board-body .role {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}
.board-body p { font-size: 14.5px; }

/* ---------- Companii aeriene (membri) ---------- */
.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.member-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.member-card:hover .member-photo img { transform: scale(1.05); }
.member-body { padding: 26px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.member-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.member-facts { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.member-facts .fact strong {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 2px;
}
.member-badges { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.member-badges span {
  background: #eef3fc;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Membri parteneri ---------- */
.partner-list { display: flex; flex-direction: column; gap: 26px; }
.partner-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-logo {
  background: #f4f6fb;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  place-items: center;
  min-height: 120px;
}
.partner-logo img { max-height: 90px; object-fit: contain; }
.partner-info h3 { font-size: 21px; color: var(--blue); margin-bottom: 10px; }
.partner-info p { font-size: 14.5px; margin-bottom: 10px; }
.partner-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--heading);
}
.partner-contact a { color: var(--accent); text-decoration: none; }

/* ---------- Proiecte ---------- */
.project { margin-bottom: 40px; }
.project-hero {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21 / 9;
  margin-bottom: -60px;
  position: relative;
  z-index: 1;
}
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project .content-card { position: relative; z-index: 2; margin: 0 24px; padding-top: 44px; }
.project h2 { color: var(--blue); }
.project h4 {
  font-family: var(--font-head);
  color: var(--red);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 24px 0 8px;
}

/* ---------- Pagina Știri / Evenimente ---------- */
.news-date {
  font-family: var(--font-head);
  font-size: 12px;
  color: #94a0b3;
}
.news-body h3 a { color: inherit; text-decoration: none; }
.news-body h3 a:hover { color: var(--blue); }
.empty-note {
  text-align: center;
  padding: 60px 20px;
  color: #8a93a5;
  font-family: var(--font-head);
}

/* ---------- Articol ---------- */
.article-wrap { max-width: 820px; margin-inline: auto; }
.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 34px;
}
.article-hero-img img { width: 100%; }
.article-meta {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.article-wrap h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 20px; }
.article-content p { margin-bottom: 16px; font-size: 16.5px; }
.article-source {
  margin-top: 30px;
  padding: 18px 22px;
  background: #f2f6fd;
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  font-size: 14px;
}

/* ---------- Contact page ---------- */
.newsletter-band {
  background: linear-gradient(120deg, var(--yellow) 0%, #ffe469 100%);
  border-radius: var(--radius);
  padding: 38px 42px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 50px;
}
.newsletter-band h2 { font-size: 26px; color: var(--blue-dark); }
.newsletter-band p { color: #5b4d00; font-size: 14.5px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.08);
}
.newsletter-form button {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.25s;
}
.newsletter-form button:hover { background: var(--blue-dark); }

.contact-page-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--heading);
}
.contact-form input, .contact-form textarea, .admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  border: 1.5px solid #dde4f0;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus,
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 39, 128, 0.10);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn, .admin-form .btn { border: 0; cursor: pointer; align-self: flex-start; }

/* ---------- Link-uri utile page ---------- */
.links-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.link-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 30px;
  border-top: 4px solid var(--blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.link-card:nth-child(3n+2) { border-top-color: var(--yellow); }
.link-card:nth-child(3n) { border-top-color: var(--red); }
.link-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.link-card h3 { font-size: 18px; color: var(--blue); margin-bottom: 10px; }
.link-card p { font-size: 13.5px; margin-bottom: 6px; }
.link-card a { color: var(--accent); text-decoration: none; font-size: 13.5px; word-break: break-all; }
.link-card .tel { font-family: var(--font-head); font-size: 13px; color: var(--heading); }

/* ---------- Admin ---------- */
.admin-login-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px 42px;
  text-align: center;
}
.admin-login-card h2 { margin-bottom: 8px; }
.admin-login-card p { font-size: 14px; margin-bottom: 22px; }
.admin-login-card form { display: flex; flex-direction: column; gap: 14px; }
.admin-login-card input {
  border: 1.5px solid #dde4f0;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  text-align: center;
}
.admin-msg { font-family: var(--font-head); font-size: 14px; min-height: 20px; }
.admin-msg.err { color: var(--red); }
.admin-msg.ok { color: #0a8a3a; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.admin-form { display: flex; flex-direction: column; gap: 12px; }
.admin-form label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--heading);
}
.admin-form textarea { min-height: 110px; resize: vertical; }
.admin-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #f6f8fd;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}
.admin-item .t { font-family: var(--font-head); font-weight: 600; color: var(--heading); }
.admin-item .d { font-size: 12px; color: #8a93a5; }
.admin-item button {
  border: 0;
  background: #fde8eb;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.admin-item button:hover { background: var(--red); color: #fff; }
.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-bar .btn { padding: 10px 22px; font-size: 13px; }

/* ---------- Responsive interioare ---------- */
@media (max-width: 1024px) {
  .board-grid, .member-grid, .admin-grid { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-grid, .newsletter-band { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 18px;
    min-width: 0;
    display: none;
  }
  .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-item.sub-open .sub-menu { display: flex; visibility: visible; }
  .links-grid { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-logo { max-width: 220px; }
  .project .content-card { margin: 0; }
  .project-hero { margin-bottom: -30px; }
  .page-hero { padding: 130px 0 56px; }
  .content-card { padding: 26px 24px; }
}
