﻿/*
Theme Name: Soul & Strike Academy
Theme URI: https://soulstrike.co.za
Author: Soul & Strike Academy
Description: One-page theme for Soul & Strike Academy (formerly Alberton Martial Arts and Fitness) — Goju-Ryu Karate, Traditional Kobudo, Kickboxing and fitness classes in Brackenhurst, Alberton.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soulstrike
*/
/* ===== Soul & Strike Academy ===== */
:root {
  --ink: #15120f;
  --ink-soft: #241f1a;
  --cream: #f3eee3;
  --cream-dim: #e6dfd0;
  --red: #c1272d;
  --red-deep: #9b1c21;
  --grey: #7a7368;
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.red { color: var(--red); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-kicker {
  text-transform: uppercase; letter-spacing: .35em; font-size: .78rem;
  font-weight: 600; color: var(--red); margin-bottom: .9rem;
}
.section-note { opacity: .7; margin-bottom: 1.6rem; font-size: .95rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: .95rem;
  letter-spacing: .04em; transition: transform .2s, box-shadow .2s, background .2s;
  border: none; cursor: pointer; font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 28px rgba(193,39,45,.4); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(243,238,227,.5); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(243,238,227,.08); }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(21,18,15,.55); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243,238,227,.08);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(21,18,15,.92); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo {
  height: 52px; width: 52px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(243,238,227,.25);
}
.nav-title {
  font-family: var(--font-display); font-weight: 700; color: var(--cream);
  font-size: 1.05rem; letter-spacing: .06em; line-height: 1.1; display: flex; flex-direction: column;
}
.nav-title em { font-style: normal; color: var(--red); }
.nav-title small {
  font-family: var(--font-body); font-size: .58rem; letter-spacing: .52em;
  color: var(--grey); font-weight: 500; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--cream); text-decoration: none; font-size: .92rem; font-weight: 500;
  opacity: .85; transition: opacity .2s, color .2s;
}
.nav-links a:hover { opacity: 1; color: #fff; }
.nav-links .nav-cta {
  background: var(--red); padding: 10px 22px; border-radius: 999px; opacity: 1;
}
.nav-links .nav-cta:hover { background: var(--red-deep); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--ink); color: var(--cream); overflow: hidden;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,18,15,.78) 0%, rgba(21,18,15,.45) 45%, rgba(21,18,15,.88) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 130px 0 90px; }
.hero-logo {
  width: clamp(130px, 16vw, 185px); aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; margin: 0 auto 26px;
  box-shadow: 0 0 0 4px rgba(243,238,227,.18), 0 12px 40px rgba(0,0,0,.5);
}
.hero-kicker {
  text-transform: uppercase; letter-spacing: .4em; font-size: .75rem;
  color: var(--cream-dim); opacity: .85; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.5rem, 6.5vw, 4.6rem); font-weight: 900; margin-bottom: 22px; }
.hero-sub { max-width: 620px; margin: 0 auto 36px; font-size: 1.08rem; opacity: .88; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--cream); opacity: .5; font-size: .8rem; animation: bob 2s ease-in-out infinite; z-index: 2;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===== Rebrand strip ===== */
.rebrand-strip {
  background: var(--red); color: #fff; text-align: center;
  padding: 14px 0; font-size: .95rem;
}
.rebrand-strip strong { font-weight: 700; }

/* ===== About ===== */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/4.6; object-fit: cover; }
.about-media.media-fallback {
  border-radius: var(--radius); aspect-ratio: 4/4.6;
  background: radial-gradient(circle at 30% 20%, #3a322a, var(--ink));
}
.about-badge {
  position: absolute; bottom: -22px; right: -14px; background: var(--ink); color: var(--cream);
  border-radius: var(--radius); padding: 18px 24px; display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow); font-size: .82rem; line-height: 1.3;
}
.about-badge .big { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--red); }
.about-text blockquote {
  border-left: 3px solid var(--red); padding: 6px 0 6px 20px; margin: 24px 0;
  font-style: italic; color: #4a4239; font-size: 1.04rem;
}
.about-text cite { display: block; margin-top: 8px; font-style: normal; font-size: .88rem; color: var(--grey); }
.about-text p + p { margin-top: 14px; }
.about-points { list-style: none; margin-top: 22px; }
.about-points li { padding-left: 30px; position: relative; margin-bottom: 10px; font-weight: 500; }
.about-points li::before {
  content: "âœ¦"; position: absolute; left: 0; color: var(--red); font-size: 1rem;
}

/* ===== Disciplines ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.card {
  background: var(--ink-soft); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(243,238,227,.07); transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: rgba(193,39,45,.5); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: #2c2620; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img.media-fallback { background: radial-gradient(circle at 50% 30%, #463a2e, #211c17); }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.15rem; color: var(--cream); }
.card-body p { font-size: .9rem; opacity: .75; flex: 1; }
.card-tag {
  align-self: flex-start; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); border: 1px solid rgba(193,39,45,.45); padding: 4px 12px; border-radius: 999px;
}

/* ===== Values ===== */
.values { text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.value-icon {
  width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--ink); color: var(--red); font-size: 2rem; display: flex;
  align-items: center; justify-content: center; font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(193,39,45,.5);
}
.value h3 { margin-bottom: 8px; font-size: 1.15rem; }
.value p { font-size: .92rem; color: #4a4239; }

/* ===== Schedule ===== */
.table-wrap { overflow-x: auto; margin-top: 14px; border-radius: var(--radius); }
.schedule table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--ink-soft); }
.schedule th, .schedule td {
  padding: 16px 14px; text-align: center; border: 1px solid rgba(243,238,227,.08); font-size: .9rem;
}
.schedule th {
  background: rgba(193,39,45,.15); font-family: var(--font-display);
  letter-spacing: .06em; font-size: .85rem;
}
.schedule td:first-child { font-weight: 600; color: var(--red); white-space: nowrap; }
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 8px; font-size: .8rem;
  font-weight: 600; line-height: 1.3;
}
.pill-karate { background: rgba(193,39,45,.2); color: #ff9d9d; }
.pill-kick { background: rgba(230,150,40,.16); color: #ffc97e; }
.pill-kobudo { background: rgba(70,140,220,.16); color: #9ec8ff; }
.pill-fit { background: rgba(90,180,120,.16); color: #9fe0b8; }

/* ===== Instructors ===== */
.instructor-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 30px 0 48px;
}
.instructor-card {
  background: #fbf8f1; border: 1px solid rgba(21,18,15,.08); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: 0 10px 30px rgba(0,0,0,.07);
}
.instructor-card h3 { font-size: 1.35rem; }
.instructor-feature {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-top: 30px;
}
.instructor-text h3 { font-size: 1.6rem; }
.instructor-role {
  color: var(--red); text-transform: uppercase; letter-spacing: .25em;
  font-size: .75rem; font-weight: 600; margin: 6px 0 18px;
}
.instructor-text p + p { margin-top: 14px; }
.instructor-quote {
  background: var(--ink); color: var(--cream); border-radius: var(--radius);
  padding: 42px 36px; position: relative; box-shadow: var(--shadow);
}
.instructor-quote .quote-mark {
  font-family: var(--font-display); font-size: 5rem; color: var(--red);
  position: absolute; top: -8px; left: 22px; line-height: 1;
}
.instructor-quote p { font-size: 1.25rem; font-family: var(--font-display); line-height: 1.5; margin-top: 14px; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: #fff; text-align: center; padding: clamp(56px, 8vw, 90px) 0;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band h2 .red { color: var(--ink); }
.cta-band p { opacity: .92; margin-bottom: 28px; }
.cta-band .btn-red { background: var(--ink); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.cta-band .btn-red:hover { background: #000; }

/* ===== Contact ===== */
.contact .grid-2 { align-items: start; }
.contact-list { list-style: none; margin-top: 26px; }
.contact-list li { margin-bottom: 22px; display: flex; flex-direction: column; gap: 3px; }
.contact-label {
  text-transform: uppercase; letter-spacing: .25em; font-size: .7rem;
  color: var(--grey); font-weight: 600;
}
.contact-list a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(193,39,45,.5); }
.contact-list a:hover { color: #fff; border-color: var(--red); }
.contact-map {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(243,238,227,.1); min-height: 380px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: #0d0b09; color: var(--cream); padding: 54px 0; }
.footer-grid { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.footer-brand p { font-family: var(--font-display); font-weight: 700; text-align: left; line-height: 1.3; }
.footer-brand small { font-family: var(--font-body); font-weight: 400; opacity: .55; font-size: .75rem; }
.footer-verse { font-style: italic; opacity: .6; font-size: .9rem; max-width: 520px; }
.footer-copy { opacity: .4; font-size: .8rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .instructor-feature { grid-template-columns: 1fr; }
  .instructor-duo { grid-template-columns: 1fr; }
  .about-badge { right: 10px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; right: 0; flex-direction: column; align-items: flex-start;
    background: rgba(21,18,15,.97); width: min(320px, 80vw); height: calc(100svh - 72px);
    padding: 36px 30px; gap: 24px; transform: translateX(100%); transition: transform .3s;
  }
  .nav-links.open { transform: none; }
  .cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

