/* =========================================================
   KOI88 — Stylesheet Utama
   Tema: Air Kolam Koi (Kohaku Premium)
   ========================================================= */

:root {
  --deep-water: #0b2733;
  --teal: #41678d;
  --sand: #E8DFC8;
  --sand-light: #F4EFE2;
  --kohaku-red: #d6a62c;
  --koi-gold: #F4A623;
  --ink: #122023;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius: 6px;
  --max-width: 1180px;
  --shadow-soft: 0 8px 30px rgba(11, 46, 51, 0.12);
  --shadow-strong: 0 16px 50px rgba(11, 46, 51, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-light);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--deep-water);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { color: #3A4A4D; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kohaku-red);
  display: inline-block;
  margin-bottom: 12px;
}

/* === Tombol === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--kohaku-red);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: #dead0f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--deep-water);
  border: 1.5px solid var(--deep-water);
}
.btn-outline:hover {
  background: var(--deep-water);
  color: var(--white);
}

.btn-light {
  background: var(--sand);
  color: var(--deep-water);
}
.btn-light:hover { background: var(--white); }

.btn-wa {
  background: #25D366;
  color: var(--white);
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(78, 165, 194, 0.45);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 46, 51, 0.08);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('images/naga-emas.gif');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-water);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}
.logo img { height: 38px; width: auto; display: block; }
.logo span { color: var(--kohaku-red); }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--kohaku-red);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--deep-water);
  border-radius: 2px;
}

/* =========================================================
   HERO — efek riak air
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--deep-water) 0%, var(--teal) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 90px;
}

.hero-ripples {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}

.hero-ripples svg {
  width: 100%;
  height: 100%;
}

.ripple-path {
  fill: none;
  stroke: rgba(244, 239, 226, 0.4);
  stroke-width: 1.2;
  animation: ripple-drift 18s ease-in-out infinite;
}
.ripple-path:nth-child(2) { animation-delay: -4s; opacity: 0.7; }
.ripple-path:nth-child(3) { animation-delay: -9s; opacity: 0.5; }

@keyframes ripple-drift {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-14px) scaleX(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .ripple-path { animation: none; }
}

.hero-dragons {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-dragon {
  position: absolute;
  top: 50%;
  width: 70vw;
  max-width: 900px;
  opacity: 0.5;
}

.hero-dragon-left {
  left: 0;
  transform: translate(-120%, -50%);
  animation: dragon-enter-left 2.2s ease-out forwards;
}

.hero-dragon-right {
  right: 0;
  transform: translate(120%, -50%) scaleX(-1);
  animation: dragon-enter-right 2.2s ease-out forwards;
}

@keyframes dragon-enter-left {
  to { transform: translate(-25%, -50%); }
}

@keyframes dragon-enter-right {
  to { transform: translate(25%, -50%) scaleX(-1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dragon-left, .hero-dragon-right { animation: none; transform: translate(-25%, -50%); }
  .hero-dragon-right { transform: translate(25%, -50%) scaleX(-1); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content .eyebrow { color: var(--koi-gold); }

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--koi-gold);
}

.hero-desc {
  color: rgba(244, 239, 226, 0.85);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--koi-gold);
}
.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(244, 239, 226, 0.7);
}

.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 1/1;
  max-width: 700px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,46,51,0.5) 100%);
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--sand);
  padding: 22px 0;
  border-bottom: 1px solid rgba(11,46,51,0.06);
}
.trust-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--deep-water);
}
.trust-item .icon-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--kohaku-red);
  flex-shrink: 0;
}

/* =========================================================
   SECTION GENERIK
   ========================================================= */
.section { padding: 90px 0; }
.section-sand { background: var(--sand); }
.section-deep { background: var(--deep-water); color: var(--sand-light); }
.section-deep h2, .section-deep h3 { color: var(--white); }
.section-deep p { color: rgba(244,239,226,0.75); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* === Kartu Kategori === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.category-card:hover { transform: translateY(-6px); }
.category-card img { width: 100%; height: 100%; object-fit: cover; }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,46,51,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}
.category-card-overlay h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
.category-card-overlay span { color: var(--koi-gold); font-size: 0.85rem; font-weight: 600; }

/* === Keunggulan / Fitur === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-item .feature-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--koi-gold);
  border: 1.5px solid rgba(244,166,35,0.4);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-item h3 { margin-bottom: 10px; }

/* === Layanan Kolam === */
.service-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.service-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
.service-visual img { width: 100%; height: 100%; object-fit: cover; }
.service-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.service-list-item { display: flex; gap: 14px; align-items: flex-start; }
.service-list-item .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--kohaku-red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* === Testimoni === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.testimonial-stars { color: var(--koi-gold); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--ink); font-size: 0.97rem; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--deep-water); }
.testimonial-author span { font-size: 0.8rem; color: #6b7a7c; }

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--kohaku-red), #dead0f);
  border-radius: 20px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--deep-water);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question .plus {
  font-size: 1.3rem;
  color: var(--kohaku-red);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 26px;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 22px; }
.faq-answer p { font-size: 0.93rem; }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb {
  padding: 18px 0;
  font-size: 0.85rem;
  background: var(--sand);
  border-bottom: 1px solid rgba(11,46,51,0.06);
}
.breadcrumb a { color: var(--teal); font-weight: 500; }
.breadcrumb span { color: #6b7a7c; }

/* === Page Header (untuk halaman selain home) === */
.page-header {
  background: linear-gradient(160deg, var(--deep-water) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(244,239,226,0.8); max-width: 560px; margin: 0 auto; }

/* === Filter Produk === */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 18px;
}
.filter-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tag {
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(11,46,51,0.15);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--deep-water);
  color: var(--white);
  border-color: var(--deep-water);
}
.sort-select {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(11,46,51,0.15);
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: var(--white);
}

/* === Tentang — Timeline === */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.timeline { margin-top: 30px; display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  position: relative;
  padding: 0 0 32px 28px;
  border-left: 2px solid rgba(11,46,51,0.12);
}
.timeline-item:last-child { border-left: 2px solid transparent; padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px; top: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--kohaku-red);
}
.timeline-item .year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
  font-size: 0.95rem;
}
.timeline-item h4 { margin: 4px 0 6px; font-size: 1.05rem; }
.timeline-item p { font-size: 0.92rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 14px; margin-bottom: 16px;
}
.team-card h4 { font-size: 1rem; margin-bottom: 2px; }
.team-card span { font-size: 0.85rem; color: var(--kohaku-red); font-weight: 600; }

/* === Kontak === */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--deep-water);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail .label { font-size: 0.8rem; color: var(--koi-gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.contact-detail p, .contact-detail a { color: rgba(244,239,226,0.85); font-size: 0.95rem; }
.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(244,239,226,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}
.social-row a:hover { background: var(--kohaku-red); }

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--deep-water); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(11,46,51,0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--sand-light);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--kohaku-red);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 50px;
  box-shadow: var(--shadow-soft);
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--deep-water);
  color: rgba(244,239,226,0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(244,239,226,0.12);
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo img { height: 34px; }
.footer-brand .logo span { color: var(--koi-gold); }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--koi-gold); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .service-split { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 80px 0 60px; }
  .category-grid, .product-grid, .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-banner { padding: 40px 28px; text-align: center; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .category-grid, .product-grid, .team-grid { grid-template-columns: 1fr; }
}

/* === Mobile nav drawer === */
.nav-links.mobile-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--sand-light);
  flex-direction: column;
  padding: 24px;
  gap: 20px;
  box-shadow: var(--shadow-soft);
}

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