/*
Theme Name: Jackiee Fitness
Theme URI: https://example.com/jackiee-fitness
Author: Haus of Design
Author URI: https://example.com/
Description: A custom theme for Jackiee Fitness, based on a bespoke HTML design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jackiee-fitness
*/

/* ── RESET & BASE ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --ink:   #0D1821;
  --navy:  #152232;
  --mid:   #1E3045;
  --slate: #4A6580;
  --mist:  #8FA8BC;
  --fog:   #C8D5DE;
  --white: #F5F1EC;
  --brass: #B09060;
  --blt:   #C8A878;
  --bdk:   #8A7048;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 8px; height: 8px;
  background: var(--brass);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(176,144,96,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.35s ease, width 0.2s, height 0.2s;
  transform: translate(-50%, -50%);
}
body:hover .cursor { opacity: 1; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.3s;
}
nav.scrolled {
  background: rgba(13,24,33,0.95);
  backdrop-filter: blur(12px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(176,144,96,0.1);
}

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo svg { width: 18px; height: 26px; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-wordmark span:first-child { font-size: 13px; font-weight: 800; color: var(--white); letter-spacing: 3px; }
.nav-wordmark span:last-child  { font-size: 6.5px; font-weight: 500; color: var(--mist); letter-spacing: 7px; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(245,241,236,0.55);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink);
  background: var(--brass); padding: 11px 24px;
  text-decoration: none; border-radius: 1px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blt); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 60px 80px;
}

/* grain overlay */
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  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; pointer-events: none;
}

/* radial glow */
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(30,48,69,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; text-align: center; }

.hero-eyebrow {
  font-size: 8px; font-weight: 600; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-mark {
  margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-name {
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 900; color: var(--white);
  letter-spacing: 0.05em; line-height: 0.92;
  opacity: 0; animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-rule {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  margin: 20px 0 18px;
  opacity: 0; animation: fadeIn 0.8s 0.7s ease forwards;
}

.hero-sub {
  font-size: 11px; font-weight: 500; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--mist);
  opacity: 0; animation: fadeUp 0.8s 0.8s ease forwards;
}

.hero-desc {
  max-width: 520px; margin: 36px auto 0;
  font-size: 13px; font-weight: 400; line-height: 1.8;
  color: rgba(143,168,188,0.7);
  opacity: 0; animation: fadeUp 0.8s 0.9s ease forwards;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 48px;
  opacity: 0; animation: fadeUp 0.8s 1s ease forwards;
}

.btn-primary {
  font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink);
  background: var(--brass); padding: 16px 36px;
  text-decoration: none; border-radius: 1px;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blt); transform: translateY(-1px); }

.btn-secondary {
  font-size: 9px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--white);
  border: 1px solid rgba(245,241,236,0.2); padding: 15px 36px;
  text-decoration: none; border-radius: 1px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(245,241,236,0.5); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.4s ease forwards;
}
.hero-scroll span {
  font-size: 7px; font-weight: 600; letter-spacing: 0.4em;
  text-transform: uppercase; color: rgba(176,144,96,0.4);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  animation: scrollPulse 2s infinite;
}

/* ── STATS BAND ── */
.stats-band {
  background: var(--navy);
  border-top: 1px solid rgba(176,144,96,0.12);
  border-bottom: 1px solid rgba(176,144,96,0.12);
  padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 44px 40px;
  text-align: center;
  border-right: 1px solid rgba(176,144,96,0.1);
  position: relative;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item.visible { opacity: 1; transform: translateY(0); }

.stat-num {
  font-size: 44px; font-weight: 800; color: var(--white);
  letter-spacing: -1px; line-height: 1;
}
.stat-num span { color: var(--brass); }
.stat-label {
  font-size: 8px; font-weight: 600; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--mist);
  margin-top: 10px;
}

/* ── SECTIONS ── */
section { padding: 120px 60px; }

.section-label {
  font-size: 8px; font-weight: 600; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 16px; display: block;
}
.section-title {
  font-size: clamp(36px, 4vw, 56px); font-weight: 800;
  letter-spacing: 0.02em; line-height: 1.1; color: var(--white);
}
.section-rule {
  width: 48px; height: 2px;
  background: var(--brass); margin: 20px 0 0;
}

/* ── ABOUT ── */
#about { background: var(--ink); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; margin-top: 72px;
}

.about-credentials { display: flex; flex-direction: column; gap: 0; }
.cred-item {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(176,144,96,0.1);
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cred-item.visible { opacity: 1; transform: translateX(0); }
.cred-num {
  font-size: 10px; font-weight: 700; color: var(--brass);
  letter-spacing: 0.2em; flex-shrink: 0; width: 28px;
}
.cred-text { font-size: 13px; font-weight: 600; color: var(--white); letter-spacing: 0.05em; }
.cred-sub  { font-size: 10px; font-weight: 400; color: var(--mist); margin-top: 2px; }

.about-bio { display: flex; flex-direction: column; gap: 20px; }
.about-bio p {
  font-size: 14px; font-weight: 400; line-height: 1.85;
  color: rgba(143,168,188,0.75);
}
.about-bio strong { color: var(--white); font-weight: 600; }

.about-location {
  display: flex; align-items: center; gap: 10px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--slate);
  margin-top: 12px;
}
.about-location::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass); flex-shrink: 0;
}

/* ── SERVICES ── */
#services { background: var(--navy); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 64px;
}

.service-card {
  background: var(--ink); padding: 48px 40px;
  border-top: 2px solid transparent;
  transition: border-color 0.25s, background 0.25s;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s, background 0.25s;
  cursor: none;
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover { border-top-color: var(--brass); background: #111c2a; }

.service-num {
  font-size: 10px; font-weight: 700; color: var(--brass);
  letter-spacing: 0.2em; margin-bottom: 20px;
}
.service-name {
  font-size: 18px; font-weight: 800; color: var(--white);
  letter-spacing: 0.05em; margin-bottom: 14px; line-height: 1.2;
}
.service-desc {
  font-size: 12px; font-weight: 400; line-height: 1.75;
  color: rgba(143,168,188,0.65);
}

/* ── PROMO ── */
#promo {
  background: var(--ink);
  text-align: center; padding: 80px 60px;
  border-top: 1px solid rgba(176,144,96,0.1);
  border-bottom: 1px solid rgba(176,144,96,0.1);
}
.promo-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 20px;
}
.promo-text {
  font-size: clamp(14px, 2vw, 20px); font-weight: 400;
  color: rgba(143,168,188,0.7); line-height: 1.7; max-width: 600px; margin: 0 auto;
}
.promo-code {
  display: inline-block; margin-top: 24px;
  font-size: 13px; font-weight: 800; color: var(--ink);
  background: var(--brass); padding: 12px 28px; letter-spacing: 3px;
  border-radius: 1px;
}

/* ── SOCIAL ── */
#social { background: var(--navy); padding: 100px 60px; }
.social-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; flex-wrap: wrap;
}
.social-left { max-width: 500px; }
.social-links {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 48px;
}
.social-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: var(--ink); border-radius: 1px;
  border: 1px solid rgba(176,144,96,0.1);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.social-link:hover { border-color: rgba(176,144,96,0.35); background: #111c2a; }
.social-link-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(176,144,96,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.social-link-icon svg { width: 16px; height: 16px; }
.social-link-info { flex: 1; }
.social-link-platform {
  font-size: 8px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--brass);
}
.social-link-handle {
  font-size: 14px; font-weight: 700; color: var(--white);
  letter-spacing: 0.05em; margin-top: 2px;
}
.social-link-arrow { color: rgba(176,144,96,0.4); font-size: 16px; }

.social-right {
  display: flex; flex-direction: column; gap: 12px;
}
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; background: var(--ink);
  border-radius: 1px; border: 1px solid rgba(176,144,96,0.08);
  min-width: 320px;
}
.contact-icon { color: var(--brass); flex-shrink: 0; }
.contact-detail { display: flex; flex-direction: column; }
.contact-label {
  font-size: 7.5px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--mist); margin-bottom: 2px;
}
.contact-value {
  font-size: 12px; font-weight: 600; color: var(--white); letter-spacing: 0.05em;
}

/* ── FOOTER ── */
footer {
  background: var(--ink); padding: 56px 60px 44px;
  border-top: 1px solid rgba(176,144,96,0.1);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo svg { width: 14px; height: 20px; }
.footer-logo-text { font-size: 11px; font-weight: 800; color: var(--white); letter-spacing: 3px; }
.footer-copy {
  font-size: 8px; font-weight: 400; letter-spacing: 0.2em;
  color: rgba(176,144,96,0.25);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 8px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(143,168,188,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--mist); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity:0.3; transform:scaleY(1); }
  50%       { opacity:1; transform:scaleY(1.1); }
}

/* WordPress Core Alignment Classes */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }

/* Screen Reader Text */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
