/* ==========================================================================
   RESET & VARIABLE CSS
   ========================================================================== */
:root {
  --bg-primary: #FAF7F2;
  --bg-surface: #FFFFFF;
  --bg-alt: #F3ECE1;
  --accent-gold: #8C6D46;
  --accent-gold-light: #C5A880;
  --text-main: #2C2623;
  --text-muted: #6E665E;
  --border-color: #E8DFC8;
  --danger-color: #A34848;
  --shadow-soft: 0 10px 30px rgba(44, 38, 35, 0.05);
  --shadow-hover: 0 18px 40px rgba(44, 38, 35, 0.12);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* BUTTONS & BADGES */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--text-main);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(140, 109, 70, 0.25);
}

.btn-secondary {
  background-color: rgba(250, 247, 242, 0.6);
  color: var(--text-main);
  border: 1px solid var(--text-main);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 223, 200, 0.5);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  max-width: 1300px;
  margin: 0 auto;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 210px 20px 150px;
  text-align: center;
  background-image: url('images/bg-header.jpg'); 
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(250, 247, 242, 0.85) 0%, 
    rgba(250, 247, 242, 0.72) 45%, 
    rgba(250, 247, 242, 0.96) 100%
  );
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}


.sub-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 1.6;
  color: #8C6D46;
  margin-bottom: 16px;
  display: block;
}

.sub-caption em {
  font-family: 'Bodoni Moda', serif;
  font-size: 2rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2px;
  line-height: 1.35;
  color: #2C2623;
}

@media (max-width: 480px) {
  .sub-caption {
    font-size: 1.05rem;
    letter-spacing: 0.8px;
  }

  .sub-caption em {
    font-size: 1.75rem;
  }
}
  
.hero-title {
  font-size: 4.2rem;
  margin-bottom: 24px;
  color: #2C2623;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(250, 247, 242, 0.8);
}

.hero-title em {
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 200;
  color: #8C6D46;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #3D3531;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* KATALOG KOLEKSI SECTION */
.collection-section {
  padding: 100px 0;
  background-color: var(--bg-surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 70px;
}

.product-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0 0 28px 0;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold-light);
}

.card-image {
  width: 100%;
  height: 220px;
  background-color: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background-color: #EFE9DE;
  font-style: italic;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--accent-gold);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  font-weight: 500;
  z-index: 2;
}

.card-header, .card-body {
  padding: 0 28px;
}

.card-header {
  margin-top: 24px;
}

.card-header h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.price-main {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
}

.price-main span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.package-rates {
  list-style: none;
  margin-bottom: 20px;
}

.package-rates li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.package-rates li span {
  color: var(--text-muted);
}

.package-rates li strong {
  color: var(--text-main);
  font-weight: 600;
}

.packages-note {
  font-size: 0.6rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 12px;
}

.card-note {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.additional-info {
  background-color: var(--bg-alt);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--border-color);
}

.additional-info h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.info-item h4 {
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.info-item p {
  font-size: 0.9rem;
}

/* STEPS PEMESANAN */
.steps-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent-gold-light);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 700;
}

.step-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.step-list {
  list-style: none;
}

.step-list li {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.step-list li::before {
  content: "•";
  color: var(--accent-gold);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.step-list li strong {
  color: var(--text-main);
}

/* KEBIJAKAN & DENDA */
.policy-section {
  padding: 100px 0;
  background-color: var(--bg-surface);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.policy-card {
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.policy-card.warning {
  border-top: 4px solid var(--accent-gold);
}

.policy-card.danger {
  border-top: 4px solid var(--danger-color);
}

.policy-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.policy-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--danger-color);
  margin-bottom: 16px;
}

.policy-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.damage-list {
  list-style: none;
  margin-top: 20px;
}

.damage-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.damage-list li span {
  color: var(--text-muted);
}

.damage-list li strong {
  color: var(--text-main);
}

/* ==========================================================================
   DESAIN GALERI LENGKUNG 3D (3D CURVED AUTOMATIC SCROLL GALERI)
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.curved-gallery-wrapper {
  width: 100%;
  padding: 40px 0 60px;
  perspective: 1000px; /* Memberikan efek kedalaman 3D */
  overflow: hidden;
  position: relative;
}

/* Fade Overlay Kiri & Kanan */
.curved-gallery-wrapper::before,
.curved-gallery-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.curved-gallery-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(250, 247, 242, 0) 100%);
}

.curved-gallery-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary) 0%, rgba(250, 247, 242, 0) 100%);
}

.curved-gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.gallery-item {
  width: 220px;
  height: 300px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(44, 38, 35, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  background-color: var(--bg-alt);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background-color: #EFE9DE;
  font-style: italic;
  border-radius: 16px;
}

.gallery-item:hover {
  transform: translateY(-12px) scale(1.08) !important;
  z-index: 20;
  box-shadow: 0 20px 40px rgba(140, 109, 70, 0.25);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* TESTIMONIAL CAROUSEL */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
  overflow: hidden;
}

.testimonial-slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
  min-width: 100%;
  background-color: var(--bg-surface);
  padding: 48px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.6;
}

.author strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

.author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-arrow {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-main);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background-color: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--accent-gold);
  width: 24px;
  border-radius: 10px;
}

/* FOOTER */
.footer {
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 80px 0 30px;
}

.footer-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 70px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(232, 223, 200, 0.15);
}

.footer-cta h2 {
  font-size: 2.8rem;
  color: var(--bg-primary);
  margin-bottom: 16px;
}

.footer-cta p {
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 32px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info h3 {
  font-size: 1.8rem;
  color: var(--accent-gold-light);
  margin-bottom: 12px;
}

.footer-info p, 
.footer-locations p {
  color: rgba(250, 247, 242, 0.7);
  font-size: 0.9rem;
}

.footer-locations h4, 
.footer-social h4 {
  font-size: 1.1rem;
  color: var(--bg-primary);
  margin-bottom: 12px;
}

.footer-social a {
  color: var(--accent-gold-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: #FFFFFF;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.4);
  padding-top: 30px;
  border-top: 1px solid rgba(232, 223, 200, 0.1);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    box-shadow: var(--shadow-soft);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .additional-info {
    padding: 24px;
  }

  .gallery-item {
    width: 160px;
    height: 220px;
  }

  .testimonial-card {
    padding: 28px;
  }

  .quote {
    font-size: 1.15rem;
  }
}