/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 110px; /* prevents header overlap on anchor click */
}

/* =========================
   BODY + GLOBAL BACKGROUND
========================= */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f8fafc;
  padding-top: 95px; /* space for fixed header */

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("/background.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.header nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: opacity 0.25s ease;
}

.header nav a:hover {
  opacity: 0.7;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  max-width: 650px;
  padding: 3rem;
  text-align: center;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.section-inner {
  max-width: 900px;
  width: 100%;
  padding: 3rem;
  text-align: center;
}

/* =========================
   GALLERY
========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-grid img:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* =========================
   GLASS EFFECT
========================= */

.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .header nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .hero-content,
  .section-inner {
    padding: 2rem;
  }

}
