/* project-page.css — CSS comun pentru toate paginile de proiect */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #ffffff;
  --surface:  #f8f9fa;
  --border:   #e9ecef;
  --text:     #212529;
  --muted:    #6c757d;
  --accent:   #0d6efd;
  --radius:   8px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.navbar .logo img { height: 32px; }
.nav-buttons { display: flex; gap: 8px; }
.nav-btn {
  padding: 7px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--muted);
  font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-btn:hover { background: var(--surface); color: var(--text); }
.menu-toggle { display: none; cursor: pointer; font-size: 22px; }

/* ── Main layout ── */
.main-content {
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ── Text section ── */
.text h1 {
  font-size: 32px; font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.text h2 {
  font-size: 20px; font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text);
}
.text h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.text h4 { font-size: 15px; font-weight: 600; margin: 16px 0 6px; color: var(--muted); }
.text p  { margin-bottom: 14px; color: #444; }
.text ul, .text ol { padding-left: 22px; margin-bottom: 14px; }
.text li { margin-bottom: 6px; color: #444; }
.text a  { color: var(--accent); text-decoration: none; }
.text a:hover { text-decoration: underline; }
.text hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

.text a[download] {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; margin: 12px 0;
  transition: opacity .2s;
}
.text a[download]:hover { opacity: .85; text-decoration: none; }

/* ── Pics section ── */
.pics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}
.pics img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

/* ── Footer ── */
.footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  margin-top: 64px;
}
.footer img { height: 22px; }
.footer-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-link:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .main-content { grid-template-columns: 1fr; }
  .pics { position: static; }
  .menu-toggle { display: block; }
  .nav-buttons { display: none; }
  .navbar { padding: 0 16px; }
}
