/* ============================================================
   VM FITNESS - COMPONENTS CSS (MINIMAL MONOCHROME)
   Palette: Pure White (#FFFFFF), Apple Ink (#1D1D1F), Subtle Grays
   Geometry: 100% Square Clickable Boxes & Apple Museum Precision
   ============================================================ */

/* 1. BUTTONS (SQUARE & HIGH CONTRAST) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 0 !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
  position: relative;
  user-select: none;
}

.btn:active {
  transform: scale(0.98) !important;
}

.btn-gold {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-gold:hover {
  background: #2D2D30;
  border-color: #2D2D30;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--text-primary);
  color: var(--text-primary);
}

.btn-outline-gold:hover {
  background: #000000;
  border-color: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-dark {
  background: #000000;
  border: 1px solid #000000;
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #2D2D30;
  border-color: #2D2D30;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.98rem;
  letter-spacing: 1.2px;
}

.btn-block {
  width: 100%;
}

/* 2. NAVBAR (APPLE FROSTED WHITE & SQUARE ACCENTS) */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.site-navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.05);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  color: #1D1D1F;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-brand-text .brand-gold {
  color: #000000;
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
}

.nav-brand-text .brand-white {
  color: #1D1D1F;
  -webkit-text-fill-color: #1D1D1F;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--apple-grey-700);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-icon {
  display: none;
  color: var(--apple-ink);
  flex-shrink: 0;
}

.nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: #000000;
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 0 !important;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.mobile-drawer-header,
.mobile-drawer-footer {
  display: none;
}

.nav-link:hover, .nav-link.active {
  color: #000000;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #000000;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #1D1D1F;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1002;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

.nav-toggle-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1D1D1F;
  text-transform: uppercase;
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: #1D1D1F;
  border-radius: 0;
  transition: all 0.25s ease;
}

.nav-toggle.active .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active .line-2 {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Bottom Navigation Dock (Apple Clean & Square) */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 998;
  align-items: center;
  justify-content: space-around;
  padding: 4px 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--apple-grey-700);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 0 !important;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dock-item svg {
  transition: transform 0.2s ease, color 0.2s ease;
}

.dock-item:hover, .dock-item.active {
  color: #000000;
}

.dock-item:hover svg, .dock-item.active svg {
  color: #000000;
  transform: translateY(-2px);
}

.dock-item-highlight {
  position: relative;
  top: -10px;
}

.dock-highlight-pill {
  width: 42px;
  height: 42px;
  border-radius: 0 !important;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
  transition: transform 0.25s ease;
}

.dock-item-highlight:hover .dock-highlight-pill {
  transform: scale(1.05);
}

.dock-item-highlight span {
  margin-top: 2px;
  color: #000000;
  font-weight: 700;
}

.dock-more-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1D1D1F;
}

.dock-more-btn:hover .dock-more-icon-wrap {
  background: rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

/* 3. FOOTER (APPLE PARCHMENT REVERENCE) */
.site-footer {
  background: var(--bg-parchment);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 64px 0 25px;
  margin-top: auto;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 38px;
  object-fit: contain;
}

.footer-desc {
  color: var(--apple-grey-700);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1D1D1F;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20px;
  height: 2px;
  background: #000000;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--apple-grey-700);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #000000;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--apple-grey-700);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  color: var(--apple-ink);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--apple-grey-500);
  font-size: 0.85rem;
}

/* 4. CARDS (RAZOR-SHARP SQUARE PRECISION ON WHITE) */
.card-glass {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 !important;
  padding: 30px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

.card-glass:hover {
  border-color: #000000;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-glass:hover::before {
  opacity: 1;
}

/* 5. FORMS (SQUARE INPUTS & CLEAN APPLE STYLING) */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--apple-grey-700);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0 !important;
  color: #1D1D1F;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control:focus {
  outline: none;
  border-color: #000000;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px #000000;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
}

/* 6. MESSAGES & ALERTS (SQUARE) */
.alert-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.alert {
  padding: 14px 18px;
  border-radius: 0 !important;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1D1D1F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  animation: slideInRight 0.35s ease forwards;
}

.alert-success {
  border-left: 3px solid #1D1D1F;
}

.alert-danger {
  border-left: 3px solid #515154;
}

.alert-warning {
  border-left: 3px solid #86868B;
}

.alert-close {
  background: transparent;
  border: none;
  color: var(--apple-grey-500);
  cursor: pointer;
  font-size: 1.2rem;
  margin-left: 12px;
}

.alert-close:hover {
  color: #000000;
}

/* 7. MODALS (SQUARE LUXURY OVERLAY) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0 !important;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  transform: scale(0.97);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1D1D1F;
  width: 32px;
  height: 32px;
  border-radius: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #000000;
  color: #FFFFFF;
}
