/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ========== LAYANAN KATALOG (DETAIL) ========== */

/* Style untuk semua section layanan */
#self-photo,
#photo-box,
#photo-and-videographer,
#studio-only,
#event {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  gap: 60px;
  scroll-margin-top: 80px;
}

/* Layout genap (gambar di kiri, teks di kanan) */
#self-photo,
#photo-and-videographer,
#event {
  flex-direction: row;
}

/* Layout ganjil (gambar di kanan, teks di kiri) */
#photo-box,
#studio-only {
  flex-direction: row-reverse;
}

/* ========== LEFT BOX (GALLERY GRID) ========== */
#self-photo .left-box,
#photo-box .left-box,
#photo-and-videographer .left-box,
#studio-only .left-box,
#event .left-box {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #f8f8f8;
  padding: 10px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Image container */
#self-photo .left-box .image,
#photo-box .left-box .image,
#photo-and-videographer .left-box .image,
#studio-only .left-box .image,
#event .left-box .image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0dcd5, #c8c2b8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Hover effect gambar */
#self-photo .left-box .image:hover,
#photo-box .left-box .image:hover,
#photo-and-videographer .left-box .image:hover,
#studio-only .left-box .image:hover,
#event .left-box .image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#self-photo .left-box .image img,
#photo-box .left-box .image img,
#photo-and-videographer .left-box .image img,
#studio-only .left-box .image img,
#event .left-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#self-photo .left-box .image:hover img,
#photo-box .left-box .image:hover img,
#photo-and-videographer .left-box .image:hover img,
#studio-only .left-box .image:hover img,
#event .left-box .image:hover img {
  transform: scale(1.08);
}

/* ========== RIGHT BOX (CONTENT) ========== */
#self-photo .right-box,
#photo-box .right-box,
#photo-and-videographer .right-box,
#studio-only .right-box,
#event .right-box {
  flex: 1;
  padding: 20px;
}

/* Title */
#self-photo .right-box .text h1,
#photo-box .right-box .text h1,
#photo-and-videographer .right-box .text h1,
#studio-only .right-box .text h1,
#event .right-box .text h1 {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

#self-photo .right-box .text h1::after,
#photo-box .right-box .text h1::after,
#photo-and-videographer .right-box .text h1::after,
#studio-only .right-box .text h1::after,
#event .right-box .text h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #f0ad21;
  border-radius: 2px;
}

/* Description */
#self-photo .right-box .text p,
#photo-box .right-box .text p,
#photo-and-videographer .right-box .text p,
#studio-only .right-box .text p,
#event .right-box .text p {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: #666;
  margin-top: 16px;
}

/* ========== PRICE SECTION ========== */
#self-photo .right-box .price,
#photo-box .right-box .price,
#photo-and-videographer .right-box .price,
#studio-only .right-box .price,
#event .right-box .price {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8f8f8;
  padding: 20px 24px;
  border-radius: 20px;
  margin: 24px 0;
  transition: all 0.3s ease;
}

#self-photo .right-box .price:hover,
#photo-box .right-box .price:hover,
#photo-and-videographer .right-box .price:hover,
#studio-only .right-box .price:hover,
#event .right-box .price:hover {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

/* Icon */
#self-photo .right-box .price .icon-price span,
#photo-box .right-box .price .icon-price span,
#photo-and-videographer .right-box .price .icon-price span,
#studio-only .right-box .price .icon-price span,
#event .right-box .price .icon-price span {
  font-size: 48px;
  color: #f0ad21;
}

/* Text price */
#self-photo .right-box .price .text-price p:first-child,
#photo-box .right-box .price .text-price p:first-child,
#photo-and-videographer .right-box .price .text-price p:first-child,
#studio-only .right-box .price .text-price p:first-child,
#event .right-box .price .text-price p:first-child {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

#self-photo .right-box .price .text-price p:last-child,
#photo-box .right-box .price .text-price p:last-child,
#photo-and-videographer .right-box .price .text-price p:last-child,
#studio-only .right-box .price .text-price p:last-child,
#event .right-box .price .text-price p:last-child {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  color: #888;
}

/* ========== BUTTON ========== */
#self-photo .right-box .button,
#photo-box .right-box .button,
#photo-and-videographer .right-box .button,
#studio-only .right-box .button,
#event .right-box .button {
  margin-top: 32px;
}

#self-photo .right-box .button a,
#photo-box .right-box .button a,
#photo-and-videographer .right-box .button a,
#studio-only .right-box .button a,
#event .right-box .button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 56px;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #1a1a1a;
  cursor: pointer;
}

#self-photo .right-box .button a:hover,
#photo-box .right-box .button a:hover,
#photo-and-videographer .right-box .button a:hover,
#studio-only .right-box .button a:hover,
#event .right-box .button a:hover {
  background: #f0ad21;
  border-color: #f0ad21;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(240, 173, 33, 0.3);
}

/* ========== RESPONSIVE ========== */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  #self-photo,
  #photo-box,
  #photo-and-videographer,
  #studio-only,
  #event {
    padding: 60px 32px;
    gap: 40px;
  }

  #self-photo .right-box .price .icon-price span,
  #photo-box .right-box .price .icon-price span,
  #photo-and-videographer .right-box .price .icon-price span,
  #studio-only .right-box .price .icon-price span,
  #event .right-box .price .icon-price span {
    font-size: 36px;
  }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
  #self-photo,
  #photo-box,
  #photo-and-videographer,
  #studio-only,
  #event {
    flex-direction: column !important;
    padding: 40px 24px;
    gap: 32px;
    min-height: auto;
  }

  #self-photo .left-box,
  #photo-box .left-box,
  #photo-and-videographer .left-box,
  #studio-only .left-box,
  #event .left-box {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  #self-photo .right-box,
  #photo-box .right-box,
  #photo-and-videographer .right-box,
  #studio-only .right-box,
  #event .right-box {
    width: 100%;
    text-align: center;
  }

  #self-photo .right-box .text h1::after,
  #photo-box .right-box .text h1::after,
  #photo-and-videographer .right-box .text h1::after,
  #studio-only .right-box .text h1::after,
  #event .right-box .text h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  #self-photo .right-box .price,
  #photo-box .right-box .price,
  #photo-and-videographer .right-box .price,
  #studio-only .right-box .price,
  #event .right-box .price {
    justify-content: center;
  }

  #self-photo .right-box .button a,
  #photo-box .right-box .button a,
  #photo-and-videographer .right-box .button a,
  #studio-only .right-box .button a,
  #event .right-box .button a {
    width: 100%;
    max-width: 280px;
  }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  #self-photo,
  #photo-box,
  #photo-and-videographer,
  #studio-only,
  #event {
    padding: 30px 16px;
  }

  #self-photo .left-box,
  #photo-box .left-box,
  #photo-and-videographer .left-box,
  #studio-only .left-box,
  #event .left-box {
    gap: 6px;
    padding: 6px;
  }

  #self-photo .right-box .price,
  #photo-box .right-box .price,
  #photo-and-videographer .right-box .price,
  #studio-only .right-box .price,
  #event .right-box .price {
    padding: 16px;
  }

  #self-photo .right-box .price .icon-price span,
  #photo-box .right-box .price .icon-price span,
  #photo-and-videographer .right-box .price .icon-price span,
  #studio-only .right-box .price .icon-price span,
  #event .right-box .price .icon-price span {
    font-size: 28px;
  }
}
