/*
Theme Name: Serbatik
Theme URI: https://serbatik.net
Description: Custom theme for Serbatik Martial Arts & Fitness
Version: 1.0.0
Author: Nathan Bowman
Author URI: https://serbatik.net
Text Domain: serbatik
*/

/* ============================================
   SERBATIK — Design System & Styles
   Traditional Art. Modern Practice.
   ============================================ */

/* === Custom Properties === */
:root {
    /* Brand Colors */
    --color-base-darkest: #1a1714;
    --color-base-dark: #2a2520;
    --color-base-medium: #3d3632;
    --color-base-light: #5a504a;

    --color-gold: #c9a84c;
    --color-gold-light: #dfc06a;
    --color-gold-dark: #a88a32;

    --color-copper: #b87333;
    --color-deep-red: #8b2500;

    --color-cream: #f5f0e8;
    --color-cream-muted: #d4cdc2;

    /* Functional Colors */
    --color-text-primary: #f5f0e8;
    --color-text-secondary: #d4cdc2;
    --color-text-muted: #8a7f76;
    --color-text-accent: var(--color-gold);

    --color-bg-body: var(--color-base-darkest);
    --color-bg-card: var(--color-base-dark);
    --color-bg-card-hover: #332e28;
    --color-bg-section-alt: #211d19;

    --color-border: rgba(201, 168, 76, 0.15);
    --color-border-strong: rgba(201, 168, 76, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Inter', sans-serif;

    /* Type Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --nav-height: 72px;
    --section-padding: var(--space-5xl) var(--space-xl);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

ul, ol {
    list-style: none;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
}

h1 { font-size: var(--text-4xl); font-weight: 800; letter-spacing: -1.5px; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-cream { color: var(--color-cream); }
.text-muted { color: var(--color-text-muted); }

.overline {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.section-heading {
    margin-bottom: var(--space-md);
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin-top: var(--space-md);
}

.section-heading.centered::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-2xl);
}

.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
}

/* === Layout === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

.section {
    padding: var(--space-4xl) var(--space-xl);
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(26, 23, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-cream);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-brand:hover {
    color: var(--color-gold);
}

.nav-links {
    display: none;
    gap: var(--space-2xl);
    align-items: center;
}

.nav-links a {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-cream-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
    color: var(--color-cream);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

/* Hamburger */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-sm);
    background: none;
    border: none;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-cream);
    transition: all var(--transition-base);
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 23, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

.nav-overlay a {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--color-cream);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-overlay a:hover {
    color: var(--color-gold);
}

/* === Buttons === */
.btn {
    display: inline-block;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-base-darkest);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    color: var(--color-base-darkest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-cream);
    border-color: var(--color-cream);
}

.btn-outline:hover {
    background: rgba(245, 240, 232, 0.1);
    color: var(--color-cream);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-copper);
    color: var(--color-cream);
    border-color: var(--color-copper);
}

.btn-secondary:hover {
    background: #ca8343;
    color: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(184, 115, 51, 0.3);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: var(--text-base);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* === Cards === */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-strong);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--color-base-medium) 0%, rgba(184, 115, 51, 0.2) 50%, var(--color-base-dark) 100%);
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

/* === Hero Sections === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--space-5xl) var(--space-xl);
    padding-top: calc(var(--nav-height) + var(--space-4xl));
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--color-base-darkest) 0%,
        #2a2218 30%,
        rgba(184, 115, 51, 0.15) 60%,
        var(--color-base-darkest) 100%
    );
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(201, 168, 76, 0.08) 0%,
        transparent 70%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: var(--text-4xl);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: scrollBounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-gold);
    stroke-width: 2;
    fill: none;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* Page Heroes (inner pages — shorter) */
.page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
    overflow: hidden;
}

.page-hero .hero-bg {
    background: linear-gradient(
        135deg,
        var(--color-base-darkest) 0%,
        #231f1a 40%,
        rgba(184, 115, 51, 0.1) 70%,
        var(--color-base-darkest) 100%
    );
}

.page-hero h1 {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.page-hero .overline {
    margin-bottom: var(--space-lg);
}

/* === Philosophy / Quote Section === */
.philosophy-section {
    padding: var(--space-4xl) var(--space-xl);
    background: var(--color-bg-section-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.philosophy-quote {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-style: italic;
    color: var(--color-cream);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: var(--space-2xl) 0;
}

.philosophy-quote::before,
.philosophy-quote::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto var(--space-xl);
}

.philosophy-quote::after {
    margin: var(--space-xl) auto 0;
}

/* === Testimonials === */
.testimonials-section {
    padding: var(--space-4xl) var(--space-xl);
}

.testimonial-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 200px;
}

.testimonial-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-cream);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.testimonial-text::before {
    content: '\201C';
    display: block;
    font-size: var(--text-5xl);
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-copper), var(--color-gold));
    margin-bottom: var(--space-sm);
}

.testimonial-name {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-detail {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-base-medium);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-gold);
}

/* === Community Gallery === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-item-bg {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-item-bg {
    transform: scale(1.05);
}

.gallery-item:nth-child(1) .gallery-item-bg { background: linear-gradient(135deg, #2a2218 0%, rgba(184, 115, 51, 0.3) 100%); }
.gallery-item:nth-child(2) .gallery-item-bg { background: linear-gradient(135deg, #1f2a1e 0%, rgba(201, 168, 76, 0.2) 100%); }
.gallery-item:nth-child(3) .gallery-item-bg { background: linear-gradient(135deg, #2a1f1f 0%, rgba(139, 37, 0, 0.2) 100%); }
.gallery-item:nth-child(4) .gallery-item-bg { background: linear-gradient(135deg, #1a2028 0%, rgba(184, 115, 51, 0.2) 100%); }
.gallery-item:nth-child(5) .gallery-item-bg { background: linear-gradient(135deg, #28221a 0%, rgba(201, 168, 76, 0.3) 100%); }
.gallery-item:nth-child(6) .gallery-item-bg { background: linear-gradient(135deg, #221a28 0%, rgba(184, 115, 51, 0.15) 100%); }

/* === CTA Section === */
.cta-section {
    padding: var(--space-5xl) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    position: relative;
}

.cta-section p {
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
    position: relative;
}

.cta-section .btn {
    position: relative;
}

/* === Footer === */
.footer {
    background: var(--color-base-dark);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-cream);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.footer h4 {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.footer-links a {
    display: block;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    font-size: var(--text-lg);
}

.footer-social a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.1);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* === Tenets Section === */
.tenets-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.tenet-item {
    text-align: center;
    flex: 0 1 140px;
}

.tenet-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-size: var(--text-xl);
    color: var(--color-gold);
}

.tenet-word {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-cream);
    margin-bottom: var(--space-xs);
}

.tenet-translation {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Full Tenets (About page) */
.tenet-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    border-left: 3px solid var(--color-gold);
    margin-bottom: var(--space-2xl);
}

.tenet-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.tenet-card .tenet-icon {
    margin: 0;
    flex-shrink: 0;
}

.tenet-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-cream);
}

.tenet-card-subtitle {
    font-size: var(--text-sm);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* === Two Column Layout === */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.two-col-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-base-medium) 0%, rgba(184, 115, 51, 0.2) 50%, var(--color-base-dark) 100%);
}

/* === Instructor Cards === */
.instructor-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.instructor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.instructor-photo {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-base-medium) 0%, rgba(201, 168, 76, 0.15) 100%);
}

.instructor-info {
    padding: var(--space-2xl);
}

.instructor-name {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
}

.instructor-title {
    font-size: var(--text-sm);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.instructor-quote {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-cream-muted);
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    border-left: 2px solid var(--color-gold);
}

.instructor-bio {
    margin-bottom: var(--space-md);
}

.instructor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* === Tags / Badges === */
.tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-strong);
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.1);
}

.badge {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--color-gold);
    color: var(--color-base-darkest);
}

.badge-copper {
    background: var(--color-copper);
    color: var(--color-cream);
}

.badge-red {
    background: var(--color-deep-red);
    color: var(--color-cream);
}

/* === Forms === */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem var(--space-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-cream);
    background: var(--color-base-darkest);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a7f76' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

/* === Pricing Cards === */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card.featured {
    border-color: var(--color-gold);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-base-darkest);
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
}

.pricing-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-cream);
    margin-bottom: var(--space-xs);
}

.pricing-price span {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-features {
    text-align: left;
    margin: var(--space-xl) 0;
}

.pricing-features li {
    padding: var(--space-sm) 0;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.pricing-features li::before {
    content: '\2713';
    color: var(--color-gold);
    font-weight: 700;
}

/* === FAQ Accordion === */
.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-cream);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer-inner {
    padding-bottom: var(--space-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* === Curriculum Timeline === */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: var(--space-2xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline-dot {
    position: absolute;
    left: calc(-1 * var(--space-2xl) + 4px);
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-gold);
    border: 3px solid var(--color-base-darkest);
}

.timeline-item:nth-child(2) .timeline-dot { background: var(--color-copper); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--color-deep-red); }
.timeline-item:nth-child(4) .timeline-dot { background: var(--color-cream); }

.timeline-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
}

.timeline-duration {
    font-size: var(--text-sm);
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.timeline-desc {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

/* === Why Serbatik Grid === */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.why-item {
    display: flex;
    gap: var(--space-md);
    align-items: start;
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: var(--text-xl);
    color: var(--color-gold);
}

.why-text h4 {
    font-family: var(--font-accent);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.why-text p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* === Location === */
.location-map {
    aspect-ratio: 16 / 9;
    background: var(--color-base-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* === Scroll Animations === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* === Utility === */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.list-check li {
    padding: var(--space-sm) 0;
    color: var(--color-text-secondary);
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.list-check li::before {
    content: '\2713';
    color: var(--color-gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    h1 { font-size: var(--text-5xl); }
    h2 { font-size: var(--text-4xl); }

    .hero h1 { font-size: var(--text-5xl); }
    .page-hero h1 { font-size: var(--text-5xl); }

    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-block;
    }

    .nav-toggle {
        display: none;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr 1fr;
    }

    .two-col.reverse > :first-child {
        order: 2;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1.05);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .philosophy-quote {
        font-size: var(--text-3xl);
    }

}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero h1 { font-size: var(--text-6xl); }

    .section {
        padding: var(--space-5xl) var(--space-xl);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .two-col {
        gap: var(--space-4xl);
    }
}

/* === Image Integration === */
.hero-bg img,
.page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg img {
    opacity: 0.35;
}

.page-hero .hero-bg img {
    opacity: 0.25;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.two-col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-brand-logo {
    height: 40px;
    width: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.footer-brand-logo {
    height: 48px;
    width: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-bottom: var(--space-sm);
}

/* === WordPress Specific === */
.nav-links .menu-item a {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-cream-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-links .menu-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-links .menu-item a:hover::after,
.nav-links .current-menu-item a::after {
    width: 100%;
}

/* WPForms Style Overrides */
.wpforms-container .wpforms-form .wpforms-field-label {
    display: block;
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
    width: 100%;
    padding: 0.875rem var(--space-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-cream);
    background: var(--color-base-darkest);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form select:focus,
.wpforms-container .wpforms-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.wpforms-container .wpforms-form .wpforms-submit-container button {
    display: inline-block;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-gold);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--color-gold);
    color: var(--color-base-darkest);
    width: 100%;
}

.wpforms-container .wpforms-form .wpforms-submit-container button:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* === Appointment Badge === */
.appointment-badge {
    display: inline-block;
    padding: 0.4em 1.2em;
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-full, 100px);
    margin-bottom: var(--space-md);
}

/* === Lineage Timeline === */
.lineage-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: var(--space-2xl);
}

.lineage-step {
    text-align: center;
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    min-width: 280px;
    max-width: 400px;
    width: 100%;
}

.lineage-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-cream);
    margin-bottom: 0.25em;
}

.lineage-role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
}

.lineage-connector {
    color: var(--color-gold);
    padding: var(--space-sm) 0;
}

/* === Philosophy Attribution === */
.philosophy-attribution {
    text-align: center;
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    color: var(--color-gold);
    letter-spacing: 1px;
    margin-top: var(--space-md);
}

/* === Instructor Card Enhancements === */
.instructor-years {
    font-size: var(--text-sm);
    color: var(--color-gold);
    font-family: var(--font-accent);
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.instructor-lineage,
.instructor-certifications {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    line-height: 1.6;
}

.instructor-lineage strong,
.instructor-certifications strong {
    color: var(--color-cream);
}

/* === Responsive: Lineage Timeline === */
@media (max-width: 480px) {
    .lineage-step {
        min-width: auto;
        padding: var(--space-md);
    }

    .lineage-name {
        font-size: var(--text-lg);
    }
}

/* Print */
@media print {
    .navbar, .nav-overlay, .scroll-indicator, .footer { display: none; }
    body { color: #000; background: #fff; }
    .hero { min-height: auto; padding: 2rem; }
    .section { padding: 2rem 1rem; }
}
