/* -------------------------
   Global
   ------------------------- */
:root{
  --accent: #0d6efd;
  --bg-dark: #1f1f1f;
  --card-bg: #121212;
  --muted: #b9c0c7;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  user-select: none; 
}

/* Font: Poppins */
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 300;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f6f7fb;
  margin: 0;
  padding: 0;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* NAV */
.navbar-brand { font-family: "Poppins", sans-serif; letter-spacing: .4px; }
.nav-link { color: rgba(255,255,255,0.9) !important; }

/* BANNER */
#banner {
  background-image: url("imagini/x.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55));
  z-index: 0;
}
#banner .container { position: relative; z-index: 1; }

/* Titles */
.titlu-sectiune {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.lead { color: #fff; }

/* ANUNȚURI: cards */
.anunt-card {
    background-color: #f2f2f2;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #d5d5d5; 
}

.anunt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(14, 18, 24, 0.14);
}

.card-img-top-wrapper { overflow: hidden; height: 210px; }
.anunt-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.anunt-titlu {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.anunt-text {
    font-weight: 300;
    color: #333; 
}

/* Card footer small text */
.card-footer { background: transparent; border-top: 0; color: var(--muted); }

/* Reclama */
.reclama { max-width: 728px; height: auto; margin: 0 auto; display: inline-block; }

/* Footer */
footer { background: #0f1720; color: #dfe7ef; }

/* Utility */
.btn-dark { background: #0b1620; border: 1px solid rgba(255,255,255,0.06); color: #fff; }
.btn-outline-dark { color: #111; border-color: rgba(0,0,0,0.08); }

/* Responsive tweaks */
@media (max-width: 767px) {
  .card-img-top-wrapper { height: 160px; }
  #banner { padding-top: 3rem; padding-bottom: 3rem; }
  .titlu-sectiune { font-size: 1.5rem; }
}

/* Accessibility focus */
a:focus, button:focus {
  outline: 3px solid rgba(13,110,253,0.15);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small helpers (modal text) */
.modal-body p, .modal-body ul { color: #111; font-weight: 300; }
