/* ================= RESET ================= */

:root {
  --gold-bright: #d4af37;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  background: #000;
  color: #fff;
}

/* ================= NAVBAR ================= */
.navbar {
  position: absolute; /* nempel di atas hero */
  top: 0;
  left: 0;
  width: 100%;
  background: transparent; /* TRANSPARAN */
  z-index: 100;
}

/* LOGIN & REGISTER — KIRI */
.nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login,
.btn-register {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.btn-login {
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #d4af37;
}

.btn-login:hover {
  background: rgba(212, 175, 55, 0.12);
}

.btn-register {
  background: #d4af37;
  color: #000;
}

.btn-register:hover {
  background: #c7a42f;
}

/* MENU LINK — KIRI (SETELAH LOGIN) */
.nav-center {
  display: flex;
  gap: 34px;
  /* PENTING: JANGAN CENTER */
  justify-content: flex-start;
}

.nav-center a {
  font-family: "Artdecomantarai-Regu", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  color: rgb(241, 211, 119);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* LOGO — FIX TENGAH LAYAR */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* RIGHT — SEARCH / ICON */
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent;
  color: #d4af37;
  cursor: pointer;
  transition: 0.25s;
}

.search-btn:hover {
  background: rgba(212, 175, 55, 0.15);
}

/* SEARCH BOX */
.search-box {
  display: none;
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  padding: 14px;
  background: #0f0f0f;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  z-index: 999;
}

.search-box input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  outline: none;
  background: #1c1c1c;
  color: #fff;
}

.search-box input::placeholder {
  color: #777;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-center {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .nav-left {
    width: 100%;
    justify-content: flex-end;
  }

  .btn-login,
  .btn-register {
    padding: 10px 22px;
  }
}

/* ================= HERO (FINAL FIX) ================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slides,
.slide {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.85)
  );
}

/* 🔥 CONTENT FIX */
.hero-content {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-text {
  position: relative;
  z-index: 6;
}

/* TEXT */
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 18px;
}

.hero-text p {
  font-family: "Meera Inimai", sans-serif;
  font-style: normal;
  font-weight: 900;
  margin-bottom: 40px;

  font-size: 30px;
  line-height: auto;

  color: rgb(160, 160, 160);
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 14px 36px;
  border-radius: 32px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: #d4af37;
  color: #000;
}

.btn-primary:hover {
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
}

.btn-secondary {
  border: 2px solid #d4af37;
  color: #d4af37;
}

.btn-secondary:hover {
  background: #d4af37;
  color: #000;
}

/* DOTS */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 6;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #d4af37;
  transform: scale(1.3);
  box-shadow: 0 0 10px #d4af37;
}

/* ================= OUR STORY ================= */
.our-story {
  position: relative;
  z-index: 10;
  padding: 110px 20px;
  background: #0a0a0a;
}

.story-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.story-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.story-label {
  color: #d4af37;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 15px;
}

.story-content p,
.location-info p {
  font-family: "Meera Inimai", sans-serif;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 50px;

  font-size: 19px;
  line-height: 26px;

  color: rgb(160, 160, 160);
}

/* WRAPPER STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

/* ITEM */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 110px; /* 🔥 tinggi disamakan */
}

/* ANGKA */
.stat-number {
  font-size: 2.2rem; /* 🔥 ukuran fix */
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
}

/* LABEL */
.stat-label {
  margin-top: 6px;
  font-size: 0.9rem; /* 🔥 ukuran fix */
  color: #aaa;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .story-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story-image {
    width: 100%;
  }

  .story-content h2 {
    font-size: 1.9rem;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
  }

  .stat-item {
    height: 90px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

/* ============ GALLERY PREMIUM - BARBERSIX ============ */
.gallery-premium {
  width: 100%;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

/* Premium gradient edge */
.gallery-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af37 20%,
    #d4af37 80%,
    transparent
  );
  opacity: 0.3;
}

.gallery-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 100vh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 60px;
  gap: 40px;
  position: relative;
}

/* ============ CURATED LEFT ============ */
.gallery-curated {
  display: flex;
  align-items: center;
  position: relative;
}

.curated-content {
  max-width: 500px;
  padding-right: 40px;
}

.subtitle-reveal {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 20px;
  font-weight: 400;
  position: relative;
  padding-left: 30px;
}

.subtitle-reveal::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: #d4af37;
  transform: translateY(-50%);
}

.title-reveal {
  margin-bottom: 30px;
}

.title-reveal .stroke {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.3);
  text-stroke: 1px rgba(212, 175, 55, 0.3);
  line-height: 1.1;
}

.title-reveal .solid {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 700;
  color: #d4af37;
  line-height: 1.1;
  margin-top: -10px;
}

.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, transparent);
  margin: 30px 0;
}

.desc-reveal {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #b0b0b0;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* Premium stats */
.curated-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.stat-label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #808080;
}

/* ============ CINEMA RIGHT ============ */
.gallery-cinema {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cinema-frame {
  position: relative;
  width: 100%;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Main slider */
.cinema-slider {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  background: #0a0a0a;
}

.slider-mask {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: opacity;
}

.slide-frame.active {
  opacity: 1;
  z-index: 2;
}

/* Premium thumbnail strip */
.cinema-thumbnails {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 10;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cinema-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail-track {
  display: flex;
  gap: 10px;
  padding: 5px 0;
}

.thumb-item {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}

.thumb-item.active {
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.thumb-item.active .thumb-overlay {
  background: rgba(212, 175, 55, 0.2);
}

.thumb-item:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.thumb-item:hover img {
  transform: scale(1.1);
}

/* Navigation arrows - premium minimal */
.cinema-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    background 0.3s ease;
}

.cinema-frame:hover .cinema-nav {
  opacity: 1;
}

.cinema-nav:hover {
  background: #d4af37;
  border-color: #d4af37;
  color: #0a0a0a;
}

.cinema-nav.prev {
  left: 20px;
}

.cinema-nav.next {
  right: 20px;
}

/* Counter indicator */
.cinema-counter {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 30;
  font-family: "Inter", sans-serif;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  letter-spacing: 2px;
}

.current-index {
  color: #d4af37;
  font-weight: 600;
}

.counter-divider {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

.total-count {
  color: rgba(255, 255, 255, 0.7);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .gallery-container {
    padding: 60px 40px;
    gap: 30px;
  }

  .title-reveal .stroke,
  .title-reveal .solid {
    font-size: 56px;
  }
}

@media (max-width: 992px) {
  .gallery-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gallery-curated {
    order: 2;
  }

  .gallery-cinema {
    order: 1;
  }

  .curated-content {
    padding-right: 0;
    max-width: 100%;
  }

  .thumbnail-track {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .gallery-container {
    padding: 40px 20px;
  }

  .title-reveal .stroke,
  .title-reveal .solid {
    font-size: 48px;
  }

  .curated-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 28px;
  }

  .cinema-nav {
    width: 36px;
    height: 36px;
    opacity: 1;
  }

  .thumbnail-track {
    gap: 6px;
  }

  .thumb-item {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .gallery-split {
    grid-template-columns: 1fr;
  }

  .gallery-media {
    padding: 40px 24px;
  }

  .gallery-slides {
    max-width: 100%;
    aspect-ratio: 4 / 5;
  }

  .gallery-text {
    padding: 48px 24px;
  }
}

/* ===== GALLERY SLIDER CARD ===== */
.gallery {
  padding: 100px 20px;
  background: #0b0b0b;
  text-align: center;
}

.gallery h2 {
  font-size: 2.6rem;
  margin-bottom: 40px;
  color: #fff;
}

.gallery-card {
  position: relative;
  max-width: 900px;
  height: 480px;
  margin: auto;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

/* SLIDES */
.gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.g-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.g-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* DOTS */
.gallery-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 3;
}

.g-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.g-dot.active {
  background: #d4af37;
  transform: scale(1.3);
  box-shadow: 0 0 10px #d4af37;
}

/* MOBILE */
@media (max-width: 768px) {
  .location {
    padding: 80px 20px;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-box iframe {
    height: 300px;
    border-radius: 20px;
  }

  .location-info h2 {
    font-size: 2rem;
  }

  .location-info p {
    max-width: 100%;
  }
}

/* ================= LOCATION (DASHBOARD STYLE) ================= */
.location {
  padding: 100px 28px;
  background: #0f1115;
}

.location-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

/* PANEL */
.location-wrapper > * {
  background: #151821;
  border: 1px solid #232633;
  border-radius: 18px;
  padding: 28px;
}

/* MAP */
.map-box iframe {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  border: none;
}

/* INFO */
.location-info {
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 12px;
}

.location-info h2 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.location-info p {
  color: #9ca3af;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 26px;
}

/* ICON INFO */
.location-info ul {
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.location-info li {
  list-style: none;
  background: #0f1115;
  border: 1px solid #232633;
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.location-info li i {
  width: 38px;
  height: 38px;
  border-radius: 12px; /* bukan bulat → lebih dashboard */
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  color: #c9a227;

  background: #0f1115;
  border: 1px solid #232633;

  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.15);
}

/* BUTTON */
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid #c9a227;
  color: #c9a227;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: 0.25s ease;
}

.map-btn:hover {
  background: #c9a227;
  color: #0f1115;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .location {
    padding: 80px 18px 120px;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .map-box iframe {
    height: 260px;
  }

  .location-info ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .map-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: calc(90px + env(safe-area-inset-bottom));
  }
}

/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  z-index: 1000;
}

.bottom-nav a {
  color: #aaa;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: #d4af37;
}

.bottom-nav a.cs {
  color: #25d366;
}

/* ================= RESPONSIVE ================= */
@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
  .hero-text h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1200px) {
  .hero-text h1 {
    font-size: 5rem;
  }
}

/* ===== FORCE HERO LOGO SIZE ===== */
.hero .hero-logo {
  width: 1000px !important;
  max-width: 80vw !important;
  margin-bottom: 30px !important;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.8))
    drop-shadow(0 0 36px rgba(212, 175, 55, 0.6)) !important;
}
