/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: linear-gradient(#fff8f8, #ffe6e6);
}

/* ===== NAVBAR (MENU UTAMA) ===== */
.navbar,
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #690108;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ===== HEADER INNER ===== */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  font-weight: 600;
  font-size: 18px;
  color: #5a0c0c;
  text-decoration: none;
}

/* ===== NAVIGATION LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  padding-bottom: 4px;
}

/* Hover Effect */
.nav-links a:hover {
  color: #ffffff;
}

/* Garis bawah efek hover */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== HALAMAN AKTIF ===== */
.nav-links a.active {
  font-weight: 700;
  color: #ffffff;
}

/* Garis bawah untuk link aktif (lebih kuat dari hover) */
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff; /* Warna putih */
}
.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto; /* ⬅️ dorong menu ke kanan */
  gap: 20px;
}
/* ===== HAMBURGER MENU (MOBILE) ===== */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
.menu-icon {
  display: none;       /* hamburger hilang di desktop */
  cursor: pointer;
  font-size: 28px;
  user-select: none;

}

.desktop-only {
  display: block;
}

/* Mobile Only */
.logout-mobile {
  display: none;
}

/* ABOUT */
.about {
  background: linear-gradient( #FCF1DB, #690108);
  display: flex;
  flex-wrap: wrap;
  padding: 50px;
  align-items: center;
  gap: 20px;
}

/* TEKS */
.about-text {
  flex: 1;
  min-width: 300px;
  /* ⚠️ HAPUS margin-left negatif agar teks tidak keluar layout */
  margin-left: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #2b2b2b;
  font-family: "Poppins", sans-serif;
  line-height: 1.8;
}

.about-text h2 {
  font-family: "Dancing Script", cursive;
  font-size: 46px;
  font-weight: 700;
  color: #690108;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 18px;
  color: #ffffff;
  text-align: justify;
  margin-bottom: 12px;
  max-width: 600px;
  z-index: 1;
}

/* MAP */
.book-map {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.book-map h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  margin-bottom: 15px;
  color: #690108;
}

.book-map iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 10px;
  margin-bottom: 10px;
}

.book-map .address {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  color: #FCF1DB;
}

/* FOOTER */
 footer {
  background: linear-gradient(to bottom, #6d1a1d, #4d2226);
  color: #fff;
  padding: 60px 10%;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-content div {
  flex: 1;
  min-width: 250px;
}

.footer-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffdada;
}

.footer-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 5px 0;
}

/* ===== Ikon Sosial Media ===== */
.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  color: #6d1a1d;
  font-size: 22px;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Hover efek */
.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

/* Warna khusus masing-masing ikon */
.social-icons .whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.social-icons .instagram:hover {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  color: #fff;
}

.footer-bottom {
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  color: #f5f5f5;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 6px 0px #4d2226;
}
/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #5a0c0c;
    position: absolute;
    top: 60px;
    right: 0;
    width: 180px;
    padding: 10px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .about-container {
    flex-direction: column;
  }

  .about-text {
    text-align: center;
  }

  footer {
    text-align: center;
  }
  /* Sembunyikan menu awalnya */
  .nav-links {
    position: absolute;
    top: 80px;
    right: 20px;
    background: #5a0c0c;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    border-radius: 12px;
    display: none;  /* hidden default */
  }

  .nav-links a {
    padding: 10px 0;
    color: #fff;
    text-align: right;
  }

  /* Saat menu buka */
  .nav-links.active {
    display: flex;
  }

   .desktop-only {
    display: none;
  }
  
  .logout-mobile {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #ffdede !important;
    font-weight: bold;
  }

  .logout-mobile svg {
    width: 20px;
    height: 20px;
  }
}



/* =======================================
   🔥 ABOUT — ANIMATION 
======================================= */
/* ============================================
   PREMIUM LEVEL 5 — FULL ABOUT ANIMATION
   Floating • Shimmer • Glow • Particles
============================================ */

/* SECTION ABOUT */
.about {
    width: 100%;
    padding: 70px 25px;
    background: linear-gradient(135deg, #FFF7EB 0%, #FFE3C2 100%);
    position: relative;
    overflow: hidden;

    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(4px);
    animation: aboutEnterLV5 1s ease-out forwards;
}

/* main reveal */
@keyframes aboutEnterLV5 {
    0%   { opacity: 0; transform: translateY(40px) scale(0.97); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}


/* ============================================
   FLOATING GOLD PARTICLE EFFECT
============================================ */
.about::before,
.about::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    background: radial-gradient(circle, rgba(255,198,120,0.45) 0%, transparent 70%);
    filter: blur(45px);
    z-index: 0;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.about::before { top: -80px; left: -70px; }
.about::after { bottom: -80px; right: -70px; animation-delay: 2.5s; }

@keyframes floatOrb {
    0%   { transform: translate(0,0); opacity: 0.7; }
    100% { transform: translate(40px,40px); opacity: 1; }
}


/* ============================================
   ABOUT CONTENT CONTAINER
============================================ */
.about-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    padding: 55px 45px;

    background: rgba(255,255,255,0.58);
    backdrop-filter: blur(20px);
    border-radius: 28px;

    box-shadow: 0 10px 28px rgba(0,0,0,0.13);
    border: 1.5px solid rgba(255,185,90,0.55);

    opacity: 0;
    transform: translateY(25px) scale(0.97);
    animation: containerRevealLV5 1.2s ease forwards 0.4s;
}

@keyframes containerRevealLV5 {
    0%   { opacity: 0; transform: translateY(25px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}


/* SHINY BORDER LOOP */
.about-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 2px solid rgba(255,210,140,0.6);
    pointer-events: none;

    animation: goldGlowLoop 3.6s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes goldGlowLoop {
    0%,100% { opacity: 0.3; box-shadow: 0 0 8px rgba(255,195,110,0.7); }
    50%     { opacity: 0.75; box-shadow: 0 0 18px rgba(255,195,110,1); }
}


/* ============================================
   TITLE — FULL ULTRA ANIMATION
============================================ */
.about h2 {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    color: #2b1a0a;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;

    opacity: 0;
    transform: translateY(20px);
    animation: titleDropLV5 0.9s cubic-bezier(0.25,1,.3,1) forwards 0.8s;
}

@keyframes titleDropLV5 {
    0%   { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* GARIS SHOOT + SHIMMER + NEON PULSE */
.about h2::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 4px;
    border-radius: 20px;

    background: linear-gradient(90deg,
        rgba(255,200,120,0) 0%,
        #ffc679 50%,
        rgba(255,200,120,0) 100%
    );

    box-shadow: 0 0 16px rgba(255,180,90,0.95);

    animation: lineShootLV5 0.7s ease forwards 1.1s,
               neonPulseLV5 2.2s ease-in-out infinite 2s;
}

@keyframes lineShootLV5 {
    0% { width: 0; opacity: 0; }
    40% { opacity: 1; }
    100% { width: 145px; opacity: 1; }
}

@keyframes neonPulseLV5 {
    0%,100% { box-shadow: 0 0 12px rgba(255,200,120,0.4); }
    50%     { box-shadow: 0 0 22px rgba(255,200,120,0.9); }
}

/* shimmer line */
.about h2::before {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 145px;
    height: 4px;
    border-radius: 20px;

    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,250,240,1) 40%,
        transparent 80%
    );

    background-size: 200%;
    opacity: 0;

    animation: shimmerRunLV5 2.5s linear infinite 2s;
}

@keyframes shimmerRunLV5 {
    0% { opacity: 0; background-position: 200% 0; }
    15% { opacity: 1; }
    100% { opacity: 0; background-position: -200% 0; }
}


/* ============================================
   PARAGRAPH ANIMATION
============================================ */
.about p {
    color: #4b3b28;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;

    opacity: 0;
    transform: translateY(20px);
    animation: paragraphFadeLV5 1s ease forwards 1.3s;
}

@keyframes paragraphFadeLV5 {
    0%   { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =======================
   LOGOUT ANIMATION
   ======================= */
.logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 99999;
}

.logout-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.logout-box {
    background: #fff3e6;
    padding: 35px 55px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-align: center;
    animation: pop .4s ease;
}

.logout-box p {
    margin-top: 15px;
    font-size: 20px;
    color: #7B0C14;
    font-weight: bold;
}

/* Spinner */
.logout-spinner {
    width: 45px;
    height: 45px;
    border: 5px solid #f3d9bf;
    border-top-color: #7B0C14;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pop {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

