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

/* Base body */
body {
  font-family: 'Inter', sans-serif;
  background-color: #111;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

/* Navigation Bar */
nav {
  width: 100%;
  background-color: #222;
  margin-bottom: 2rem;
  border-radius: 8px;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: #eee;
  text-decoration: none;
  font-weight: bold;
  padding: 1rem;
  display: block;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffcc00;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}

/* Masonry gallery */
.gallery {
  column-count: 3;
  column-gap: 1rem;
  width: 100%;
  max-width: 1200px;
}

.gallery img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* About section */
.about-section {
  max-width: 800px;
  text-align: center;
}

.about-photo {
  width: 200px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Contact section */
.contact-section {
  max-width: 600px;
  text-align: center;
}

.contact-section a {
  color: #ffcc00;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery { column-count: 2; }
}

@media (max-width: 600px) {
  .gallery { column-count: 1; }
}
