/* =========================================================
   TEMAN RIHLAH — Landing Page Styles
   ========================================================= */

:root{
  /* Biru cerah sebagai warna utama (bukan gelap), lembut & ramah untuk dibaca */
  --blue: #3E5FE3;
  --blue-2: #2C48C4;
  --blue-deep: #23399E;
  --blue-soft: #EEF3FF;
  --blue-soft-2: #E1EAFE;

  /* Aksen hangat */
  --orange: #FF7A29;
  --orange-light: #FFB27A;
  --green: #2E8B6B;

  /* Netral terang */
  --cream: #FCFBF8;
  --white: #FFFFFF;
  --ink: #1E2A44;
  --muted: #5B6478;
  --muted-light: #7C89A3;

  /* dipertahankan agar kompatibel, kini memakai nuansa biru bukan navy gelap */
  --navy: #1E2A44;
  --navy-2: var(--blue-soft);
  --gold: var(--orange);
  --gold-light: var(--orange-light);

  --serif: "Fraunces", "Georgia", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

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

html{
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body{
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

::selection{ background: var(--gold-light); color: var(--navy); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* =========== Typography =========== */
h1, h2, h3, h4, h5{
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--navy);
}

.eyebrow-text{
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-head{
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head h2{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-top: 10px;
}
.section-head p{
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 14px;
  max-width: 55ch;
}
.section-head.on-dark h2{ color: var(--white); }
.section-head.on-dark p{ color: var(--muted-light); }
.section-head.on-dark .eyebrow-text{ color: var(--gold-light); }

section{ padding: 92px 0; }

/* =========== Buttons =========== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  font-family: var(--sans);
}
.btn:hover{ transform: translateY(-2px); }

.btn-gold{
  background: linear-gradient(135deg, #EAF1FF, #CFDFFF);
  color: var(--blue-deep);
  box-shadow: 0 10px 24px rgba(44,72,196,0.28);
}
.btn-gold:hover{ background: var(--white); }

.btn-outline-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover{ border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-outline-dark{
  background: transparent;
  color: var(--blue-deep);
  border-color: rgba(30,42,68,0.2);
}
.btn-outline-dark:hover{ border-color: var(--blue-deep); background: var(--blue-soft); }

.btn-sm{ padding: 11px 20px; font-size: 0.88rem; }

/* =========== Navbar =========== */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44, 72, 196, 0.0);
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled{
  background: rgba(44, 72, 196, 0.96);
  backdrop-filter: blur(8px);
  padding: 13px 0;
  box-shadow: 0 8px 20px rgba(44,72,196,0.22);
}
.navbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}
.brand-mark{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 700;
  font-family: var(--sans);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a{
  color: rgba(255,255,255,0.82);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover{ color: var(--white); }
.nav-links a:hover::after{ width: 100%; }

.nav-cta{ display: flex; align-items: center; gap: 14px; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px; height: 26px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-11px) rotate(-45deg); }

/* =========== Hero =========== */
.hero{
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 55%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 160px 0 150px;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M23 6l17 17-17 17L6 23z' fill='none' stroke='%23FFFFFF' stroke-opacity='0.16' stroke-width='1.2'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-wave{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-wave svg{ width: 100%; height: 90px; display: block; }
.hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .eyebrow-text{ color: var(--gold-light); }
.hero-copy h1{
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-top: 16px;
  letter-spacing: -0.01em;
}
.hero-copy h1 .accent{ color: var(--orange-light); }
.hero-copy p{
  color: rgba(255,255,255,0.88);
  font-size: 1.18rem;
  max-width: 46ch;
  margin-top: 20px;
}
.hero-copy p strong{ color: var(--white); }
.hero-actions{
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-trust{
  display: flex;
  gap: 28px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-trust div{ opacity: 0; animation: rise 0.7s ease forwards; }
.hero-trust div:nth-child(1){ animation-delay: 0.55s; }
.hero-trust div:nth-child(2){ animation-delay: 0.68s; }
.hero-trust div:nth-child(3){ animation-delay: 0.81s; }
.hero-trust strong{
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-light);
}
.hero-trust span{
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.hero-visual{
  position: relative;
  opacity: 0;
  animation: rise 0.9s ease 0.3s forwards;
}
.hero-photo{
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-photo img{ width: 100%; height: 420px; object-fit: cover; }
.hero-float-card{
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--white);
  color: var(--navy);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.hero-float-card .icon-badge{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-float-card strong{ display: block; font-size: 0.92rem; }
.hero-float-card span{ font-size: 0.78rem; color: var(--muted); }

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

/* =========== About =========== */
.about{
  background: var(--cream);
}
.about-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-photo{
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.about-photo img{ width: 100%; height: 460px; object-fit: cover; }
.about-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 60px -20px rgba(15,27,46,0.35);
}
.about-copy p{
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 18px;
  max-width: 58ch;
}
.about-copy h2{
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-top: 10px;
}
.feature-list{
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
.feature-list li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px solid rgba(15,27,46,0.1);
}
.feature-list li svg{ flex-shrink: 0; margin-top: 2px; color: var(--green); }

/* =========== Services =========== */
.services{ background: var(--blue-soft); color: var(--ink); }
.service-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(30,42,68,0.12);
}
.service-item{
  padding: 34px 26px 34px 0;
  border-right: 1px solid rgba(30,42,68,0.12);
  padding-left: 26px;
}
.service-item:first-child{ padding-left: 0; }
.service-item:last-child{ border-right: none; }
.service-num{
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--blue);
  font-weight: 600;
}
.service-item h3{
  color: var(--ink);
  font-size: 1.2rem;
  margin-top: 14px;
}
.service-item p{
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* =========== Packages =========== */
.packages{ background: var(--cream); }
.pkg-tabs{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.pkg-tab{
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(15,27,46,0.18);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pkg-tab:hover{ border-color: var(--navy); color: var(--navy); }
.pkg-tab.active{
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.pkg-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pkg-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(15,27,46,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: none;
  flex-direction: column;
}
.pkg-card.show{ display: flex; }
.pkg-card:hover{ transform: translateY(-6px); box-shadow: 0 22px 40px rgba(15,27,46,0.12); }
.pkg-thumb{ position: relative; height: 190px; overflow: hidden; }
.pkg-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.pkg-badge{
  position: absolute;
  top: 14px; left: 14px;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.pkg-body{ padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3{ font-size: 1.15rem; }
.pkg-body p{ color: var(--muted); font-size: 0.9rem; margin-top: 10px; flex: 1; }
.pkg-price-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(15,27,46,0.15);
}
.pkg-price{ font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.pkg-price span{ display: block; font-family: var(--sans); font-size: 0.72rem; color: var(--muted); font-weight: 500; }

/* =========== Products =========== */
.products{ background: var(--cream); color: var(--ink); }
.product-scroll{
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  margin: 0 -28px;
  padding-left: 28px;
  padding-right: 28px;
}
.product-scroll::-webkit-scrollbar{ height: 6px; }
.product-scroll::-webkit-scrollbar-thumb{ background: rgba(30,42,68,0.2); border-radius: 4px; }
.product-card{
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid rgba(30,42,68,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(30,42,68,0.06);
}
.product-thumb{ height: 170px; background: var(--blue-soft); }
.product-thumb img{ width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-info{ padding: 16px 18px 20px; }
.product-info h4{ font-family: var(--sans); font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.product-info .price{ color: var(--orange); font-weight: 700; margin-top: 8px; font-size: 0.98rem; }
.product-info a{
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--blue);
  border-bottom: 1px solid rgba(62,95,227,0.3);
}
.product-info a:hover{ color: var(--blue-deep); border-color: var(--blue-deep); }

/* =========== Testimonials =========== */
.testimonials{ background: var(--cream); }
.testi-wrap{ position: relative; max-width: 760px; margin: 0 auto; }
.testi-track{
  overflow: hidden;
}
.testi-slides{
  display: flex;
  transition: transform 0.5s cubic-bezier(.65,0,.35,1);
}
.testi-slide{ flex: 0 0 100%; padding: 8px; }
.testi-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 44px;
  text-align: center;
  border: 1px solid rgba(15,27,46,0.08);
}
.testi-quote-mark{ font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.testi-card p{ font-size: 1.08rem; color: var(--ink); margin-top: 6px; }
.testi-card h4{ font-size: 0.98rem; margin-top: 22px; }
.testi-card span{ font-size: 0.82rem; color: var(--muted); }
.testi-controls{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.testi-arrow{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15,27,46,0.2);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}
.testi-arrow:hover{ background: var(--navy); color: var(--white); }
.testi-dots{ display: flex; gap: 8px; }
.testi-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(15,27,46,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testi-dot.active{ background: var(--gold); transform: scale(1.3); }

/* =========== Gallery ============ */
.gallery{ background: var(--white); }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.gallery-grid img{
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.gallery-grid img:hover{ transform: scale(1.03); filter: brightness(1.05); }
.gallery-grid .tall{ grid-row: span 2; }

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(15,27,46,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close{
  position: absolute;
  top: 26px; right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* =========== CTA banner =========== */
.cta-banner{
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2{
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner p{
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 18px auto 34px;
  font-size: 1.1rem;
}
.cta-buttons{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========== Footer =========== */
footer{ background: var(--navy); color: rgba(255,255,255,0.72); padding: 70px 0 26px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h5{
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer-brand .brand{ margin-bottom: 14px; }
.footer-brand p{ font-size: 0.9rem; max-width: 32ch; }
.footer-links{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a{ font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover{ color: var(--gold-light); }
.footer-social{ display: flex; gap: 10px; margin-top: 4px; }
.footer-social a{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover{ border-color: var(--gold-light); color: var(--gold-light); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========== Responsive =========== */
@media (max-width: 960px){
  .hero-grid, .about-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .hero-photo img{ height: 300px; }
  .service-row{ grid-template-columns: 1fr 1fr; }
  .service-item{ border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 28px; padding-top: 28px; }
  .pkg-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .nav-links, .nav-cta .btn-outline-light{ display: none; }
  .nav-toggle{ display: flex; }
  .navbar.mobile-open .nav-links{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 20px 28px 26px;
    gap: 18px;
  }
  section{ padding: 64px 0; }
  .hero{ padding: 130px 0 80px; }
  .feature-list{ grid-template-columns: 1fr; }
  .service-row{ grid-template-columns: 1fr; }
  .service-item{ border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 24px 0 !important; }
  .pkg-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero-float-card{ position: static; margin-top: 18px; max-width: 100%; }
  .about-photo{ order: -1; }
}