/*
Theme Name: Ching Mo Martial Arts
Theme URI: https://yourwebsite.com
Author: Your Name
Description: Custom fast lightweight martial arts theme
Version: 1.0
License: GNU General Public License v2
Text Domain: chingmo-theme
*/

/* ============================================
   RESET & BASE
============================================ */

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

:root {
    --primary: #C41E3A;
    --primary-dark: #A3172E;
    --secondary: #1a1a1a;
    --gold: #D4AF37;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --mid-gray: #666666;
    --dark-gray: #333333;
    --border: #eeeeee;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container: 1200px;
    --radius: 6px;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(18px, 2vw, 22px); }

p {
    margin-bottom: 1rem;
    color: var(--mid-gray);
    font-size: 16px;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

/* ============================================
   LAYOUT
============================================ */

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

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-lg {
    padding: 120px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   GRID SYSTEM
============================================ */

.grid {
    display: grid;
    gap: 30px;
}

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

.flex {
    display: flex;
    gap: 20px;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    align-items: center;
    justify-content: space-between;
}

/* ============================================
   BUTTONS
============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,30,58,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-dark:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-gold:hover {
    background: #c4a02a;
    border-color: #c4a02a;
    transform: translateY(-2px);
}

/* ============================================
   SECTION HEADINGS
============================================ */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: var(--container);
    margin: 0 auto;
    height: 80px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 55px;
    width: auto;
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo .logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--secondary);
    line-height: 1.2;
}

.site-logo .logo-tagline {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav ul li a {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: block;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
    color: var(--primary);
    background: rgba(196,30,58,0.06);
}

/* Dropdown */
.main-nav ul li {
    position: relative;
}

.main-nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    flex-direction: column;
    gap: 0;
    z-index: 100;
    border-top: 3px solid var(--primary);
}

.main-nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li ul li a {
    padding: 12px 20px;
    border-radius: 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    display: block;
}

.main-nav ul li ul li:last-child a {
    border-bottom: none;
}

/* CTA Button in nav */
.nav-cta a {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius) !important;
}

.nav-cta a:hover {
    background: var(--primary-dark) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
}

/* ============================================
   HERO SECTION
============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.75) 0%,
        rgba(196,30,58,0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(36px, 6vw, 68px);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
    margin: -10px auto;
}

@keyframes bounce {
    0%, 100% { bottom: 30px; }
    50% { bottom: 20px; }
}

/* ============================================
   STATS BAR
============================================ */

.stats-bar {
    background: var(--primary);
    padding: 25px 0;
}

.stats-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    display: block;
}

/* ============================================
   ABOUT PREVIEW
============================================ */

.about-preview {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: var(--shadow);
}

.about-image-badge .years {
    font-size: 36px;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content .subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-features {
    margin: 25px 0;
}

.about-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(196,30,58,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================
   CLASSES SECTION
============================================ */

.classes-section {
    background: var(--light-gray);
}

.class-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.class-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.class-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover .class-card-image img {
    transform: scale(1.1);
}

.class-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
}

.class-card-body {
    padding: 25px;
}

.class-card-body h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.class-card-body p {
    font-size: 14px;
    margin-bottom: 15px;
}

.class-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.class-meta span {
    font-size: 12px;
    color: var(--mid-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.class-meta span::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* ============================================
   UPCOMING EVENTS (Homepage Calendar List)
============================================ */

.events-section {
    background: var(--white);
}

.events-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    align-items: flex-start;
    border-left: 4px solid var(--primary);
}

.event-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
    border-left-color: var(--gold);
}

.event-date {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    text-align: center;
    padding: 12px 16px;
    min-width: 65px;
    flex-shrink: 0;
}

.event-date .day {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.event-date .month {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 3px;
    display: block;
}

.event-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--secondary);
}

.event-info p {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--mid-gray);
}

.event-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.event-meta span {
    font-size: 12px;
    color: var(--mid-gray);
}

.event-type {
    background: rgba(196,30,58,0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

/* Events Sidebar */
.events-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.mini-calendar-link {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 600;
    margin-top: 15px;
}

/* ============================================
   FULL CALENDAR PAGE
============================================ */

.calendar-page-header {
    background: linear-gradient(
        135deg,
        var(--secondary) 0%,
        var(--primary) 100%
    );
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.calendar-page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.calendar-page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
}

.calendar-filters {
    background: var(--light-gray);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.calendar-container {
    padding: 60px 0;
}

/* Events Calendar Plugin Overrides */
.tribe-events-calendar,
.tribe-events-list {
    font-family: var(--font-body) !important;
}

.tribe-events-calendar th {
    background: var(--primary) !important;
    color: var(--white) !important;
    font-family: var(--font-heading) !important;
    padding: 12px !important;
}

.tribe-events-calendar td {
    border: 1px solid var(--border) !important;
    padding: 10px !important;
}

.tribe-event-featured-image img {
    border-radius: var(--radius) !important;
}

/* ============================================
   TIMETABLE SECTION
============================================ */

.timetable-section {
    background: var(--secondary);
    padding: 80px 0;
}

.timetable-section .section-title h2 {
    color: var(--white);
}

.timetable-section .section-title h2::after {
    background: var(--gold);
}

.timetable-section .section-title p {
    color: rgba(255,255,255,0.7);
}

.timetable-grid {
    display: grid;
    grid-template-columns: 100px repeat(6, 1fr);
    gap: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.timetable-header {
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    padding: 15px 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timetable-time {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    padding: 15px 8px;
    text-align: center;
    font-weight: 600;
}

.timetable-cell {
    background: rgba(255,255,255,0.03);
    padding: 10px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.timetable-class {
    background: rgba(196,30,58,0.8);
    border-radius: 4px;
    padding: 8px;
    width: 100%;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.timetable-class:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.timetable-class.kids {
    background: rgba(0,100,200,0.8);
}

.timetable-class.kids:hover {
    background: #0064C8;
}

.timetable-class.advanced {
    background: rgba(150,0,0,0.8);
}

.timetable-class.advanced:hover {
    background: #960000;
}

.timetable-class.ladies {
    background: rgba(120,0,150,0.8);
}

.timetable-class.ladies:hover {
    background: #780096;
}

.timetable-class.weapons {
    background: rgba(180,120,0,0.8);
}

.timetable-class.weapons:hover {
    background: #B47800;
}

.timetable-class .class-name {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
}

.timetable-class .class-time {
    display: block;
    font-size: 10px;
    opacity: 0.85;
}

/* Legend */
.timetable-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ============================================
   INSTRUCTORS SECTION
============================================ */

.instructors-section {
    background: var(--light-gray);
}

.instructor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.instructor-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.08);
}

.instructor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(196,30,58,0.9) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.instructor-card:hover .instructor-overlay {
    opacity: 1;
}

.instructor-social {
    display: flex;
    gap: 10px;
}

.instructor-social a {
    color: var(--white);
    width: 35px;
    height: 35px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}

.instructor-social a:hover {
    background: var(--white);
    color: var(--primary);
}

.instructor-info {
    padding: 25px;
}

.instructor-info h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.instructor-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.instructor-belt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--mid-gray);
    font-weight: 600;
    margin-bottom: 12px;
}

.belt-color {
    width: 20px;
    height: 8px;
    border-radius: 2px;
    display: inline-block;
}

.belt-black { background: #000; }
.belt-red { background: var(--primary); }
.belt-brown { background: #795548; }

/* ============================================
   TESTIMONIALS
============================================ */

.testimonials-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 20px;
    font-size: 400px;
    color: rgba(196,30,58,0.04);
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
}

.testimonial-card {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 35px;
    position: relative;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--primary);
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 13px;
    color: var(--mid-gray);
}

.stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 15px;
}

/* ============================================
   CTA SECTION
============================================ */

.cta-section {
    background: linear-gradient(
        135deg,
        var(--secondary) 0%,
        var(--primary) 100%
    );
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/cta-pattern.png') center/cover;
    opacity: 0.05;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 35px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
============================================ */

.contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--secondary);
}

.contact-detail p {
    font-size: 14px;
    margin: 0;
}

.contact-detail a {
    color: var(--mid-gray);
}

.contact-detail a:hover {
    color: var(--primary);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
    margin-top: 25px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    margin-bottom: 25px;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark-gray);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

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

/* ============================================
   FOOTER
============================================ */

.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-widget h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    font-family: var(--font-heading);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: var(--primary);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-contact-item span:first-child {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-hours {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 20px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

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

/* ============================================
   PAGE HERO (Inner Pages)
============================================ */

.page-hero {
    background: linear-gradient(
        135deg,
        var(--secondary) 0%,
        #2d0a12 100%
    );
    padding: 80px 0 60px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--gold),
        var(--primary)
    );
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    font-size: 13px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: rgba(255,255,255,0.3);
}

.breadcrumb .current {
    color: var(--gold);
}

/* ============================================
   MOBILE MENU
============================================ */

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu ul li a {
    display: block;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary);
    border-radius: var(--radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-menu ul li a:hover {
    background: rgba(196,30,58,0.08);
    color: var(--primary);
}

.mobile-menu .mobile-cta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

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

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .timetable-grid {
        grid-template-columns: 80px repeat(6, 1fr);
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-badge {
        bottom: 10px;
        right: 10px;
        width: 90px;
        height: 90px;
    }

    .about-image-badge .years {
        font-size: 26px;
    }

    .events-wrapper {
        grid-template-columns: 1fr;
    }

    .events-sidebar {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-inner {
        gap: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

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

    .timetable-grid {
        display: none;
    }

    .timetable-mobile {
        display: block;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 80vh;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        align-self: flex-start;
    }

    .section {
        padding: 60px 0;
    }
}

/* ============================================
   ANIMATIONS
============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease forwards;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
============================================ */

.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--mid-gray); }

.bg-primary { background: var(--primary); }
.bg-dark { background: var(--secondary); }
.bg-light { background: var(--light-gray); }
.bg-white { background: var(--white); }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
/* ============================================
   IMAGE UPLOAD & GALLERY STYLES
============================================ */

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

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(196,30,58,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    gap: 10px;
}

.gallery-overlay i {
    font-size: 28px;
}

.gallery-overlay span {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 0 10px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: 2px dashed #ddd;
    border-radius: var(--radius);
    color: #bbb;
    gap: 10px;
}

.gallery-placeholder i {
    font-size: 36px;
}

.gallery-placeholder span {
    font-size: 12px;
    text-align: center;
    padding: 0 15px;
}

.admin-image-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
}

.admin-image-hint a {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
}

/* ============================================
   TIMELINE STYLES
============================================ */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--gold));
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 97px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    min-width: 80px;
    text-align: right;
    padding-top: 4px;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 25px;
    box-shadow: var(--shadow);
    flex: 1;
    border-left: 3px solid var(--primary);
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    margin: 0;
}

/* ============================================
   VALUE CARDS (About Page)
============================================ */

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.value-card:hover {
    background: rgba(255,255,255,0.08);
    border-bottom-color: var(--primary);
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.value-card h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   INSTRUCTOR FULL CARD STYLES
============================================ */

.instructors-full-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.instructor-full-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
}

.instructor-full-card:nth-child(even) {
    grid-template-columns: 1fr 350px;
}

.instructor-full-card:nth-child(even) .instructor-full-image {
    order: 2;
}

.instructor-full-card:nth-child(even) .instructor-full-content {
    order: 1;
}

.instructor-full-image {
    position: relative;
    min-height: 400px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.instructor-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.instructor-full-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instructor-full-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.instructor-full-header h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.instructor-role-tag {
    background: rgba(196,30,58,0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
}

.instructor-belt-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

.instructor-stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.instructor-stat {
    text-align: center;
}

.stat-n {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-l {
    font-size: 12px;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    display: block;
}

.instructor-bio {
    margin-bottom: 20px;
}

.instructor-bio p {
    font-size: 15px;
    line-height: 1.8;
}

.instructor-gallery {
    margin-top: 20px;
}

.instructor-gallery h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--secondary);
}

.instructor-gallery-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.instructor-gallery-grid a img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    transition: var(--transition);
}

.instructor-gallery-grid a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.instructor-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ============================================
   BEGINNERS PAGE STYLES
============================================ */

.steps-list {
    margin-top: 25px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    min-width: 50px;
    line-height: 1;
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    margin: 0;
}

.bring-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bring-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.bring-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.bring-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bring-content p {
    font-size: 14px;
    margin: 0;
}

.required-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.download-box {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.download-icon {
    font-size: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.download-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.download-content p {
    font-size: 14px;
    margin-bottom: 12px;
}

.info-box {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 20px;
}

.info-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Belt System */
.belt-system {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.belt-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.belt-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.belt-visual {
    width: 50px;
    height: 20px;
    border-radius: 3px;
    flex-shrink: 0;
}

.belt-info h4 {
    font-size: 15px;
    margin-bottom: 3px;
}

.belt-info span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* FAQ Styles */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(196,30,58,0.04);
}

.faq-question h4 {
    font-size: 16px;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    font-weight: 300;
    transition: var(--transition);
    min-width: 24px;
    text-align: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   EVENTS FULL LIST STYLES
============================================ */

.events-full-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-full-card {
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border-left: 5px solid var(--primary);
}

.event-full-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.event-full-image {
    width: 200px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.event-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-full-card:hover .event-full-image img {
    transform: scale(1.08);
}

.event-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}

.event-type-badge.grading     { background: #C41E3A; }
.event-type-badge.workshop    { background: #1E40AF; }
.event-type-badge.seminar     { background: #065F46; }
.event-type-badge.competition { background: #92400E; }
.event-type-badge.trial       { background: #5B21B6; }
.event-type-badge.social      { background: #9D174D; }

.event-full-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    min-width: 90px;
    flex-shrink: 0;
    text-align: center;
}

.efd-day {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.efd-month {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 3px;
}

.efd-year {
    font-size: 12px;
    opacity: 0.75;
    display: block;
    margin-top: 3px;
}

.event-full-info {
    flex: 1;
    padding: 25px;
}

.event-full-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.event-full-info p {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.event-full-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.event-full-meta span {
    font-size: 13px;
    color: var(--mid-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-full-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border-left: 1px solid var(--border);
    min-width: 130px;
}

/* Calendar Placeholder Styles */
.calendar-placeholder {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    overflow: hidden;
}

.calendar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.calendar-header-row h3 {
    font-size: 22px;
    color: var(--secondary);
}

.cal-nav {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.cal-nav:hover {
    background: var(--primary-dark);
}

.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 8px;
}

.cal-days-header span {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
    padding: 8px;
    text-transform: uppercase;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.cal-cell:hover:not(.empty) {
    background: rgba(196,30,58,0.08);
    border-color: var(--primary);
}

.cal-cell.today {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.cal-cell.empty {
    cursor: default;
}

.cal-cell span {
    display: block;
}

.cal-events-popup {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 15px;
    font-size: 14px;
}

/* Calendar View Toggle */
.calendar-view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: flex-end;
}

.view-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================
   RESPONSIVE FOR NEW PAGES
============================================ */

@media (max-width: 1024px) {
    .instructor-full-card,
    .instructor-full-card:nth-child(even) {
        grid-template-columns: 280px 1fr;
    }

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

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

@media (max-width: 768px) {
    .gallery-grid,
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .instructor-full-card,
    .instructor-full-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .instructor-full-card:nth-child(even) .instructor-full-image {
        order: 0;
    }

    .instructor-full-image {
        min-height: 250px;
    }

    .instructor-full-content {
        padding: 25px;
    }

    .event-full-card {
        flex-direction: column;
    }

    .event-full-image {
        width: 100%;
        height: 180px;
    }

    .event-full-actions {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 15px 25px;
    }

    .belt-system {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 60px;
    }

    .timeline-item::before {
        left: 57px;
    }

    .timeline-year {
        min-width: 50px;
        font-size: 15px;
    }

    .calendar-view-toggle {
        justify-content: center;
    }

    .instructor-stats-row {
        flex-wrap: wrap;
        gap: 15px;
    }

    .download-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid,
    .gallery-masonry {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
        gap: 10px;
    }
}