/*
Theme Name: Wu Tan Alaska
Theme URI: https://wutanalaska.com
Author: Wu Tan Alaska
Author URI: https://wutanalaska.com
Description: Custom WordPress theme for Wu Tan Alaska — Traditional Chinese Martial Arts. Student-acquisition focused design with ink wash aesthetic, gold accents, and mobile-responsive layout. Includes built-in SEO optimization, security hardening, and PayPal integration support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wutan-alaska
Tags: one-column, custom-menu, featured-images, full-width-template, custom-logo, translation-ready
*/

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
  --ink: #0a0a0a;
  --cream: #faf8f4;
  --gold: #c9a84c;
  --gold-light: #e8d49a;
  --gold-dark: #a6872e;
  --warm-gray: #6b6560;
  --light-gray: #e8e4df;
  --deep-red: #8b2020;
  --bg-dark: #111111;
  --bg-section: #f5f2ed;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max-width: 1280px;
  --gutter: 2rem;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { transition: all 0.25s ease; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--gutter);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}

.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.logo-tagline {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
}

.header-phone {
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 500;
}

.header-phone:hover { color: var(--gold-light); }

/* Primary Navigation */
.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.7);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--gold);
}

/* CTA Nav Item */
.primary-nav .menu-item-cta > a,
.nav-cta {
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  border-radius: 4px;
  padding: 0.5rem 1rem !important;
}

.primary-nav .menu-item-cta > a:hover,
.nav-cta:hover {
  background: var(--gold-light) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  
  .primary-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark);
    padding: 5rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }
  
  .primary-nav.open { right: 0; }
  
  .primary-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .primary-nav a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    display: block;
  }
  
  .primary-nav .menu-item-cta > a {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250,248,244,0.2);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--light-gray);
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.btn-full { width: 100%; justify-content: center; }

/* =========================================
   SECTION SYSTEM
   ========================================= */
section,
.page-section {
  padding: 6rem var(--gutter);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.bg-cream { background: var(--cream); }
.bg-section { background: var(--bg-section); }
.bg-dark { background: var(--bg-dark); color: var(--cream); }

/* =========================================
   HERO SECTION (Front Page)
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,32,32,0.04) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem var(--gutter) 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.15s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(250,248,244,0.65);
  margin-bottom: 2.5rem;
  max-width: 460px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-character {
  font-family: var(--serif);
  font-size: 22rem;
  font-weight: 700;
  color: rgba(201,168,76,0.04);
  line-height: 1;
  user-select: none;
  position: absolute;
  pointer-events: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 2rem;
  background: rgba(250,248,244,0.03);
  border: 1px solid rgba(250,248,244,0.06);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  width: 100%;
  max-width: 420px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.45);
  margin-top: 0.35rem;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-top: 7rem;
  }
  .hero-content { max-width: 100%; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-character { font-size: 14rem; }
}

/* =========================================
   CLASS CARDS
   ========================================= */
.classes-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.class-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: all 0.35s ease;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,10,10,0.08);
  border-color: var(--gold);
}

.class-card-image {
  height: 200px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.class-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.class-card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(10,10,10,0.4));
  pointer-events: none;
}

.class-age-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  z-index: 2;
}

.class-icon {
  font-size: 3.5rem;
  opacity: 0.6;
}

.class-card-body {
  padding: 1.5rem;
}

.class-card-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.class-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--warm-gray);
  margin-bottom: 1.25rem;
}

.class-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease;
}

.class-card-link:hover {
  gap: 0.75rem;
  color: var(--deep-red);
}

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: var(--bg-dark);
  padding: 4rem var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06), transparent 50%, rgba(139,32,32,0.04));
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(250,248,244,0.6);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* =========================================
   INSTRUCTOR CARDS
   ========================================= */
.instructors-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.instructor-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(10,10,10,0.06);
}

.instructor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  position: relative;
}

.instructor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.instructor-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.3;
}

.instructor-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.instructor-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.instructor-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--warm-gray);
}

/* Heritage Box */
.lineage-heritage {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.lineage-heritage p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--warm-gray);
}

.lineage-heritage a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  font-weight: 500;
}

.lineage-heritage a:hover { color: var(--deep-red); }

/* =========================================
   SCHEDULE
   ========================================= */
.schedule-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.day-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid var(--light-gray);
  transition: border-color 0.3s ease;
}

.day-card:hover { border-color: var(--gold); }

.day-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.day-class {
  display: flex;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
}

.day-time {
  color: var(--gold-dark);
  font-weight: 600;
  white-space: nowrap;
  min-width: 100px;
}

.day-class-name { color: var(--warm-gray); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  padding: 2.5rem;
  background: rgba(250,248,244,0.03);
  border: 1px solid rgba(250,248,244,0.06);
  border-radius: 12px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(250,248,244,0.7);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--cream);
  font-size: 0.88rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.85rem;
  color: var(--warm-gray);
  text-decoration: none;
}

.contact-detail-text a:hover { color: var(--gold-dark); }

/* =========================================
   FORMS (CF7 / WPForms compatible)
   ========================================= */
.wutan-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.wutan-form h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.wutan-form .form-subtitle {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

/* Override CF7 default styles */
.wpcf7 .form-group,
.form-group {
  margin-bottom: 1rem;
}

.wpcf7 label,
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.35rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  background: var(--cream);
  transition: border-color 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.wpcf7 textarea,
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.wpcf7 input[type="submit"] {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--gold-light);
}

/* =========================================
   PAGE HEADERS (Interior pages)
   ========================================= */
.page-hero {
  background: var(--bg-dark);
  padding: 8rem var(--gutter) 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--cream);
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

.page-hero .page-hero-sub {
  color: rgba(250,248,244,0.6);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero .dots-decoration {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

/* =========================================
   CONTENT PAGES
   ========================================= */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem var(--gutter);
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--warm-gray);
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}

.page-content a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.page-content a:hover { color: var(--deep-red); }

/* Style Description Blocks */
.style-block {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  scroll-margin-top: 100px;
}

.style-block h3 {
  margin-top: 0;
  color: var(--ink);
}

.style-schedule {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

/* =========================================
   PAY / STORE PAGE
   ========================================= */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.store-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: all 0.3s ease;
}

.store-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(10,10,10,0.06);
}

.store-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.store-card p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
}

.store-card .paypal-btn {
  margin-top: 1rem;
}

/* PayPal button integration */
.store-card form {
  display: inline-block;
}

.store-card input[type="image"] {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.store-card input[type="image"]:hover { opacity: 0.8; }

/* Donate section */
.donate-section {
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-dark);
  border-radius: 12px;
  color: var(--cream);
}

.donate-section h3 { color: var(--gold); margin-bottom: 1rem; }
.donate-section p { color: rgba(250,248,244,0.65); }

/* =========================================
   PHOTO GALLERY
   ========================================= */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-gallery img {
  border-radius: 8px;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.photo-gallery img:hover { transform: scale(1.02); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--ink);
  color: rgba(250,248,244,0.5);
  padding: 4rem var(--gutter) 2rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,248,244,0.06);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 300px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-nav a {
  display: block;
  color: rgba(250,248,244,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0;
}

.footer-col a:hover,
.footer-nav a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(250,248,244,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--cream);
  padding: 0;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* WordPress-specific */
.wp-block-image img { border-radius: 8px; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .nav-overlay { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; background: #fff; }
  .hero h1, .hero-description { color: #000; }
}
