/* ============================================
   FV Space Samarinda — Design System & Styles
   Mobile-first responsive landing page
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Color Palette — Warm Neutral (Light) */
  --bg-primary: #FBF7F1;
  --bg-secondary: #F5EDE3;
  --accent: #F0997B;
  --accent-hover: #D85A30;
  --accent-light: rgba(240, 153, 123, 0.12);
  --heading: #712B13;
  --body: #444441;
  --navy: #041E34;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --border: rgba(113, 43, 19, 0.12);
  --shadow-sm: 0 1px 3px rgba(4, 30, 52, 0.06);
  --shadow-md: 0 4px 16px rgba(4, 30, 52, 0.08);
  --shadow-lg: 0 8px 32px rgba(4, 30, 52, 0.12);
  --shadow-card: 0 2px 12px rgba(113, 43, 19, 0.07);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-section: clamp(3rem, 6vw, 5rem);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Navbar */
  --navbar-height: 72px;
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --bg-primary: #1a1a1f;
  --bg-secondary: #22222a;
  --accent: #F0997B;
  --accent-hover: #f5b49e;
  --accent-light: rgba(240, 153, 123, 0.15);
  --heading: #f0e6dc;
  --body: #c5c0b8;
  --navy: #0d1b2a;
  --white: #FFFFFF;
  --card-bg: #26262e;
  --border: rgba(240, 153, 123, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 31, 0.85);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(26, 26, 31, 0.95);
}

[data-theme="dark"] .hamburger__line {
  background: var(--heading);
}

[data-theme="dark"] .facility-card,
[data-theme="dark"] .utility-card,
[data-theme="dark"] .security-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .room-card,
[data-theme="dark"] .location__address,
[data-theme="dark"] .location__nearby {
  background: var(--card-bg);
}

[data-theme="dark"] .mobile-menu {
  background: var(--bg-primary);
}

[data-theme="dark"] .hero__bg::after {
  background: linear-gradient(
    135deg,
    rgba(4, 30, 52, 0.82) 0%,
    rgba(26, 26, 31, 0.65) 50%,
    rgba(4, 30, 52, 0.75) 100%
  );
}

[data-theme="dark"] .footer {
  background: #0d1117;
}

[data-theme="dark"] .btn--primary {
  box-shadow: 0 4px 16px rgba(240, 153, 123, 0.2);
}

[data-theme="dark"] .rooms__cta {
  background: rgba(240, 153, 123, 0.08);
}

[data-theme="dark"] .location__note {
  background: rgba(240, 153, 123, 0.08);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--body);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-section) 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  margin-bottom: var(--space-md);
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

.section__subtitle {
  font-size: var(--fs-md);
  color: var(--body);
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.8rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(240, 153, 123, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(216, 90, 48, 0.4);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

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

.btn--navy:hover,
.btn--navy:focus-visible {
  background: #0a2e4a;
  transform: translateY(-2px);
}

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  padding: 0 var(--space-lg);
  background: rgba(251, 247, 241, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(251, 247, 241, 0.95);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__links {
  display: none;
  gap: var(--space-lg);
}

.navbar__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--body);
  position: relative;
  padding: var(--space-xs) 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__link:hover {
  color: var(--heading);
}

.navbar__cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--heading);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-primary);
  z-index: 999;
  padding: calc(var(--navbar-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transition: right var(--transition-base);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 52, 0.3);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-menu__link {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--body);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--heading);
  background: var(--accent-light);
}

.mobile-menu__cta {
  margin-top: var(--space-xl);
}

.mobile-menu__cta .btn {
  width: 100%;
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .navbar__links {
    display: flex;
  }

  .navbar__cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 30, 52, 0.72) 0%,
    rgba(113, 43, 19, 0.5) 50%,
    rgba(4, 30, 52, 0.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: var(--space-3xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  color: rgba(255, 255, 255, 0.88);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ========================================
   TENTANG SECTION
   ======================================== */
.about__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.about__text p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about__images img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3;
}

.about__images img:first-child {
  grid-row: span 2;
  aspect-ratio: 3/4;
  height: 100%;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* ========================================
   FASILITAS SECTION
   ======================================== */
.facilities__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.facility-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: var(--accent);
}

.facility-card__icon svg {
  width: 28px;
  height: 28px;
}

.facility-card__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--heading);
  margin-bottom: var(--space-xs);
}

.facility-card__desc {
  font-size: var(--fs-xs);
  color: var(--body);
  opacity: 0.75;
  display: none;
}

/* Fasilitas Photos Gallery */
.facilities__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.facilities__gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.facilities__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.facilities__gallery-item:hover img {
  transform: scale(1.05);
}

.facilities__gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(4, 30, 52, 0.7));
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

@media (min-width: 768px) {
  .facilities__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }

  .facility-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .facility-card__title {
    font-size: var(--fs-base);
  }

  .facility-card__desc {
    display: block;
    font-size: var(--fs-sm);
  }

  .facilities__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .facilities__gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (min-width: 1024px) {
  .facilities__gallery {
    grid-template-columns: repeat(5, 1fr);
  }

  .facilities__gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ========================================
   TIPE KAMAR SECTION
   ======================================== */
.rooms__grid {
  display: grid;
  gap: var(--space-xl);
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.room-card:hover {
  box-shadow: var(--shadow-md);
}

.room-card--exclusive {
  border: 2px solid var(--accent);
  position: relative;
}

.room-card__gallery {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.room-card__gallery-track {
  display: flex;
  height: 100%;
  transition: transform var(--transition-base);
}

.room-card__gallery-slide {
  min-width: 100%;
  height: 100%;
}

.room-card__gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card__gallery-nav {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 2;
}

.room-card__gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.room-card__gallery-dot.active {
  background: var(--white);
  width: 24px;
  border-radius: var(--radius-full);
}

.room-card__gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: var(--heading);
  box-shadow: var(--shadow-sm);
}

.room-card__gallery:hover .room-card__gallery-btn {
  opacity: 1;
}

.room-card__gallery-btn--prev {
  left: var(--space-md);
}

.room-card__gallery-btn--next {
  right: var(--space-md);
}

.room-card__gallery-btn:hover {
  background: var(--white);
}

.room-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
}

.room-card__badge--standard {
  background: rgba(255, 255, 255, 0.9);
  color: var(--body);
}

.room-card__badge--exclusive {
  background: var(--accent);
  color: var(--white);
}

.room-card__body {
  padding: var(--space-xl);
}

.room-card__name {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
}

.room-card__size {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-lg);
}

.room-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.room-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--body);
}

.room-card__feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.room-card__bathroom {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--accent-light);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--heading);
  font-weight: var(--fw-medium);
}

.room-card__bathroom svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .rooms__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rooms__cta {
  text-align: center;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--accent-light);
  border-radius: var(--radius-lg);
}

.rooms__cta p {
  font-size: var(--fs-md);
  color: var(--heading);
  margin-bottom: var(--space-lg);
  font-weight: var(--fw-medium);
}

/* ========================================
   UTILITAS SECTION (Listrik, Air, WiFi)
   ======================================== */
.utilities__grid {
  display: grid;
  gap: var(--space-lg);
}

.utility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.utility-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
}

.utility-card__icon svg {
  width: 28px;
  height: 28px;
}

.utility-card__content {
  flex: 1;
}

.utility-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.utility-card__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--body);
}

@media (min-width: 768px) {
  .utilities__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .utility-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ========================================
   LOKASI SECTION
   ======================================== */
.location__map {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location__address {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.location__address-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.location__address-text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--body);
}

.location__address .btn {
  margin-top: var(--space-lg);
}

.location__grid {
  display: grid;
  gap: var(--space-xl);
}

.location__nearby {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.location__nearby-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.location__nearby-title svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.location__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.location__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.location__item:last-child {
  border-bottom: none;
}

.location__distance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent-light);
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.location__name {
  font-size: var(--fs-sm);
  color: var(--body);
}

.location__note {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--accent-light);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--heading);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  line-height: var(--lh-relaxed);
}

.location__note svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .location__map {
    height: 400px;
  }

  .location__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   KEAMANAN SECTION
   ======================================== */
.security__grid {
  display: grid;
  gap: var(--space-lg);
}

.security-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.security-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.security-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
}

.security-card__icon svg {
  width: 28px;
  height: 28px;
}

.security-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
}

.security-card__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--body);
}

@media (min-width: 768px) {
  .security__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .security-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq__list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.is-open {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--heading);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  font-family: inherit;
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  transition: all var(--transition-base);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--white);
}

.faq-item__icon svg {
  width: 16px;
  height: 16px;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base) ease;
}

.faq-item__answer-inner {
  padding: 0 var(--space-xl) var(--space-xl);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--body);
}

/* ========================================
   KONTAK / CTA SECTION
   ======================================== */
.contact {
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact .section__title {
  color: var(--white);
}

.contact .section__title::after {
  background: rgba(255, 255, 255, 0.4);
}

.contact .section__subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.contact__address {
  margin-top: var(--space-xl);
  font-size: var(--fs-sm);
  opacity: 0.9;
  line-height: var(--lh-relaxed);
}

.btn--white {
  background: var(--white);
  color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
  background: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .contact__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo img {
  height: 40px;
  margin-bottom: var(--space-lg);
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  max-width: 360px;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
}

.footer__bottom a {
  color: var(--accent);
}

.footer__bottom a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 30, 52, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  padding: var(--space-xl);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: var(--fs-xl);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 100;
  cursor: pointer;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  color: var(--accent);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: all var(--transition-base);
}

/* Light theme: show moon (click to go dark), hide sun */
.theme-toggle__icon--light {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle__icon--dark {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Dark theme: show sun (click to go light), hide moon */
[data-theme="dark"] .theme-toggle__icon--light {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle__icon--dark {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* Mobile variant */
.theme-toggle--mobile {
  width: 100%;
  border-radius: var(--radius-md);
  height: 48px;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  position: relative;
  justify-content: center;
}

.theme-toggle--mobile .theme-toggle__icon {
  position: static;
}

.theme-toggle--mobile .theme-toggle__icon--light {
  display: none;
}

[data-theme="dark"] .theme-toggle--mobile .theme-toggle__icon--dark {
  display: none;
}

[data-theme="dark"] .theme-toggle--mobile .theme-toggle__icon--light {
  display: block;
  opacity: 1;
  transform: none;
}

.theme-toggle__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

[data-theme="dark"] .theme-toggle__label::after {
  content: '';
}

/* Desktop: hide on smaller screens, shown via navbar */
@media (max-width: 1023px) {
  .navbar .theme-toggle:not(.theme-toggle--mobile) {
    display: none;
  }
}

/* ========================================
   LEAFLET MAP CUSTOM MARKERS
   ======================================== */
.map-marker {
  background: transparent !important;
  border: none !important;
}

.map-marker__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.map-marker__pin:hover {
  transform: scale(1.15);
}

.map-marker__pin--home {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: 3px solid var(--white);
}

.map-marker__pin--campus {
  width: 32px;
  height: 32px;
  background: #2563eb;
  border: 2px solid var(--white);
}

.map-marker__pin--facility {
  width: 28px;
  height: 28px;
  background: #059669;
  border: 2px solid var(--white);
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  font-family: var(--font-main) !important;
}

.leaflet-popup-content {
  font-size: var(--fs-sm) !important;
  line-height: 1.5 !important;
  margin: 12px 16px !important;
  color: var(--body) !important;
}

.leaflet-popup-content strong {
  color: var(--heading) !important;
}

[data-theme="dark"] .leaflet-popup-content-wrapper {
  background: var(--card-bg) !important;
  color: var(--body) !important;
}

[data-theme="dark"] .leaflet-popup-tip {
  background: var(--card-bg) !important;
}
