/* ==============================
   LENTERA ART BALI - STYLE
   ============================== */

:root {
  --bg: #F8F4EE;
  --dark: #2C241D;
  --gold: #B68D40;
  --accent: #7C5C3B;
  --white: #ffffff;
  --text: #5A524A;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
}

p {
  line-height: 1.8;
}

/* =========================
   CONTAINER
========================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   FADE IN ANIMATION
========================= */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(248, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  transition: padding 0.3s ease;
}

.header.scrolled .container {
  padding: 12px 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

/* =========================
   RESPONSIVE 768px
========================= */

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .masonry {
    column-count: 2;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .cta-content h2 {
    font-size: 1.9rem;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-item {
    padding: 25px 20px;
  }

  /* NAVBAR MOBILE */
.navbar {
  width: 200px;
  right: 10px;
  border-radius: 12px;
  top: calc(100% + 5px);
}

}

/* =========================
   RESPONSIVE 480px
========================= */

@media (max-width: 480px) {

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
  }

  .btn-gold,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .masonry {
    column-count: 1;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .carousel-slide {
    min-width: 220px;
  }

}

/* MOBILE MENU BUTTON */

/* MENU BUTTON - 3 GARIS */
.menu-btn {
  display: block;
  cursor: pointer;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--gold);
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animasi X saat aktif */
.menu-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* NAVBAR DROPDOWN */
.navbar {
  display: block;
  position: absolute;
  top: 100%;
  right: 20px;
  width: 200px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(182,141,64,0.15);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  pointer-events: none;
}

.navbar.active {
  max-height: 400px;
  opacity: 1;
  pointer-events: all;
}

.navbar ul {
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}

.navbar a {
  display: block;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--dark);
  transition: background 0.2s, color 0.2s;
}

.navbar a:hover {
  background: rgba(182,141,64,0.08);
  color: var(--gold);
}

.navbar a::after {
  display: none;
}

/* =========================
   HERO
========================= */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 36, 29, 0.3), rgba(0, 0, 0, 0.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 35px;
  opacity: 0.88;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO BUTTONS */

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.btn-gold {
  background: var(--gold);
  color: white;
  padding: 13px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.btn-gold:hover {
  transform: translateY(-3px);
  background: #a07830;
  box-shadow: 0 8px 20px rgba(182, 141, 64, 0.35);
}

.btn-outline {
  border: 1.5px solid white;
  color: white;
  padding: 13px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: white;
  color: var(--dark);
}

/* =========================
   SECTION TITLE
========================= */

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
}

.section-title h2 {
  font-size: 2.4rem;
  margin-top: 10px;
  line-height: 1.3;
}

/* =========================
   ABOUT
========================= */

.about {
  padding: 110px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-content span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
}

.about-content h2 {
  font-size: 2.4rem;
  margin: 15px 0 20px;
  line-height: 1.3;
}

.about-content p {
  margin-bottom: 15px;
  color: var(--text);
}

/* =========================
   COLLECTION
========================= */

.collection {
  padding: 110px 0;
  background: #f2ede5;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.collection-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: white;
  padding: 25px 20px 20px;
}

.card-content h3 {
  color: white;
  font-size: 1.1rem;
}

/* =========================
   PROJECTS - CAROUSEL
========================= */

.projects {
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 10px;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 10px 20px 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 320px;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #e8e0d5;
}

.carousel-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

.carousel-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

@media (max-width: 768px) {
  .carousel-slide {
    min-width: 260px;
  }
  .carousel-slide img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    min-width: 220px;
  }
}

/* =========================
   PENGRAJIN - ALBUM
========================= */

.pengrajin {
  padding: 110px 0;
  background: #f2ede5;
}

.album {
  margin-bottom: 50px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.album-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.album-header i {
  font-size: 1.4rem;
  color: var(--gold);
}

.album-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
}

.album-header span {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.7;
}

.album-track-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  z-index: 1;
}

.album-track {
  display: flex;
  gap: 12px;
  padding: 0 20px;
  transition: transform 0.4s ease;
}

.album-slide {
  min-width: 200px;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.album-slide:hover {
  transform: scale(1.03);
}

.album-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99 !important;
  pointer-events: all !important;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--gold);
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.album-btn:hover {
  background: var(--gold);
  color: white;
}

.album-btn.prev { left: 8px; }
.album-btn.next { right: 8px; }

@media (max-width: 480px) {
  .album-slide {
    min-width: 160px;
    height: 130px;
  }
}

/* =========================
   STATS
========================= */

.stats {
  padding: 90px 0;
  background: var(--dark);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box {
  padding: 20px;
}

.stat-box h3 {
  font-size: 2.8rem;
  color: var(--gold);
}

.stat-box p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 8px;
}

/* =========================
   TESTIMONIAL
========================= */

.testimonial {
  padding: 110px 0;
  text-align: center;
  background: #f2ede5;
}

.testimonial-slider {
  position: relative;
  max-width: 650px;
  margin: 0 auto 30px;
  min-height: 180px;
}

.testimonial-item {
  display: none;
  padding: 35px 40px;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: fadeSlide 0.5s ease;
}

.testimonial-item.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-item .stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.testimonial-item p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.8;
}

.testimonial-item h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

/* SLIDER DOTS */

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* =========================
   CTA
========================= */

.cta {
  position: relative;
  padding: 130px 20px;
  text-align: center;
  color: white;
  background: url('images/cta.jpg') center / cover no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  opacity: 0.88;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

/* =========================
   CONTACT
========================= */

.contact {
  padding: 90px 0;
  text-align: center;
}

.contact-box {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  max-width: 250px;
  text-align: left;
}

.contact-item i {
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item:hover {
  color: var(--gold);
}

/* =========================
   FOOTER
========================= */

footer {
  background: #1a1510;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 45px 20px;
  line-height: 2;
}

footer h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

/* =========================
   FLOATING WHATSAPP
========================= */

.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse-wa 2.5s infinite;
}

.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* =========================
   SCROLL TOP
========================= */

#scrollTop {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: none;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(182, 141, 64, 0.4);
  transition: transform 0.3s, background 0.3s;
}

#scrollTop:hover {
  transform: translateY(-3px);
  background: #a07830;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .masonry {
    column-count: 2;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .cta-content h2 {
    font-size: 1.9rem;
  }

  /* MOBILE NAVBAR */

  .navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(248, 244, 238, 0.97);
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .menu-btn {
    display: block;
  }

  .testimonial-item {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {

  .masonry {
    column-count: 1;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* ACTIVE NAV LINK */
.navbar a.active-link {
  color: var(--gold);
}

.navbar a.active-link::after {
  width: 100%;
}