/* =====================================================
   TOM FITNESS BARIDIH – SHARED STYLESHEET
   ===================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', 'Noto Sans', sans-serif;
  background-color: #221910;
  color: #f1f5f9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #1a120b;
}

::-webkit-scrollbar-thumb {
  background: #f27f0d;
  border-radius: 3px;
}

/* ---------- Selection ---------- */
::selection {
  background: #f27f0d;
  color: #fff;
}

/* ---------- Glassmorphism ---------- */
.glass-card {
  background: rgba(45, 34, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 127, 13, 0.12);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(242, 127, 13, 0.45);
  background: rgba(52, 38, 24, 0.6);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(34, 25, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo .logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}

.nav-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}

.nav-logo .logo-text span {
  color: #f27f0d;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f27f0d;
}

.nav-cta {
  background: #f27f0d;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 15px rgba(242, 127, 13, 0.3);
}

.nav-cta:hover {
  background: #d96e00;
  box-shadow: 0 0 25px rgba(242, 127, 13, 0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(26, 18, 11, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  border-bottom: 1px solid rgba(242, 127, 13, 0.15);
  animation: slideDown 0.25s ease;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: #f27f0d;
}

.mobile-nav .mobile-cta {
  background: #f27f0d;
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  border: none;
  margin-top: 0.5rem;
  border-bottom: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
  }
}

/* Disable pulse animation on mobile for performance */
@media (max-width: 768px) {
  .whatsapp-float {
    animation: none;
  }
}

/* ---------- Custom Cursor (Desktop Only) ---------- */
.custom-cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.3s;
}

.custom-cursor {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(242, 127, 13, 0.7);
  transition: transform 0.15s ease, border-color 0.2s;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #f27f0d;
  transform: translate(-50%, -50%);
}

.custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(1.6);
  border-color: #f27f0d;
  background: rgba(242, 127, 13, 0.1);
}

/* ---------- Quick Links Section ---------- */
.quick-links-section {
  background: #1a120b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.5rem;
}

.quick-links-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.quick-links-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f27f0d;
}

.quick-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  list-style: none;
}

.quick-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.quick-links-list a:hover {
  color: #f27f0d;
}

/* ---------- Footer ---------- */
.footer {
  background: #150f09;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

.footer-col h4 {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #f27f0d;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover {
  background: #f27f0d;
  color: #fff;
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-bottom p {
  color: #374151;
  font-size: 0.8rem;
}

.footer-credit {
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-credit span {
  color: #f27f0d;
}

/* ---------- Primary Button ---------- */
.btn-primary {
  background: #f27f0d;
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 20px rgba(242, 127, 13, 0.35);
}

.btn-primary:hover {
  background: #d96e00;
  box-shadow: 0 0 30px rgba(242, 127, 13, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ---------- Scroll Reveal Animations (Desktop) ---------- */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- Hero Gradient ---------- */
.hero-gradient {
  background: linear-gradient(180deg, rgba(34, 25, 16, 0.25) 0%, rgba(34, 25, 16, 0.75) 55%, rgba(34, 25, 16, 1) 100%);
}

/* ---------- Neon Glow Shadow ---------- */
.shadow-neon {
  box-shadow: 0 0 5px #f27f0d, 0 0 20px rgba(242, 127, 13, 0.4);
}

/* ---------- Form Styles ---------- */
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input::placeholder {
  color: #4b5563;
}

.form-input:focus {
  border-color: #f27f0d;
  box-shadow: 0 0 0 3px rgba(242, 127, 13, 0.15);
}

.form-input option {
  background: #2a1e12;
}

/* ---------- Badge / Tag ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242, 127, 13, 0.15);
  border: 1px solid rgba(242, 127, 13, 0.3);
  color: #f27f0d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
}

/* ---------- Section Headings ---------- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f27f0d;
  display: block;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  tracking: -0.02em;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem;
  }
}

/* ---------- Responsive helpers ---------- */
@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .desktop-cursor {
    display: none;
  }
}

/* ---------- Accordion (Terms/Privacy) ---------- */
.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: rgba(45, 34, 22, 0.3);
  transition: border-color 0.2s;
}

.accordion-item:hover {
  border-color: rgba(242, 127, 13, 0.3);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  user-select: none;
}

.accordion-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.accordion-icon {
  color: #f27f0d;
  transition: transform 0.3s;
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding: 0 1.5rem 1.25rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
}

.accordion-body-inner ul {
  margin: 0.5rem 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.accordion-body-inner li {
  list-style-type: disc;
}

.accordion-body-inner strong {
  color: #cbd5e1;
}

/* ---------- Stats Bar ---------- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-top: 0.35rem;
}

/* ---------- Map Container ---------- */
.map-iframe-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(30%) contrast(1.1);
}

/* ---------- Page Hero ---------- */
.page-hero {
  padding: 7rem 1.5rem 4rem;
  text-align: center;
  background: #221910;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 127, 13, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 4rem;
  }
}

.page-hero p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}