* {
  margin: 0;
  padding: 0;
  font-family: "Alumni Sans Pinstripe", sans-serif;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  text-align: left;
  padding: 40px 20px 20px;
}

.header-link,
.header-link:visited,
.header-link:hover,
.header-link:active {
  text-decoration: none;
  color: inherit;
}

header h1 {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 2px;
}

/* Carousel */
.carousel {
  display: none;
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  background: #000;
}

.carousel.active {
  display: block;
}

.carousel-slide {
  width: 100%;
  height: 100%;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-img.visible {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.container {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  flex: 1;
}

.gallery-box div {
  columns: 3;
  column-gap: 15px;
}

.gallery-box img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
  object-fit: cover;
  object-position: 50% 50%;
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

.gallery-box img:hover {
  filter: brightness(75%);
  transform: scale(1.02);
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  animation: fade-in 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 101;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #ccc;
}

/* About Section */
.about {
  position: relative;
  padding: 180px 120px;
  background: #111;
}

.about-star {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.9;
}

.about-star-tl {
  top: 40px;
  left: 10%;
}

.about-star-br {
  bottom: 40px;
  right: 10%;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  padding-right: 200px; /* adjust to move content right / image left */
}

.about-photo img {
  width: 380px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-text h2 {
  font-size: 2.8rem;
  font-weight: 200;
  letter-spacing: 1px;
}

.about-text p {
  color: #aaa;
  font-size: 1.5rem;
  font-weight: 200;
}

.about-email {
  color: #ccc;
  font-size: 1.8rem;
  text-decoration: none;
  width: fit-content;
}

.about-email:hover {
  color: #fff;
}

.about-signature {
  font-family: "Dancing Script", cursive;
  font-size: 3.3rem !important;
  color: #fff !important;
  margin-top: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  color: #888;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 6px;
  background: rgba(39, 39, 39, 0.4);
  color: #999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, color 0.2s;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  color: #fff;
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .gallery-box div {
    columns: 2;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .carousel {
    height: 40vh;
  }

  .carousel-btn {
    font-size: 1.8rem;
    padding: 6px 12px;
  }

  .about {
    padding: 80px 30px;
  }

  .about-content {
    flex-direction: column;
    gap: 24px;
    padding-right: 0;
    align-items: center;
  }

  .about-photo img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .about-text {
    width: 100%;
    max-width: 320px;
    align-items: flex-start;
    text-align: left;
    white-space: nowrap;
  }

  .about-signature {
    font-size: 2.4rem !important;
  }

  .about-star-tl {
    left: 5%;
    top: 20px;
  }

  .about-star-br {
    right: 5%;
    bottom: 20px;
  }
}

@media only screen and (max-width: 400px) {
  .gallery-box div {
    columns: 1;
  }
}
