/* style.css */

/* ensure content sits below fixed navbar */
body {
  padding-top: 70px;
}

/* NAVBAR fix */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030; /* mai mare decât orice fundal */
  background-color: #f8f9f9; /* culoare de fundal */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* mică umbră pentru separare */
}

/* Hero section */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: top center;
  z-index: -2;
}

#hero::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.4); /* fundal global slab */
  z-index: -1;
}

/* bloc cu fundal doar în spatele textului */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 2rem auto; /* am adăugat și margin-bottom identic cu blurred-box */
  padding: 2rem; /* uniform, la fel ca blurred-box */
  text-align: center;
  background: rgba(0, 0, 0, 0.75); /* un pic mai întunecat față de 0.5 */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem;
  color: #fff;
}

/* spațiere în interiorul hero-content */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Section headings */
section h2 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Cards */
.card {
  border: none;
  border-radius: .75rem;
  transition: transform .2s ease;
}
.card:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: #f8f9f9;
  padding: 2rem 0;
  text-align: center;
  font-size: .9rem;
  color: #6c757d;
}
footer a {
  color: inherit;
  text-decoration: underline;
}

/* Utility: button spacing */
.btn-custom {
  margin: .5rem;
}

.blurred-box {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 1rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

