/* style.css */




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

html {
  background-color: rgb(111, 110, 110);
}

body {
  font-family: sans-serif;
  line-height: 1.5;
  color: #222;
  font-size: 1.2em;
}

.cursive {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: italic;
}


/* Banners */
.banner {
  position: relative;
  width: 100%;
  height: 30em;
  background-size: cover;
  background-position: center;
}

.banner.secondary,
.banner.tertiary {
  /* same sizing for other banners */
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}

.site-title {
  color: white;
  font-weight: bold;
}

.nav-links a {
  margin-left: 1.5em;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 15em;
  transform: translateY(-50%);
  color: white;
  max-width: 70%;
}

.banner-content h2 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.banner-content p {
  font-size: 1.1em;
}

/* Galleries */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  margin: 2em;
  /* background-color: white; */
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  background-color: #202020;
  color: #525252;
  text-align: center;
  padding: 2em 0;
  font-size: 0.8em;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .banner-content h2 {
    font-size: 1.8em;
    /* smaller than the default 2em */
  }

  .banner-content {
    left: 3em;
    max-width: 70%;
  }

  .gallery {
    margin: 5em 2em;
  }
}

@media (max-width: 600px) {
  .banner-content h2 {
    font-size: 1.5em;
    /* even smaller on very narrow screens */
  }

  .banner {
    height: 20em;
  }

  .top-bar {
    padding: 0.5em 1em;
  }

  .banner-content {
    left: 1em;
    /* transform: none; */
    /* top: 1em; */
  }

  .gallery {
    grid-template-columns: 1fr;
    margin: 5em 1em;
  }
}



/* style.css (append these rules at the end) */

/* Masonry-like art gallery */
.art-gallery {
column-count: 2;
column-gap: 2em;
margin: 10em;
/* background-color: white; */
}
.art-gallery img {
width: 100%;
display: inline-block;
margin-bottom: 2em;
cursor: pointer;
break-inside: avoid;
object-fit: cover;
}

/* Responsive columns */
@media (max-width: 900px) {
.art-gallery {
column-count: 1;
margin: 5em 2em;
}
}


/* Masonry-like Art Gallery */
.art-gallery {
  column-count: 2;
  column-gap: 2em;
  margin: 2em;
}
.art-gallery img {
  width: 100%;
  display: inline-block;
  margin-bottom: 2em;
  cursor: pointer;
  break-inside: avoid;
  object-fit: cover;
}

/* Responsive: single column on smaller screens */
@media (max-width: 900px) {
  .art-gallery {
    column-count: 1;
    margin: 2em;
  }
}

/* Lightbox Styles (ensure these are present) */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
#lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
#lightbox img {
  max-width: 90%;
  max-height: 90%;
}