/* ============================================
   BERLIN POOL & BISTRO — PROFILE WEBSITE CSS
   Dark Luxury · Gold Accent · Cormorant + Montserrat
   ============================================ */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #242424;
  --dark-4: #2e2e2e;
  --gold: #c9a84c;
  --gold-light: #e2c87e;
  --gold-dim: #8a6e2f;
  --white: #f5f0e8;
  --white-dim: #c8c0b0;
  --white-mute: #7a7268;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-h: 72px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  border-bottom-color: rgba(201,168,76,0.3);
}
/* Logo di kiri — order: 0 (pertama) */
.nav-logo { order: 0; }
/* Nav links di tengah/kanan — order: 1 */
.nav-links { display: flex; gap: 40px; order: 1; align-items: center; }
.nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  cursor: pointer;
  position: relative;
  transition: color 0.25s;
  line-height: 1;         /* ← tambah ini */
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }
/* Tombol Reservasi di navbar */
/* Tombol Reservasi di navbar */
.nav-link--reserve {
  background: var(--gold);
  color: var(--black) !important;
  padding: 8px 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  align-self: center;     /* ← tambah ini */
  line-height: 1;         /* ← tambah ini */
}
.nav-link--reserve::after { display: none; }
.nav-link--reserve:hover {
  background: var(--gold-light);
  color: var(--black) !important;
  transform: translateY(-1px);
}
/* Mobile reserve link */
.mobile-link--reserve {
  color: var(--gold) !important;
  font-weight: 700;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 16px;
  margin-top: 4px;
}

/* LOGO */
.nav-logo, .footer-logo { display: flex; align-items: center; gap: 12px; }
.logo-link { display: flex; align-items: center; text-decoration: none; }
/* ====================================================
   LOGO IMAGE
   Ganti LOGO_PATH_HERE di index.html dengan path foto logo.
   Ukuran logo di navbar diatur di sini.
   ==================================================== */
.nav-logo-img {
  height: 58px;         /* ← Ubah tinggi logo sesuai kebutuhan */
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.logo-mark { display: flex; align-items: center; gap: 10px; }
.logo-b {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.logo-berlin {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--white);
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold-dim);
  text-transform: uppercase;
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 32px 48px;
  gap: 28px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.25s;
}
.mobile-link:hover { color: var(--gold); }

/* ===================== PAGE SYSTEM ===================== */
.page { display: block; }
.page.hidden { display: none; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 80% at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #141414 50%, #0f0e0a 100%);
  z-index: 0;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 1;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 10vw;
  max-width: 900px;
  animation: fadeUp 1s ease 0.2s both;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-title .italic { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 460px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.btn-ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost-sm {
  display: inline-flex;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 24px;
  transition: var(--transition);
}
.btn-ghost-sm:hover { background: var(--gold); color: var(--black); }

/* SCROLL INDICATOR */
.hero-scroll {
  position: absolute;
  bottom: 48px; left: 10vw;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  animation: fadeUp 1s ease 0.8s both;
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-mute);
}

/* ===================== SECTIONS ===================== */
.section { padding: 120px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-eyebrow.center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 60px;
}
.section-title.center { text-align: center; }
.section-title em { font-style: italic; color: var(--gold-light); }

/* ===================== ABOUT SECTION ===================== */
.about-section { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.about-left .section-title { margin-bottom: 0; }
.about-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.9;
  margin-bottom: 24px;
}
.about-stats { display: flex; gap: 48px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--dark-4); }
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-mute);
}

/* ===================== ZONES ===================== */
.zones-section { background: var(--black); }
.zones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.zone-card {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  min-height: 360px;
}
/* Background foto layer — diatur via CSS variable --zone-bg di HTML */
.zone-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--zone-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.18;   /* ← Ubah nilai ini untuk mengatur kepekatan foto (0.0 - 1.0) */
  transition: opacity 0.4s ease;
  z-index: 0;
}
/* Dark gradient overlay agar teks tetap terbaca */
.zone-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.zone-card:hover .zone-card-bg { opacity: 0.28; }
.zone-card-content {
  position: relative;
  z-index: 2;
  padding: 60px 48px;
}
.zone-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  pointer-events: none;
}
.zone-card:hover::before { opacity: 1; }
.zone-icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 32px;
}
.zone-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.zone-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 32px;
}
.zone-tag {
  display: inline-flex;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 16px;
}

/* ===================== MENU SECTION ===================== */
.menu-section { background: var(--dark); }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.menu-card {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  min-height: 280px;
}
/* Background foto layer — diatur via CSS variable --menu-bg di HTML */
.menu-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--menu-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.3;   /* ← opacity (0.0 - 1.0) */
  transition: opacity 0.4s ease;
  z-index: 0;
}
.menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.95) 40%, rgba(17,17,17,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}
.menu-card:hover .menu-card-bg { opacity: 0.25; }
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.menu-card-content {
  position: relative;
  z-index: 2;
  padding: 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.menu-card--featured { border-top: 2px solid var(--gold); }
.menu-icon { font-size: 28px; margin-bottom: 20px; }
.menu-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.menu-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--white-mute);
  line-height: 1.7;
  flex: 1;
}
.menu-divider { height: 1px; background: var(--dark-4); margin: 20px 0; }
.menu-range { font-size: 11px; font-weight: 500; color: var(--gold); letter-spacing: 0.05em; }

/* ===================== CONTACT SECTION ===================== */
.contact-section { background: var(--black); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left .section-title { margin-bottom: 48px; }
.contact-items { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  color: var(--gold);
  padding: 8px;
  border: 1px solid rgba(201,168,76,0.25);
}
.contact-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 6px;
}
.contact-value { font-size: 13px; font-weight: 300; color: var(--white-dim); line-height: 1.6; }
.map-container {
  height: 420px;
  border: 1px solid rgba(201,168,76,0.2);
  overflow: hidden;
  filter: grayscale(70%) contrast(1.1);
}
.map-container:hover { filter: grayscale(30%) contrast(1.1); transition: filter 0.5s; }

/* ===================== PAGE HERO ===================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 10vw 80px;
  overflow: hidden;
}
.page-hero-content { position: relative; z-index: 2; animation: fadeUp 0.8s ease both; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin: 16px 0 24px;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 480px;
  line-height: 1.8;
}

/* ===================== FACILITY GRID ===================== */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 0; }
.facility-card {
  background: var(--dark-2);
  overflow: hidden;
  transition: var(--transition);
}
.facility-card:hover { transform: translateY(-6px); }
.facility-card:hover .facility-img img { transform: scale(1.05); }
.facility-img { height: 260px; overflow: hidden; position: relative; }
.facility-img img { transition: transform 0.6s ease; }
.facility-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.8) 0%, transparent 50%);
}
.facility-body { padding: 32px 28px; }
.facility-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 12px;
}
.facility-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.facility-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--white-mute);
  line-height: 1.8;
  margin-bottom: 20px;
}
.facility-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ftag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 5px 10px;
}

/* SUPPORT FACILITIES */
.other-facilities { background: var(--dark); padding-top: 0; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.support-card { background: var(--dark-2); overflow: hidden; }
.support-card:hover .facility-img img { transform: scale(1.05); }
.support-img { height: 300px; overflow: hidden; position: relative; }
.support-body { padding: 32px; }

/* ===================== JOURNEY PAGE ===================== */
.journey-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.journey-card {
  background: var(--dark-2);
  overflow: hidden;
  transition: var(--transition);
}
.journey-card:hover { background: var(--dark-3); }
.video-wrapper {
  width: 100%;
  background: var(--dark-3);
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
  min-height: 240px;
}
.video-fallback-icon {
  width: 64px; height: 64px;
  border: 2px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
}
.video-fallback p {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--white-dim);
}
.journey-body { padding: 28px 32px 36px; }
.journey-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.journey-date {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white-mute);
}
.journey-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  padding: 4px 10px;
}
.journey-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.journey-desc { font-size: 12px; font-weight: 300; color: var(--white-mute); line-height: 1.8; }
.instagram-note {
  padding: 32px 0;
  text-align: center;
  background: var(--dark);
  font-size: 13px;
  color: var(--white-mute);
}
.instagram-note a { color: var(--gold); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 60px 0 40px;
  text-align: center;
}
.footer-logo { justify-content: center; margin-bottom: 16px; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--white-mute);
  margin-bottom: 32px;
}
.footer-divider { width: 60px; height: 1px; background: rgba(201,168,76,0.3); margin: 0 auto 24px; }
.footer-copy { font-size: 10px; letter-spacing: 0.1em; color: var(--white-mute); }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; width: 60px; }
  50% { opacity: 1; width: 80px; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-left .section-title { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .hero-content { padding: 0 24px; }
  .hero-scroll { left: 24px; }
  .zones-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; gap: 2px; }
  .facility-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .map-container { height: 280px; }
  .journey-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 32px; flex-wrap: wrap; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 24px 48px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}