/* ============================================================
   NATURE OT — Sub-pages stylesheet
   Consolidated & de-duplicated (shared base + per-page blocks)
   Base: tokens, reset, header, hero, CTA, footer, WhatsApp float
   Pages: Tentang Kami · Layanan · Galeri · Kontak
   ============================================================ */

/* ─────────────── SHARED BASE ─────────────── */
:root {
  --green: #2D7A46;
  --green-dark: #205b34;
  --ink: #050505;
  --paper: #f3f1eb;
  --mist: #dfe5dd;
  --line: rgba(5,5,5,.18);
  --white: #fffdf8;
  --radius: 18px;
  --radius-inner: 12px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --shadow: 0 20px 50px rgba(5,5,5,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; line-height: 1.55; }
img { display: block; width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 99; background: rgba(5,5,5,.95); backdrop-filter: blur(12px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem/1 'Space Grotesk', sans-serif; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .86rem; }
.nav-links a { opacity: .88; transition: opacity 160ms ease-out; }
.nav-links a:hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 10px 16px; }

/* Hero */
.page-hero { min-height: 65vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a1f14 0%, #050505 100%); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.page-hero .wrap { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-hero h1 { color: var(--white) !important; text-align: center; margin-inline: auto; width: 100%; }
.page-hero .lede { color: rgba(255,255,255,.83); text-align: center; margin-inline: auto; max-width: 640px; }
.page-hero .eyebrow { text-align: center; margin-inline: auto; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E"); opacity: .5; }
.page-hero-content { position: relative; z-index: 1; max-width: 820px; }
.eyebrow { display: inline-block; margin: 0 0 16px; color: #d4f0d4; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.08; font-weight: 700; margin: 0 0 24px; letter-spacing: -.02em; }
.hero-lede { font-size: 1.12rem; color: rgba(255,255,255,.83); max-width: 640px; margin-inline: auto; }

/* Content */
main {
  background: var(--paper);
  overflow: hidden;
}
.section { padding: 120px 0; }
h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.08; font-weight: 700; margin: 0 0 32px; letter-spacing: -.02em; }
h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.85rem; line-height: 1.2; font-weight: 700; margin: 0 0 16px; color: var(--green); }
h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
p { font-size: 1.08rem; color: #505650; margin: 0 0 20px; }

/* CTA — defer to style.css reference (.cta / .cta-inner / .button-primary) */

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 60px 0 32px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; gap: 24px; font-size: .88rem; }
.footer-links a { opacity: .8; transition: opacity 160ms; }
.footer-links a:hover { opacity: 1; }

/* WhatsApp Float (single source of truth) */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap; box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 32px rgba(37,211,102,.6); color: #fff; }
.whatsapp-float svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ============================================================
   PAGE: TENTANG KAMI
   ============================================================ */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.content-block { max-width: 620px; }
.content-block h3 { color: var(--green); }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.stat-card { text-align: center; }
.stat-number { display: block; font: 700 3.5rem/1 'Space Grotesk'; color: var(--green); margin-bottom: 8px; }
.stat-label { font-size: .95rem; color: #6a6a6a; }

.timeline { max-width: 740px; margin: 60px auto 0; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font: 700 1.4rem 'Space Grotesk'; color: var(--green); }
.timeline-content h4 { font: 600 1.15rem 'Space Grotesk'; margin: 0 0 8px; }
.timeline-content p { font-size: .96rem; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; margin-top: 48px; }
.team-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(5,5,5,.08); }
.team-photo { height: 320px; }
.team-info { padding: 24px; }
.team-info h4 { font: 600 1.2rem 'Space Grotesk'; margin: 0 0 6px; }
.team-info p { font-size: .88rem; color: #6a6a6a; margin: 0; }

@media (max-width: 768px) {
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* ============================================================
   PAGE: LAYANAN
   ============================================================ */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.service-grid.reverse { direction: rtl; }
.service-grid.reverse > * { direction: ltr; }
.service-content { max-width: 620px; }
.service-image { height: 420px; border-radius: var(--radius); overflow: hidden; }

.service-items { display: grid; gap: 16px; margin: 24px 0; }
.service-item { display: flex; gap: 12px; align-items: flex-start; }
.service-item-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.service-item-text { font-size: 1rem; color: #505650; }

.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.activity-card { border-radius: var(--radius); overflow: hidden; height: 280px; position: relative; }
.activity-card img { width: 100%; height: 100%; object-fit: cover; }
.activity-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(5,5,5,.9), transparent); color: white; padding: 24px; font-weight: 600; font-size: 1.05rem; }

@media (max-width: 768px) {
  .service-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid.reverse { direction: ltr; }
  .activity-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE: GALERI
   ============================================================ */
.gallery-section { padding: 72px 0; }
.gallery-section + .gallery-section { padding-top: 0; }
.gallery-section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.gallery-section-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; color: #10120E; margin: 0; }
.gallery-section-header .section-line { flex: 1; height: 1px; background: #2D7A46; opacity: 0.35; }
.gallery-section-header .section-count { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 600; color: #2D7A46; letter-spacing: 0.08em; text-transform: uppercase; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 6px; background: #10120E; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: unset; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease; filter: brightness(0.92); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1); }
.gallery-item .item-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 14px 12px; background: linear-gradient(to top, rgba(5,5,5,0.72) 0%, transparent 100%); font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 600; color: #fff; letter-spacing: 0.04em; text-transform: uppercase; transform: translateY(4px); opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.gallery-item:hover .item-label { opacity: 1; transform: translateY(0); }
.gallery-item:first-child .item-label { font-size: 0.9rem; padding: 40px 20px 18px; }

.gallery-section.alt { background: #f3f1eb; }
.gallery-section.alt .gallery-section-header h2 { color: #10120E; }

/* CTA — unified via style.css; legacy .cta-section removed */

.site-footer { background: #050505; border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 0 28px; }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-copy { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: rgba(255,255,255,0.38); margin: 8px 0 0; }
.site-footer .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .footer-links a { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.site-footer .footer-links a:hover { color: #2D7A46; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 600px) {
  .page-hero { padding: 132px 0 64px; }
  .gallery-section { padding: 52px 0; }
  .gallery-section-header { align-items: flex-end; gap: 10px; margin-bottom: 20px; }
  .gallery-section-header h2 { max-width: 14ch; font-size: 1.35rem; }
  .gallery-section-header .section-line { margin-bottom: .55rem; }
  .gallery-section-header .section-count { white-space: nowrap; font-size: .72rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-item { min-width: 0; border-radius: 5px; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 3; }
  .gallery-item .item-label { opacity: 1; transform: translateY(0); padding: 24px 10px 10px; font-size: .68rem; line-height: 1.2; letter-spacing: .025em; }
  .gallery-item:first-child .item-label { padding: 32px 14px 13px; font-size: .78rem; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { bottom: 20px; right: 20px; padding: 14px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
  .whatsapp-float span { display: none; }
}

/* ============================================================
   PAGE: KONTAK
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.contact-list { display: grid; gap: 14px; }
.contact-box { background: var(--white); padding: 25px 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-box h3 { font-size: 1.25rem; margin-bottom: 10px; }
.contact-box p { margin: 0; font-size: .96rem; line-height: 1.75; }
.contact-box a:not(.button) { color: var(--green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-box .button { margin-top: 18px; background: var(--green); color: #fff; }
.contact-box .button:hover, .contact-box .button:focus-visible { background: var(--green-dark); }
.map-frame { min-height: 520px; overflow: hidden; border-radius: var(--radius); box-shadow: 0 18px 46px rgba(5,5,5,.15); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; }
.faq { max-width: 850px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.08rem; }
.faq p { margin: 14px 32px 0 0; font-size: .98rem; }

/* Kontak-specific CTA refinements — aligned to reference */
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta h2 { margin-bottom: 0; }
.cta p { color: rgba(255,255,255,.76); margin: 0 0 28px; max-width: 290px; }
.cta .button-primary { background: var(--ink); }
.cta .button-primary:hover, .cta .button-primary:focus-visible { background: #242424; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame, .map-frame iframe { min-height: 390px; }
}
