/* Reset & font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, sans-serif;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f8fafc;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background: rgba(30, 41, 59, 0.9);
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  z-index: 100;
}
.nav-container {
  width: 95%;          /* use most of viewport width */
  max-width: 1400px;   /* optional: cap width for readability */
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links a {
  text-decoration: none;
  color: #f8fafc;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #2563eb;
}
.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

/* Hero / Landing Card */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 60px; /* for navbar */
  text-align: center;
}
.card {
  background: rgba(30, 41, 59, 0.8);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  max-width: 400px;
  width: 90%;
}
h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.links a {
  text-decoration: none;
  background: #2563eb;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}
.links a:hover {
  background: #1d4ed8;
}

/* Gallery / About Sections */
section {
  width: 95%;          /* nearly full width */
  max-width: 1400px;   /* optional cap */
  margin: 4rem auto;
  padding: 0 1rem;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}
section p {
  text-align: center;
  color: #cbd5e1;
}

/* Footer */
footer {
  text-align: center;
  margin: 4rem 0 2rem;
  color: #94a3b8;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  object-fit: contain;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background: rgba(0,0,0,0.85);
  justify-content:center;
  align-items:center;
  z-index: 9999;
}

#lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 0.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* Lightbox close button */
#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

#lightbox-close:hover {
  color: #2563eb;
}



@media (max-width: 500px) {
  .nav-links {
    gap: 0.5rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  p {
    font-size: 0.9rem;
  }
}