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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #050505;
  color: white;
  overflow-y: scroll;
}

.photo-page,
.gallery-section {
  min-height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* TOP PHOTOGRAPHY PAGE */

.hero-section {
  background: #050505;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -5px;
  margin-bottom: 15px;
}

.take-look {
  position: absolute;

  right: 50px;
  bottom: 50px;

  color: white;
  text-decoration: none;

  font-size: 1.3rem;
  letter-spacing: 5px;
  font-weight: 300;

  transition: 0.3s ease;
}

.take-look:hover {
  opacity: 0.55;
}

.hero-image {
  width: 100%;
  height: 62vh;
  margin-top: 40px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* COLLECTIONS PAGE */

.collections-section {
  background: white;
  color: black;
  padding: 50px;
  position: relative;
}

.collections-content h2 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -5px;
  margin-bottom: 35px;
  transform: translateX(-10px)
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.collection-card {
  height: 760px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: white;
  border: 1px solid black;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0%);
  filter: brightness(1.1) contrast(1.1);
  transition: 0.4s ease;
}

.collection-card h3 {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 1.5rem;
  letter-spacing: 4px;
  font-weight: 700;
  z-index: 2;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  transition: 0.4s ease;
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-card:hover::after {
  background: rgba(0,0,0,0.35);
}

.back-link {
  position: absolute;

  left: 50px;
  bottom: 50px;

  color: white;
  text-decoration: none;

  font-size: 1.3rem;
  letter-spacing: 5px;
  font-weight: 300;

  transition: 0.3s ease;
}

.back-link:hover {
  opacity: 0.55;
}

/* ANIMATIONS */

.animate {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */

@media screen and (max-width: 900px) {
  .hero-section,
  .collections-section {
    padding: 35px 20px;
  }

  .hero-content h1,
  .collections-content h2 {
    font-size: 4rem;
    letter-spacing: -2px;
  }

  .take-look,
  .back-link {
    font-size: 1rem;
    letter-spacing: 4px;
  }

  .hero-image {
    height: 55vh;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .collection-card {
    height: 170px;
  }

  .collection-card h3 {
    font-size: 1.2rem;
  }
}

/* ADD 5 - GALLERIES */

.gallery-section {
  min-height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;

  background: #050505;
  color: white;

  padding: 60px 50px;
}

.gallery-section h2 {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -5px;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;

  /* 10 pictures across */
  grid-template-columns: repeat(7, 1fr);

  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 350px;

  display: block;
  object-fit: cover;

  transition: 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.04);
}

@media screen and (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    height: 180px;
  }
}

/* ADD 4 - LIGHTBOX POPUP GALLERY */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;

  background: none;
  border: none;
  color: white;

  font-size: 3rem;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;

  background: none;
  border: none;
  color: white;

  font-size: 2.5rem;
  cursor: pointer;

  transition: 0.3s ease;
}

.lightbox-arrow:hover,
.lightbox-close:hover {
  opacity: 0.55;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* ADD 12 - LIGHTBOX COUNTER + LOADING */

.lightbox img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox img.loaded {
  opacity: 1;
}

.lightbox-counter {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);

  color: white;

  font-size: 1rem;
  letter-spacing: 4px;
  font-weight: 300;
}

.loader {
  width: 45px;
  height: 45px;

  border: 2px solid rgba(255,255,255,0.25);
  border-top: 2px solid white;
  border-radius: 50%;

  animation: spin 0.8s linear infinite;

  position: absolute;
  display: none;
}

.loader.show {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ADD 9 - TITLE ARROWS */

.gallery-heading {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gallery-arrows {
    display: flex;
    gap: 12px;

    font-size: 1.5rem;
    letter-spacing: normal;
}

.gallery-arrows a {
    color: white;
    text-decoration: none;

    transition: 0.3s ease;
}

.gallery-arrows a:hover {
    opacity: 0.55;
}

/* ADD 10 - BACK TO COLLECTIONS */

.back-to-collections {
    display: block;

    width: fit-content;

    margin: 40px auto 0;

    color: white;
    text-decoration: none;

    font-size: 1.3rem;
    letter-spacing: 5px;
    font-weight: 300;

    transition: 0.3s ease;
}

.back-to-collections:hover {
    opacity: 0.55;
}

/* ADD 14 - MOBILE PHOTOGRAPHY FIXES */

@media screen and (max-width: 600px) {

  html {
    scroll-snap-type: y mandatory;
  }

  body {
    overflow-x: hidden;
  }

  .photo-page,
  .gallery-section {
    min-height: 100vh;
    width: 100%;
  }

  /* HERO MOBILE */

  .hero-section {
    padding: 40px 22px;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
    line-height: 0.9;
    letter-spacing: -3px;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .hero-image {
    height: 48vh;
    width: 95%;
    margin-top: 35px;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .take-look {
    font-size: 0.9rem;
    letter-spacing: 5px;
    transform: translateY(35px);
  }

  .back-link {
    left: 22px;
    transform: translateY(280px);
    font-size: 0.9rem;
    letter-spacing: 4px;
  }

  /* COLLECTIONS MOBILE */

  .collections-section {
    padding: 40px 22px;
  }

  .collections-content h2 {
    font-size: clamp(3rem, 17vw, 4.5rem);
    letter-spacing: -3px;
    transform: translateX(0);
    margin-bottom: 25px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .collection-card {
    height: 110px;
  }

  .collection-card h3 {
    font-size: 1rem;
    letter-spacing: 4px;
  }

  /* GALLERY MOBILE */

  .gallery-section {
    padding: 40px 22px;
  }

  .gallery-heading {
    font-size: clamp(2.8rem, 15vw, 4rem);
    letter-spacing: -2px;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }

  .gallery-arrows {
    font-size: 1.1rem;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-grid img {
    height: 145px;
  }

  .back-to-collections {
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-top: 30px;
  }

  /* LIGHTBOX MOBILE */

  .lightbox img {
    max-width: 88%;
    max-height: 72%;
  }

  .lightbox-close {
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
  }

  .lightbox-arrow {
    font-size: 1.8rem;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-counter {
    bottom: 28px;
    font-size: 0.85rem;
    letter-spacing: 3px;
  }
}

/* ADD 15 - MOBILE COLLECTIONS FIT FIX */

@media screen and (max-width: 600px) {

  .collections-section {
    min-height: 100vh;
    height: auto;
    padding: 35px 20px;
    overflow: visible;
  }

  .collections-content h2 {
    font-size: clamp(2.2rem, 11.7vw, 4rem);
    letter-spacing: -3px;
    margin-bottom: 25px;

    white-space: normal;
    overflow-wrap: break-word;
  }

  .collections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .collection-card {
    height: 106px;
    right: 6px;
  }

  .collection-card h3 {
    font-size: 0.95rem;
    letter-spacing: 4px;
    left: 10px;
    bottom: 8px;
  }
}

@media screen and (max-width: 600px) {

  .gallery-heading {
    font-size: clamp(2rem, 14vw, 3.5rem);
    letter-spacing: -2px;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .gallery-arrows {
    font-size: 1rem;
    gap: 8px;
  }

}

/* ADD 17 - MOBILE LIGHTBOX FIX */

@media screen and (max-width: 600px) {

  .lightbox {
    padding: 70px 18px;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 18px;
  }

  .lightbox-arrow {
    display: block;
    z-index: 10001;
    font-size: 1.8rem;
  }

  .lightbox-close {
    top: 18px;
    right: 22px;
    z-index: 10001;
    font-size: 2.4rem;
  }

  .lightbox-counter {
    display: block;
    z-index: 10001;
    bottom: 28px;
    font-size: 0.85rem;
    letter-spacing: 3px;
  }

  .loader {
    z-index: 10000;
  }
}

/* ADD 33 - IMAGE PROTECTION */

img {
  -webkit-user-drag: none;
  user-select: none;
}

body {
  -webkit-touch-callout: none;
}