/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
  background: #000;
}

/* Avoid nav covering anchors */
#home, #about, #news { scroll-margin-top: 90px; }

/* ===== Layout helpers ===== */
.container { width: min(1100px, 100%); margin: 0 auto; padding: 0 16px; }

.section {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 0 72px; /* space for fixed nav */
}

/* Background images per section */
.hero {
  background: url("./img/home-bg.jpg") center / cover no-repeat;
}
.about {
  background: url("./img/hero-nature_2.jpg") center / cover no-repeat;
}
.news {
  background: url("./img/hero-nature_2.jpg") center / cover no-repeat;
}

/* Overlay to improve readability */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.55),
    rgba(0,0,0,.45),
    rgba(0,0,0,.65)
  );
}

/* Optional: a subtle “glow” vignette */
.section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}

/* Keep content above overlays */
.content, .hero__content { position: relative; z-index: 1; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  font-weight: 800;
  letter-spacing: .3px;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__links a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.nav__links a:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Language select */
.lang-select {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  outline: none;
}
.lang-select option { color: #000; }

/* ===== Typography ===== */
h1 {
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  opacity: .95;
}

/* ===== Home card ===== */
.hero__content {
  text-align: center;
  width: min(760px, 100%);
  padding: 26px 22px;
  border-radius: 18px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  transition: transform .12s ease, background .12s ease;
}
.btn:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-1px);
}

/* ===== About / News content box ===== */
.content {
  text-align: center;
}
.content > * { margin-left: auto; margin-right: auto; }

.content p {
  width: min(800px, 100%);
}

/* ===== News cards ===== */
.news-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.card {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.meta {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .nav__links { gap: 8px; }
  .nav__links a { padding: 8px; }
}

/* Footer */
.footer {
  padding: 22px 16px;
  text-align: center;
  background: #070707;
  border-top: 1px solid rgba(255,255,255,.08);
}
