/* =============================================
   MyPreciousEyelash — Base Styles
   Dipakai di semua halaman (homepage, villa, service, dll.)
============================================= */

/* ---------- RESET & BASE ---------- */
html {
  scroll-behavior: smooth;
}

body {
  background: #F6F2EF;
  color: #2F2926;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }


/* ---------- HERO OVERLAYS ---------- */
.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(21,58,58,.94) 0%,
    rgba(42,127,127,.72) 34%,
    rgba(167,124,94,.32) 66%,
    rgba(47,41,38,.10) 100%
  );
}

.hero-mobile-overlay {
  background:
    linear-gradient(90deg, rgba(21,58,58,.88), rgba(42,127,127,.30)),
    linear-gradient(0deg, rgba(30,50,50,.90), transparent 52%);
}

/* Vertical hero overlay untuk halaman villa */
.hero-overlay-villa {
  background: linear-gradient(
    180deg,
    rgba(21,58,58,.45) 0%,
    rgba(42,127,127,.55) 40%,
    rgba(30,50,50,.92) 100%
  );
}


/* ---------- PANELS & CONTAINERS ---------- */
.soft-panel {
  background: linear-gradient(180deg, #FFFDFA, #F5EDE6);
}

.hairline {
  box-shadow: inset 0 0 0 1px rgba(92,64,50,.10);
}


/* ---------- SERVICE CARDS ---------- */
.service-card img {
  transition: transform .45s ease;
}
.service-card:hover img {
  transform: scale(1.035);
}


/* ---------- NAV LINKS ---------- */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  height: 1px;
  left: 0; right: 0; bottom: -10px;
  background: #2A7F7F;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}


/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .7s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- STEP CARDS (villa, service pages) ---------- */
.step-card {
  background: white;
  border: 1px solid #E8DDD3;
  border-radius: 16px;
  padding: 20px;
  transition: all .2s ease;
}
.step-card:hover {
  border-color: #2A7F7F;
  box-shadow: 0 8px 24px rgba(42,127,127,.10);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #2A7F7F;
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}


/* ---------- EDITORIAL TYPOGRAPHY (villa pages) ---------- */
.editorial-lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.5;
  color: #2F2926;
}
@media (min-width: 768px) {
  .editorial-lede { font-size: 26px; }
}


/* ---------- MENU ITEMS (villa menu, service menu) ---------- */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed #E8DDD3;
}
.menu-item:last-child { border-bottom: none; }


/* ---------- INSIDER TIPS (villa pages) ---------- */
.insider-tip {
  position: relative;
  padding-left: 56px;
  padding-bottom: 24px;
}
.insider-tip::before {
  content: counter(tip);
  counter-increment: tip;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #2A7F7F;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}


/* ---------- TIMELINE (The Sienna Afternoon) ---------- */
.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 24px;
  border-left: 1px solid #E8DDD3;
}
.timeline-item:last-child {
  border-left: 1px solid transparent;
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 9999px;
  background: #2A7F7F;
  border: 2px solid #FFFDFA;
}


/* ---------- FAQ ACCORDION ---------- */
details.faq {
  border-bottom: 1px solid #E8DDD3;
}
details.faq:last-child {
  border-bottom: none;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2F2926;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  font-size: 20px;
  color: #2A7F7F;
  font-weight: 300;
  transition: transform .2s ease;
}
details.faq[open] summary::after {
  content: '−';
}
details.faq p {
  padding: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #5b5b5f;
}


/* ---------- STICKY WHATSAPP BAR (mobile) ---------- */
.sticky-wa {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #E8DDD3;
}
@media (min-width: 768px) {
  .sticky-wa { padding: 16px 24px; }
}


/* ============================================
   VIDEO REELS MODAL — TikTok-style
============================================ */
#videoReelsModal {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  animation: videoFadeIn .2s ease;
}

@keyframes videoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#videoReelsModal.closing {
  animation: videoFadeOut .2s ease forwards;
}

@keyframes videoFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

#reelsVideo {
  background: #000;
  touch-action: none;
}

#videoProgressWrap {
  transition: opacity .2s ease;
}

#videoProgressWrap:hover {
  height: 3px;
}

body.video-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}