/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-main: #05070b;
  --bg-alt: #0d1117;
  --bg-card: #111827;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent: #facc15; /* yellow */
  --accent-dark: #ca8a04;
  --border-subtle: #1f2933;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --max-width: 1100px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--bg-alt);
}

.center {
  text-align: center;
}

.mt-lg {
  margin-top: 2.5rem;
}

/* Header / Nav */
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #020617cc; /* translucent */
  backdrop-filter: blur(8px);
}


.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 0.35rem 0;
  opacity: 0.8;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a.active {
  border-bottom: 2px solid var(--accent);
  opacity: 1;
}

.btn-nav {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: #111827;
  background: var(--accent);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
/* NAV FONT + LAYOUT TWEAKS */
.main-header {
  font-family: "Oswald", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-header .logo span {
  font-weight: 600;
}

/* NAV LINKS */
.main-nav a {
  position: relative;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 0.25rem 0;          /* gives a little breathing room */
  transition: color 0.2s ease-out;
}

/* Underline hover effect */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #facc15;         /* yellow accent, adjust if you want */
  transition: width 0.25s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #facc15;
}
 
/* Hero */
.hero {
  position: relative;
  min-height: 100vh;              /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
  color: #ffffff;

  /* background image + dark overlay */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("images/hero.background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Centered content */
.hero-content {
  max-width: 800px;
  animation: heroFadeUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.hero-logo {
  max-width: 220px;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
  opacity: 0.9;
}
.hero-logo {
  max-width: 260px;
  margin: 0 auto 1.4rem;
  display: block;

  /* Soft drop shadow around entire logo */
  filter: drop-shadow(0px 6px 12px rgba(0,0,0,0.75));

  /* A gentle wide glow behind the logo, NOT circular */
 
  

  padding: 0;          /* Important — prevents clipping */
  border-radius: 0;     /* No forced circle */
}


.hero-cta {
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  border-radius: 999px;
}
.hero-logo {
  opacity: 0.92;
}

/* Simple fade-up animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional: tweak on very small screens */
@media (max-width: 600px) {
  .hero {
    padding: 0 1rem;
  }

  .hero-logo {
    max-width: 170px;
  }
}

/* HERO TEXT STYLE */
.hero-title {
  font-family: "Oswald", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  margin-bottom: 0.75rem;

  /* wall-smash style */
  animation: heroWallSmash 0.9s cubic-bezier(0.15, 0.9, 0.2, 1.2) forwards;
  transform-origin: center;
  white-space: nowrap;
}

.hero-tagline {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
  opacity: 0.92;
}

.hero-subtext {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* “Breaking through a wall” animation */
@keyframes heroWallSmash {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-80px) skewX(-10deg);
    text-shadow: none;
  }
  45% {
    opacity: 1;
    transform: scale(1.15) translateY(5px) skewX(4deg);
    text-shadow:
      0 0 0 rgba(0,0,0,0.0),
      12px 10px 0 rgba(0,0,0,0.6);
  }
  70% {
    transform: scale(0.98) translateY(0) skewX(-2deg);
    text-shadow:
      0 0 0 rgba(0,0,0,0.0),
      6px 5px 0 rgba(0,0,0,0.7);
  }
  100% {
    transform: scale(1) translateY(0) skewX(0deg);
    text-shadow:
      0 0 0 rgba(0,0,0,0.0),
      4px 4px 0 rgba(0,0,0,0.75);
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Primary: bold yellow “danger zone” */
.hero-cta-primary {
  background: #facc15;                 /* strong yellow */
  color: #111827;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.9rem 2.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;

  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background-color 0.15s ease-out;
}

.hero-cta-primary:hover,
.hero-cta-primary:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
  background-color: #fde047;
}

/* Secondary: aggressive red outline */
.hero-cta-secondary {
  border-radius: 999px;
  padding: 0.9rem 2.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  border: 2px solid #ef4444;
  color: #fefce8;
  background: transparent;

  transition:
    color 0.15s ease-out,
    background-color 0.15s ease-out,
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus-visible {
  background-color: #ef4444;
  color: #111827;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}

/* Small tweak on mobile so nothing feels cramped */
@media (max-width: 600px) {
  .hero-title {
    white-space: normal;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    text-align: center;
  }
}

.hero-title {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  margin-bottom: 0.75rem;

  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.08em;

  color: #f9fafb;
}

/* Individual letters slam down one by one */
.hero-letter {
  display: inline-block;
  transform: translateY(-130%) scale(1.15);
  opacity: 0;
  text-shadow: none;

  animation: letterSlam 0.55s cubic-bezier(0.25, 0.9, 0.2, 1.25) forwards;
  animation-delay: calc(var(--i) * 0.06s);
}

/* Slam animation */
@keyframes letterSlam {
  0% {
    transform: translateY(-130%) scale(1.15);
    opacity: 0;
    text-shadow: none;
  }
  60% {
    transform: translateY(10%) scale(0.95);
    opacity: 1;
    text-shadow: 0 14px 24px rgba(0, 0, 0, 0.9);
  }
  80% {
    transform: translateY(-4%) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    text-shadow: 0 6px 14px rgba(0, 0, 0, 0.8);
  }
}








/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-soft);
}
.btn-primary {
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
}


.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #111827;
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-small:hover {
  background: var(--accent);
  color: #111827;
}

.full-width {
  width: 100%;
}

/* Content sections */
.section-intro {
  max-width: 32rem;
  margin: 0.5rem auto 2.5rem;
  color: var(--text-muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

p {
  font-size: 0.96rem;
  line-height: 1.7;
}

.link-arrow {
  display: inline-flex;
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--accent);
}

.link-arrow:hover {
  text-decoration: underline;
}

/* Image stacks */
.image-stack {
  position: relative;
}

.stack-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.stack-accent {
  position: absolute;
  width: 55%;
  right: -8%;
  bottom: -12%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-dark);
  box-shadow: var(--shadow-soft);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.card img {
  border-radius: calc(var(--radius-lg) - 4px);
  margin-bottom: 0.9rem;
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.card p {
  color: var(--text-muted);
}

.card-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-list li::before {
  content: "• ";
  color: var(--accent);
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
}

.faq-list details {
  background: #020617;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 0.8rem 1rem;
  margin-bottom: 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
}

.faq-list p {
  margin-top: 0.6rem;
  color: var(--text-muted);
}

/* Page hero */
.page-hero {
  padding: 3.2rem 0 2.2rem;
  background: linear-gradient(135deg, #020617 0%, #020617 45%, #0b1120 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 32rem;
}

/* Contact form */
.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #1f2933;
  background: #020617;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.contact-info h3,
.contact-info h4 {
  margin-bottom: 0.4rem;
}

.contact-info p {
  color: var(--text-muted);
}

.contact-info a {
  color: var(--accent);
}

/* Quote strip */
.quote-strip {
  background: #0b1120;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.quote-strip p {
  text-align: center;
  font-style: italic;
  max-width: 40rem;
  margin: 0 auto;
}

.quote-strip span {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  color: var(--accent);
}
#google-reviews h2 {
  margin-bottom: 1rem;
  text-align: left;
}

#google-reviews iframe {
  width: 100%;
  border: none;
  border-radius: 10px;
}
#google-reviews h2 {
  margin-bottom: 1rem;
}

#google-reviews .commonninja_component {
  margin-top: 1.5rem;
}



/* Footer */
.footer {
  padding: 2rem 0;
  background: #020617;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.1fr;
  gap: 1.2rem;
  align-items: center;
}

.footer h4 {
  margin: 0 0 0.3rem;
}

.footer p {
  margin: 0;
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-meta a:hover {
  color: var(--accent);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.social-icon svg {
  fill: #fff; /* white icons for dark footer */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover svg {
  transform: scale(1.15);
  opacity: 0.8;
}



/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .two-column.reverse,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stack-accent {
    display: none;
  }

  .hero {
  padding-top: 3rem;
  padding-bottom: 3rem;
  min-height: auto;
}

.hero-grid {
  grid-template-columns: 1fr;
  text-align: left;
}

.hero-image {
  order: -1;
  margin-bottom: 1.5rem;
}

.hero-cta {
  justify-content: flex-start;
}


  .nav-container {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .card img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .nav-container {
    justify-content: space-between;
  }

  .main-nav {
    gap: 0.8rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding: 2.4rem 0 1.6rem;
  }
}


/* --- MOBILE TWEAKS --- */

/* 1) Keep "Hard Knox Fitness" on one line in the logo */
@media (max-width: 600px) {
  .main-header .logo span {
    font-size: 0.9rem !important;
    white-space: nowrap;
  }
}

/* 2) Keep nav links in a row, put Book Online centered underneath on mobile */
@media (max-width: 768px) {
  .main-header .main-nav {
    display: flex;
    flex-direction: row;   /* force horizontal row */
    flex-wrap: wrap;       /* allow wrapping to next line */
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
  }

  .main-header .main-nav a {
    flex: 0 0 auto;        /* keep links sized to content */
    text-align: center;
  }

  /* Book Online CTA = its own centered row */
  .main-header .main-nav .btn-primary {
    flex-basis: 100%;
    width: auto;
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

/* Mobile: keep HERO title on one line */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2.1rem;      /* smaller letters on mobile */
    letter-spacing: 0.10em; /* less space between letters */
    gap: 0.04em;            /* tighter gap between spans */
  }
}
/* Mobile: center BOTH hero CTA buttons */
@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;      /* stack vertically */
    justify-content: center;     /* center the group */
    align-items: center;         /* center horizontally */
    gap: 1rem;                   /* spacing between buttons */
  }

  .hero-cta,
  .hero-cta-secondary {
    width: 100%;
    max-width: 320px;            /* keeps them nicely sized */
    text-align: center;
  }
}

/* Mobile: make hero image fit full screen */
@media (max-width: 600px) {
  .hero {
    height: 100vh;                 /* full screen height */
    min-height: 100vh;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat;
  }

  /* Keep hero content nicely centered on phones */
  .hero-content {
    padding-top: 20vh;             /* pushes text down slightly */
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* Mobile: keep "HARD KNOX FITNESS" on one line in the HERO */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;        /* smaller letters on phones */
    letter-spacing: 0.08em; /* less space between letters */
    gap: 0.02em;            /* tighter gap between spans */
    display: inline-flex;
    flex-wrap: nowrap;      /* 🔥 don't allow wrapping to next line */
  }

  .hero-title .hero-letter {
    flex: 0 0 auto;         /* each letter keeps its width, no wrapping */
  }
}

/* Mobile: adjust HERO background so more of the image is visible */
@media (max-width: 600px) {
  .hero {
    min-height: 100vh;          /* full-screen height */
  }

  .hero::before {
    background-size: contain !important;      /* show whole image */
    background-position: center top !important;
    background-repeat: no-repeat;
    opacity: 0;                             /* keep it visible but still dark */
  }

  .hero-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Mobile: brighten the hero image */
@media (max-width: 600px) {
  .hero::before {
    opacity: 0.45 !important;   /* lighter overlay: image becomes brighter */
  }
}

/* MOBILE: Completely remove the dark overlay */
@media (max-width: 600px) {
  .hero::before {
    background-color: transparent !important;
    background: none !important;
    opacity: 1 !important;
  }
}

/* Mobile: use brightened hero image */
@media (max-width: 600px) {
  .hero::before {
    background-image: url("images/hero-mobile.jpg") !important;
    background-size: cover !important;
    background-position: center top !important;
    opacity: 1 !important; /* ensure full brightness */
  }
}



