/* ==========================================================================
   BEYOND SUMMIT OUTDOOR - DESIGN SYSTEM & CUSTOM STYLES
   Selaras 100% dengan Visual Brand Landing Page Utama
   ========================================================================== */

:root {
  /* Colors */
  --bg-forest-900: #0b160e;
  --bg-forest-800: #122417;
  --border-forest-700: #1b3322;
  --border-forest-600: #274730;
  
  --earth-gold: #d4a373;
  --earth-hover: #bc8a5f;
  --sand-light: #faedcd;
  --text-sand: #f4f1ea;
  --text-muted: #94a3b8;
}

body {
  background-color: var(--bg-forest-900);
  color: var(--text-sand);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space untuk Bottom Navigation di Mobile */
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(11, 22, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Gradient Text Earth Gold */
.text-gradient-earth {
  background: linear-gradient(135deg, #ffffff 30%, #d4a373 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* =========================================
   BEYOND SUMMIT — DYNAMIC FOCUS GLASS BAR
========================================= */

.bottom-nav {
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 14px;
  right: 14px;
  height: 76px;
  padding: 0 5px;

  display: flex;
  align-items: center;
  justify-content: space-around;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.13),
      rgba(255,255,255,0.025) 45%,
      rgba(212,163,115,0.07)
    ),
    rgba(15, 27, 23, 0.78);

  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);

  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 25px;

  box-shadow:
    0 12px 35px rgba(0,0,0,0.38),
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 -1px 1px rgba(255,255,255,0.04);

  z-index: 40;
  isolation: isolate;
}

/* Glossy reflection */
.bottom-nav::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0.12),
    transparent 35%,
    transparent 70%,
    rgba(255,255,255,0.05)
  );
  pointer-events: none;
  z-index: -1;
}


/* Dynamic Focus Glass Indicator */
.nav-focus-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;

  border-radius: 19px;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.15),
    rgba(212,163,115,0.10),
    rgba(255,255,255,0.035)
  );

  border: 1px solid rgba(255,255,255,0.16);

  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.2),
    0 0 16px rgba(212,163,115,0.10);

  opacity: 0;
  pointer-events: none;
  z-index: 1;

  transition:
    left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

/* Navigation items */
.bottom-nav-item {
  position: relative;
  flex: 1;
  height: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;

  background: transparent;
  border: none;
  z-index: 2;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.bottom-nav-item i {
  font-size: 1.2rem;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.bottom-nav-item.active {
  color: var(--earth-gold);
}

.bottom-nav-item.active i {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 7px rgba(212,163,115,0.65));
}

.bottom-nav-item span {
  white-space: nowrap;
}

/* Center Create Button */
.fab-create {
  position: relative;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: -27px 3px 0;

  background: linear-gradient(
    145deg,
    #f1d0a5,
    #d4a373 55%,
    #a87543
  );

  color: var(--bg-forest-900);
  font-size: 1.4rem;

  border: 2px solid rgba(255,255,255,0.55);

  box-shadow:
    0 5px 20px rgba(212,163,115,0.38),
    inset 0 2px 3px rgba(255,255,255,0.55);

  z-index: 5;
  transition: transform 0.25s ease;
}

.fab-create:active {
  transform: scale(0.91);
}

/* Tablet */
@media (min-width: 600px) {
  .bottom-nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(620px, calc(100% - 48px));
    height: 82px;
    padding: 0 12px;
  }

  .bottom-nav-item {
    font-size: 0.75rem;
  }

  .bottom-nav-item i {
    font-size: 1.35rem;
  }

  .fab-create {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }
}


/* Custom Input Controls */
.app-form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(11, 22, 14, 0.8);
  border: 1px solid var(--border-forest-700);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #ffffff;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.app-form-control:focus {
  outline: none;
  border-color: var(--earth-gold);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.15);
}

.app-form-control::placeholder {
  color: #64748b;
}

/* Card Modern Style */
.card-outdoor {
  background-color: rgba(18, 36, 23, 0.6);
  border: 1px solid rgba(27, 51, 34, 0.6);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-outdoor:hover {
  border-color: rgba(212, 163, 115, 0.4);
}


/* =========================================
   PREMIUM GLOSSY FINISH
========================================= */

/* Moving reflection on focus indicator */
.nav-focus-indicator {
  overflow: hidden;
}

.nav-focus-indicator::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;

  background: linear-gradient(
    110deg,
    transparent,
    rgba(255,255,255,0.16),
    transparent
  );

  transform: skewX(-20deg);
  animation: focusGlassShine 4s ease-in-out infinite;
}

@keyframes focusGlassShine {
  0%, 55% {
    left: -100%;
  }
  100% {
    left: 150%;
  }
}

/* Glossy center button */
.fab-create {
  overflow: hidden;
}

.fab-create::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.45),
    transparent 48%
  );

  pointer-events: none;
}

.fab-create i {
  position: relative;
  z-index: 1;
}

/* Active icon interaction */
.bottom-nav-item.active i {
  animation: focusIconPop 0.4s ease;
}

@keyframes focusIconPop {
  0% {
    transform: translateY(2px) scale(0.9);
  }
  60% {
    transform: translateY(-4px) scale(1.12);
  }
  100% {
    transform: translateY(-2px) scale(1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .nav-focus-indicator::after,
  .bottom-nav-item.active i {
    animation: none;
  }
}

/* Soft Breathing Glow — Center FAB */
.fab-create {
  animation: fabBreath 3.2s ease-in-out infinite;
}

@keyframes fabBreath {
  0%, 100% {
    box-shadow:
      0 5px 20px rgba(212,163,115,0.30),
      inset 0 2px 3px rgba(255,255,255,0.55);
  }

  50% {
    box-shadow:
      0 7px 26px rgba(212,163,115,0.52),
      0 0 12px rgba(212,163,115,0.18),
      inset 0 2px 4px rgba(255,255,255,0.65);
  }
}

/* Hentikan efek saat tombol ditekan */
.fab-create:active {
  animation-play-state: paused;
}

/* Hormati pengaturan minim animasi */
@media (prefers-reduced-motion: reduce) {
  .fab-create {
    animation: none;
  }
}