:root {
  --red: #E63947;
  --red-dark: #C42733;
  --red-soft: #F1616C;
  --bg: #F5F5F5;
  --white: #FFFFFF;
  --ink: #26201F;
  --ink-soft: #6b5f5d;
  --border: rgba(38, 32, 31, 0.12);
  --radius: 14px;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
}

p {
  line-height: 1.7;
  margin: 0;
}

/* =========================================
   Placeholder Image
   ========================================= */
.placeholder-img {
  position: relative;
  width: 100%;
  background: repeating-linear-gradient(135deg,
      #e7e2df,
      #e7e2df 10px,
      #ded8d5 10px,
      #ded8d5 20px);
  border: 1.5px dashed #b9aeab;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #7a6f6c;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 16px;
  min-height: 160px;
  overflow: hidden;
}

.placeholder-img.has-photo {
  border: none !important;
  padding: 0 !important;
  background: none !important;
}

.placeholder-img.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
}

/* =========================================
   Video Frame
   ========================================= */
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   Google Maps
   ========================================= */
.map-embed-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.map-embed-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: underline;
}

.map-link:hover {
  opacity: 0.85;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 0 48px;
  position: relative;
  gap: 56px;
}

/* Nav links desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop.nav-right {
  justify-content: flex-end;
}

.nav-desktop a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 0.3px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  border-bottom-color: var(--red);
}

/* Logo - tengah */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--red);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  justify-self: center;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* Mobile nav - hidden on desktop */
.nav-mobile {
  display: none;
}

/* Red theme navbar (e.g. kemitraan page, tentang-kami) */
.navbar.red-theme {
  background: var(--red);
  border-color: transparent;
}

.navbar.red-theme .nav-desktop a,
.navbar.red-theme .logo {
  color: #fff;
}

.navbar.red-theme .nav-desktop a:hover,
.navbar.red-theme .nav-desktop a.active {
  border-bottom-color: #fff;
}

.navbar.red-theme .nav-toggle span {
  background: #fff;
}

.navbar.red-theme .nav-mobile.open {
  background: var(--red);
}

.navbar.red-theme .nav-mobile.open a {
  color: #fff !important;
}

.navbar.red-theme .nav-mobile.open a:hover,
.navbar.red-theme .nav-mobile.open a.active {
  border-bottom-color: #fff;
}

/* =========================================
   HAMBURGER TOGGLE
   ========================================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  pointer-events: auto;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
  transition: 0.25s ease;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 34px;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-solid-white {
  background: var(--white);
  color: var(--red);
}

.btn-solid-white:hover {
  background: var(--ink);
  color: var(--white);
}

/* =========================================
   SECTION HELPERS
   ========================================= */

.section {
  padding: 130px 0;
}

.section-red {
  background: var(--red);
  color: var(--white);
}

.section-bg {
  background: var(--bg);
}

.section-white {
  background: var(--white);
}

.eyebrow-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 48px;
}

.section-red .eyebrow-title {
  color: var(--white);
}

.section-bg .eyebrow-title,
.section-white .eyebrow-title {
  color: var(--red);
}

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.numbered-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  min-width: 68px;
  border: 3px solid currentColor;
  border-radius: 12px;
  text-align: center;
  padding: 4px 0;
  line-height: 1;
}

.numbered-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.numbered-item p {
  max-width: 560px;
  opacity: 0.92;
  font-size: 0.96rem;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  position: relative;
  background: var(--bg);
  padding: 70px 0 26px;
  overflow: hidden;
}

/* Footer tema merah - dipakai di halaman Tentang Kami */
.site-footer.red-theme {
  background: var(--red);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-grid h4 {
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 4px;
  display: block;
}

/* Footer red-theme — semua teks putih */
.site-footer.red-theme .footer-grid h4,
.site-footer.red-theme .footer-grid p,
.site-footer.red-theme .footer-grid a {
  color: var(--white);
}

.footer-hours {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-bottom {
  margin-top: 50px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
}

.site-footer.red-theme .footer-bottom {
  color: rgba(255, 255, 255, 0.85);
}

.footer-fish-watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  opacity: 0.08;
  z-index: 1;
}

.footer-fish-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer red-theme — watermark putih supaya kelihatan */
.site-footer.red-theme .footer-fish-watermark {
  opacity: 0.14;
}

.site-footer.red-theme .footer-fish-watermark img {
  filter: brightness(0) invert(1);
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 999;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* =========================================
   RESPONSIVE — Floating WA
   ========================================= */
@media (max-width: 500px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }
}

/* =========================================
   RESPONSIVE — Base (Mobile)
   ========================================= */
@media (max-width: 860px) {
  .container {
    padding: 0 20px;
  }

  .navbar .container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
  }

  /* Sembunyikan nav desktop */
  .nav-desktop,
  .nav-links.nav-right.nav-desktop {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile menu overlay - tampilkan semua link */
  .nav-mobile.open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px 20px;
    z-index: 150;
    border: none;
    margin: 0;
  }

  .nav-mobile.open a {
    font-size: 1.6rem;
    color: var(--red) !important;
    border-bottom: none;
    padding: 8px 0;
    white-space: normal;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
  }

  .nav-mobile.open a:hover,
  .nav-mobile.open a.active {
    border-bottom: 3px solid var(--red);
  }

  .logo {
    font-size: 1.4rem;
    position: static;
    transform: none;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 16px;
  }

  .navbar .container {
    padding: 0 16px;
    height: 64px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .nav-mobile.open a {
    font-size: 1.3rem;
  }
} 