:root{
  /* Replace this with your own image if you like */
  --bg-image: url("../assets/saba.jpeg");
  --surface: rgba(0,0,0,.35);
  --border: rgba(255,255,255,.22);
  --accent: #7bdff2;
  --accent-2: #f7d6e0;
  --text: #ffffff;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #000;
}

/* ── Fixed Top Nav ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 10, 14, 0.35);
  border-bottom: 1px solid rgba(255,255,255,.12);
  z-index: 10;
}

.nav .brand {
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--text);
}

.nav .links {
  display: flex;
  gap: clamp(10px, 2vw, 24px);
}

.nav .links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}
.nav .links a:hover { opacity: 1; }

/* Push content below fixed nav */
.hero, .wrap { padding-top: 64px; }

/* ── Hero with background image (no white dots) ─────────── */
.hero {
  position: relative;
  min-height: 100svh; /* safe viewport for mobile */
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(16px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
}

/* Background image + soft dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.55)),
    var(--bg-image) center / cover no-repeat fixed;
  z-index: -1;
}

/* REMOVE the old grain layer entirely (was causing the white dots) */
/* .hero::after { display: none; } */

/* ── Card (visuals removed but spacing kept) ────────────── */
.card {
  max-width: 68rem;
  width: min(92vw, 900px);
  padding: clamp(20px, 4vw, 40px);

  /* Make it invisible but keep layout behavior */
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

h1 {
  margin: .8rem 0 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .02em;
  font-size: clamp(2.2rem, 6vw + 1rem, 6.5rem);
  text-shadow: 0 8px 28px rgba(0,0,0,.35);
}

/* Bouncing text */
.bounce {
  display: inline-block;
  will-change: transform;
  animation: bounce 2.4s infinite;
  transform-origin: center bottom;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  20%      { transform: translateY(-16px); }
  40%      { transform: translateY(0); }
  60%      { transform: translateY(-8px); }
  80%      { transform: translateY(0); }
}

/* ── Gallery under the text ─────────────────────────────── */
.wrap {
  margin-inline: auto;
  width: min(1200px, 92vw);
}

.gallery {
  display: grid;
  gap: clamp(8px, 1.2vw, 14px);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding: clamp(16px, 3vw, 32px) 0 48px;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bounce { animation: none; }
  .gallery img { transition: none; }
}
