@import url('https://fonts.googleapis.com/css2?family=Mogra&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main,
section {
  flex: 1;
}

header {
  background: #000;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  z-index: 1000;
}











header h1.title {
  display: flex;
  flex-wrap: wrap; /* allow wrapping if needed */
  justify-content: center;
  align-items: center;
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(2rem, 6vw, 7rem); /* responsive font */
  text-align: center;
  text-shadow:
    2.3px 2.3px 0 #000,
    -2.3px 2.3px 0 #000,
    -2.3px -2.3px 0 #000,
    2.3px -2.3px 0 #000;
  letter-spacing: 0.05em; /* increase spacing between letters */
}

/* Each word as a nowrap block */
header h1.title span {
  white-space: nowrap;
}

/* Only add space between words */
header h1.title span.space {
  flex-basis: auto; /* remove forced line break */
  width: 0.5em; /* space between words */
  height: 0;
}













nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

header,
.header-2 {
  flex-wrap: wrap;
}

.header-2 {
  background: linear-gradient(180deg, #000, #fff, #fff, #000);
  position: relative;
  top: auto;
}

.header-2 nav a {
  color: #000;
}

section {
  display: grid;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  grid-template-columns: 1fr;
  align-content: center;
}

.section-center,
.section-right {
  text-align: center;
}

.section-right img {
  height: 650px;
  border-radius: 10000px;
  max-width: 100%;
  object-fit: cover;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #fff;
  color: #000;
  margin-top: auto;
}

p {
  font-size: 1.4rem;
  color: #fff;
}

#end-phrase {
  font-size: 2.7rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

.title {
  letter-spacing: -0.08em;
  text-align: center;
}

.title span {
  display: inline-block;
}

.space {
  width: 0.2em;
}


.gallery-grid {
  column-count: 3;
  column-gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1200px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
  }
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px white;
  display: block;
  break-inside: avoid;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px white;
}



.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  cursor: grab;
  transition: transform 0.3s ease;
  transform-origin: center center;
  user-select: none;
  position: relative;
}

.lightbox-img.zoomed {
  cursor: grabbing;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

.lightbox-reset {
  position: absolute;
  top: 20px;
  right: 90px;
  font-size: 16px;
  padding: 6px 12px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  z-index: 10000;
  transition: background 0.2s;
}

.lightbox-reset:hover {
  background: rgba(255, 255, 255, 0.4);
}


@media (max-width: 1024px) {
  header h1 {
    font-size: 5rem;
  }

  #end-phrase {
    font-size: 2rem;
  }

  p {
    font-size: 1.2rem;
  }

  .section-right img {
    height: 450px;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 3.5rem;
  }

  #end-phrase {
    font-size: 1.8rem;
  }

  p {
    font-size: 1rem;
  }

  .section-right img {
    height: 300px;
  }

  nav a {
    margin: 0.5rem;
    font-size: 0.9rem;
  }

  section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2.5rem;
  }

  #end-phrase {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }

  .section-right img {
    height: auto;
    width: 80%;
    margin: auto;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 0.25rem 0.5rem;
    font-size: 0.85rem;
  }

  section {
    padding: 1.5rem 1rem;
  }
}