/* ==========================================
   DJ RICH OFFICIAL PROFILE
   DARK LUXURY / MUSIC ARTIST
========================================== */

:root {
  --black: #080808;
  --dark: #101010;
  --panel: #171717;
  --white: #f5f5f5;
  --silver: #bcbcbc;
  --gray: #858585;
  --border: rgba(255, 255, 255, 0.13);

  --heading: "Barlow Condensed", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: white;
  color: black;
}

/* NAVIGATION */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: 90%;
  max-width: 1400px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  width: 110px;
  height: 55px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--gray);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: white;
  transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-booking {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.nav-booking::after {
  display: none;
}

.nav-booking:hover {
  background: white;
  color: black;
}

.menu-toggle {
  display: none;
  width: 32px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: white;
  transition: 0.3s;
}

.menu-toggle.open span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 78px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94),
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.12)
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1400px;
  margin: auto;
  padding-bottom: 30px;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #d0d0d0;
  margin-bottom: 35px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 12px white;
}

.hero-intro {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--silver);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--heading);
  font-size: clamp(100px, 17vw, 230px);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -5px;
}

.hero-content h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px white;
}

.hero-description {
  margin-top: 35px;
  color: #d0d0d0;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.button-primary,
.button-outline {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 22px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: 0.3s;
}

.button-primary {
  background: white;
  color: black;
}

.button-primary:hover {
  background: var(--silver);
}

.button-primary span {
  font-size: 17px;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.button-outline:hover {
  background: white;
  color: black;
}

.hero-side-text {
  position: absolute;
  right: 30px;
  top: 50%;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-bottom {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 25px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: #bdbdbd;
  font-size: 9px;
  letter-spacing: 2px;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.07);
  }
}

/* GENERAL SECTION */

.section-padding {
  padding: 75px 5%;
}

.section-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 38px;
}

.section-top span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.section-top span:last-child {
  color: var(--gray);
}

.section-top div {
  height: 1px;
  flex: 1;
  background: var(--border);
}

.small-label {
  color: var(--silver);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.section-heading h2,
.about-content h2,
.experience-content h2,
.booking-content h2 {
  font-family: var(--heading);
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.83;
}

.section-heading h2 span,
.about-content h2 span,
.experience-content h2 span,
.booking-content h2 span {
  color: transparent;
  -webkit-text-stroke: 1px white;
}

.section-heading > p {
  max-width: 320px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.9;
  padding-bottom: 5px;
}

/* ABOUT */

.about {
  background: var(--dark);
}

.about-grid {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 65px;
}

.about-image {
  height: 470px;
  position: relative;
  overflow: hidden;
  background: var(--panel);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.7s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.photo-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.65);
  padding: 12px 15px;
  font-size: 9px;
  letter-spacing: 2px;
}

.photo-label span:last-child {
  color: var(--silver);
}

.about-description {
  max-width: 480px;
  margin-top: 25px;
  color: var(--gray);
  font-size: 12px;
  line-height: 2;
}

.text-link {
  display: inline-block;
  margin-top: 25px;
  padding-bottom: 9px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  border-bottom: 1px solid white;
  transition: 0.3s;
}

.text-link:hover {
  color: var(--silver);
  padding-left: 7px;
}

/* MUSIC GENRES */

.music {
  background: #090909;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.genre-card {
  position: relative;
  min-height: 225px;
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.genre-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.55);
  background: #1d1d1d;
}

.genre-number {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 2px;
}

.genre-symbol {
  display: block;
  font-size: 28px;
  color: var(--silver);
  margin: 25px 0 15px;
}

.genre-card h3 {
  font-family: var(--heading);
  font-size: 27px;
  letter-spacing: 1px;
}

.genre-card p {
  color: var(--gray);
  font-size: 10px;
  line-height: 1.8;
  margin-top: 8px;
}

/* MIXES */

.mixes {
  background: var(--dark);
}

.mix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mix-card {
  background: #151515;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.mix-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.mix-art {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #202020;
}

.mix-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.mix-card:hover .mix-art img {
  transform: scale(1.06);
}

.mix-index {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 9px;
  letter-spacing: 2px;
}

.mix-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mix-info p {
  color: var(--gray);
  font-size: 8px;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.mix-info h3 {
  font-family: var(--heading);
  font-size: 25px;
  font-weight: 700;
}

.mix-link {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  font-size: 18px;
  transition: 0.3s;
}

.mix-link:hover {
  background: white;
  color: black;
}

.mix-footer {
  margin-top: 25px;
  text-align: right;
}

.mix-footer a {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  border-bottom: 1px solid white;
  padding-bottom: 8px;
}

/* EXPERIENCE */

.experience {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.8)),
    url("assets/gallery-4.jpeg") center / cover no-repeat;
}

.experience-content {
  max-width: 900px;
  margin: auto;
}

.experience-description {
  max-width: 450px;
  margin-top: 25px;
  color: var(--gray);
  font-size: 12px;
  line-height: 2;
}

.experience-types {
  margin-top: 35px;
  border-top: 1px solid var(--border);
}

.experience-types div {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: 0.3s;
}

.experience-types div:hover {
  padding-left: 10px;
}

.experience-types span {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 2px;
}

.experience-types p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* GALLERY */

.gallery-section {
  background: #090909;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(2, 280px);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--panel);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 18px;
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption span:first-child {
  font-size: 9px;
  letter-spacing: 2px;
}

.gallery-caption span:last-child {
  font-size: 20px;
}

/* ==========================================
   BOOKING
   FORM RIGHT / DJ INFORMATION LEFT
========================================== */

/* BOOKING */

.booking {
  background: var(--dark);
}

.booking-grid {
  max-width: 1400px;
  margin: auto;

  display: grid;

  /* INFORMASI KIRI - FORM KANAN */
  grid-template-columns: 1fr 0.85fr;

  align-items: start;
  gap: 80px;
}

/* LEFT CONTENT */

.booking-content {
  width: 100%;
}

.booking-description {
  max-width: 420px;
  margin-top: 25px;

  color: var(--gray);
  font-size: 12px;
  line-height: 2;
}

.booking-email {
  margin-top: 35px;
}

.booking-email > span {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 2px;
}

.email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 12px;
}

.email-row a {
  font-family: var(--heading);
  font-size: clamp(25px, 4vw, 40px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.social-links a {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--silver);
  transition: 0.3s;
}

.social-links a:hover {
  color: white;
}

/* RIGHT BOOKING FORM */

.booking-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 30px;
  background: #141414;
  border: 1px solid var(--border);
}

.booking-form label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 10px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 14px 0;

  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);

  color: white;
  font-size: 12px;
  outline: none;
}

.booking-form select {
  color: var(--gray);
  cursor: pointer;
}

.booking-form select option {
  background: #171717;
  color: white;
}

.booking-form textarea {
  resize: vertical;
  min-height: 100px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: white;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: #777;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  margin-top: 20px;
  padding: 17px 20px;

  background: white;
  color: black;
  border: none;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;

  transition: 0.3s;
}

.submit-button:hover {
  background: var(--silver);
}

/* EVENT DATE */

.booking-form input[type="date"] {
  color: white;
  color-scheme: dark;
  cursor: pointer;
  min-height: 45px;
}

.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  cursor: pointer;
}

.booking-form input[type="date"]:focus {
  border-color: white;
}

/* MOBILE */

@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .booking-content {
    order: 1;
  }

  .booking-form {
    order: 2;
    padding: 22px;
  }

  .booking-description {
    font-size: 11px;
  }

  .social-links {
    gap: 15px;
  }

  .social-links a {
    font-size: 8px;
  }
}

/* FOOTER */

.footer {
  padding: 30px 5%;
  background: #060606;
  border-top: 1px solid var(--border);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  width: 90px;
  height: 45px;
  object-fit: contain;
}

.back-top {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--silver);
}

.footer-bottom {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 15px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 8px;
  color: var(--gray);
  letter-spacing: 1.5px;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  background: transparent;
  border: none;
  color: white;
  font-size: 45px;
}

/* TOAST */

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 3000;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 30px);
  padding: 14px 22px;
  background: white;
  color: black;
  font-size: 11px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 1000px) {
  .nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 9px;
  }

  .about-grid {
    gap: 35px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-grid {
    gap: 40px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .header {
    height: 68px;
  }

  .navbar {
    width: 90%;
  }

  .brand-logo img {
    width: 90px;
    height: 45px;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    padding: 28px 6%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 11px;
  }

  .nav-booking {
    padding: 10px 15px;
  }

  .hero {
    min-height: 90vh;
    min-height: 90svh;
  }

  .hero-content {
    width: 88%;
  }

  .hero-tag {
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 28px;
  }

  .hero-content h1 {
    font-size: clamp(95px, 22vw, 150px);
    letter-spacing: -3px;
  }

  .hero-intro {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .hero-description {
    font-size: 9px;
  }

  .hero-side-text {
    right: 12px;
    font-size: 7px;
  }

  .hero-bottom {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .hero-bottom span:nth-child(2) {
    display: none;
  }

  .section-padding {
    padding: 55px 6%;
  }

  .section-top {
    margin-bottom: 28px;
    gap: 10px;
  }

  .section-top span {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .about-content h2,
  .experience-content h2,
  .booking-content h2 {
    font-size: clamp(58px, 14vw, 85px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    height: 380px;
  }

  .about-description {
    font-size: 11px;
  }

  .genre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .genre-card {
    min-height: 200px;
    padding: 18px;
  }

  .genre-card h3 {
    font-size: 23px;
  }

  .genre-card p {
    font-size: 9px;
  }

  .mix-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .mix-art {
    height: 270px;
  }

  .experience-types div {
    gap: 15px;
  }

  .experience-types p {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 210px);
    gap: 10px;
  }

  .gallery-large {
    grid-row: span 2;
  }

  .gallery-caption {
    opacity: 1;
    padding: 10px;
  }

  .gallery-caption span:first-child {
    font-size: 7px;
    letter-spacing: 1px;
  }

  /* BOOKING MOBILE */
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  /* Form tetap di atas */
  .booking-form {
    order: 1;
  }

  /* Informasi DJ di bawah */
  .booking-content {
    order: 2;
  }

  .booking-description {
    font-size: 11px;
  }

  .email-row a {
    font-size: 30px;
  }

  .social-links {
    gap: 15px;
  }

  .social-links a {
    font-size: 8px;
  }

  .footer {
    padding: 25px 6%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* SMALL MOBILE */

@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 88px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 230px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 260px);
  }

  .gallery-large {
    grid-row: span 1;
  }

  .about-image {
    height: 310px;
  }

  .genre-card {
    padding: 14px;
  }

  .genre-card h3 {
    font-size: 20px;
  }

  .email-row a {
    font-size: 25px;
  }
}

.about-image img {
  object-position: center 10%;
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
