/* ========================================
   STITCHWORKS - Design System & Styles
   ======================================== */

/* ----------------------------------------
   CSS Variables (Design Tokens)
   ---------------------------------------- */
:root {
    /* Colors - Blue & Lavender palette inspired by logo */
    --color-primary: #2B5A8A;        /* StitchWorks blue */
    --color-primary-light: #3B6A9A;
    --color-primary-dark: #1B4A7A;
    --color-secondary: #9B89B3;      /* Lavender accent */
    --color-secondary-light: #C4B8D4;
    --color-accent: #A594C4;         /* Purple accent */

    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #888888;
    --color-heading: #1B3A5A;

    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F7FA;         /* Cool off-white */
    --color-bg-dark: #1B3A5A;

    --color-border: #E0E5EB;
    --color-border-dark: #C5CDD8;

    /* Status Colors */
    --color-success: #4A7C59;
    --color-warning: #C9A227;
    --color-error: #B54B4B;
    --color-info: #4A6FA5;

    /* Skill Level Colors */
    --color-beginner: #4A7C59;
    --color-intermediate: #C9A227;
    --color-advanced: #8B4B62;
    --color-all-levels: #4A6FA5;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-md: 1.125rem;     /* 18px */
    --font-size-lg: 1.25rem;      /* 20px */
    --font-size-xl: 1.5rem;       /* 24px */
    --font-size-2xl: 2rem;        /* 32px */
    --font-size-3xl: 2.5rem;      /* 40px */
    --font-size-4xl: 3rem;        /* 48px */

    --line-height-tight: 1.2;
    --line-height-base: 1.6;
    --line-height-relaxed: 1.8;

    /* Spacing */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 80px;
    --top-bar-height: 40px;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

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

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

/* Floating Page Wrapper - Centered Layout */
.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-lg);
}

.top-bar,
.header,
main,
.footer {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-bg);
}

.top-bar {
    margin-top: var(--space-lg);
}

.footer {
    margin-bottom: var(--space-lg);
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-heading);
    line-height: var(--line-height-tight);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

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

p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   Layout Components
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: var(--container-narrow);
}

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

.section-alt {
    background-color: var(--color-bg);
    border-top: 2px solid var(--color-border-dark);
    border-bottom: 2px solid var(--color-border-dark);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--color-text-light);
    font-size: var(--font-size-md);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

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

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

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

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

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

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

.btn-small {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-md);
}

/* ----------------------------------------
   Top Bar - Clean, Open Style
   ---------------------------------------- */
.top-bar {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: var(--space-sm) 0;
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--color-border);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.top-bar-item a {
    color: var(--color-primary);
}

.top-bar-item a:hover {
    color: var(--color-primary-dark);
}

.top-bar .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-primary);
}

/* ----------------------------------------
   Header & Navigation
   ---------------------------------------- */
.header {
    background-color: var(--color-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    text-decoration: none;
}

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

.logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

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

.logo-main {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.1;
}

.logo-tagline {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

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

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

.nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 50;
    padding: var(--space-sm) 0;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.dropdown a:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    padding: var(--space-sm);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Mobile menu open state */
.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ----------------------------------------
   Hero Slideshow Section
   ---------------------------------------- */
.hero-slideshow-section {
    position: relative;
    padding: 0;
    background-color: var(--color-bg);
}

.hero-slides {
    position: relative;
    min-height: 450px;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 450px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Dark overlay for text legibility */
.hero-slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: var(--space-3xl) var(--space-2xl);
    color: white;
}

.hero-slide-content h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    color: white;
    margin-bottom: var(--space-md);
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-md);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.hero-dot:hover,
.hero-dot.active {
    background-color: white;
}

/* Legacy Hero Section (keeping for other pages) */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43, 90, 138, 0.4), rgba(27, 58, 90, 0.35));
}

.hero-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary-light), var(--color-bg-alt));
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">🧵</text></svg>');
    background-size: 60px;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: var(--space-3xl) 0;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-3xl);
}

.hero-subtitle {
    font-size: var(--font-size-md);
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero .btn-secondary:hover {
    background-color: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
}

/* ----------------------------------------
   Services Grid (Home Page)
   ---------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.service-image {
    height: 180px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.alterations-img {
    background: linear-gradient(135deg, #E8E4DF 0%, #D4C4A4 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="70">✂️</text></svg>');
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
}

.quilting-img {
    background: linear-gradient(135deg, #F0E6D8 0%, #C4A77D 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="70">🧶</text></svg>');
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
}

.embroidery-img {
    background: linear-gradient(135deg, #E8DFE4 0%, #C9A0B0 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="70">🪡</text></svg>');
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
}

.heatpress-img {
    background: linear-gradient(135deg, #DFE4E8 0%, #A0B5C9 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="70">👕</text></svg>');
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
}

.service-content {
    padding: var(--space-lg);
}

.service-content h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.service-content p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.service-link {
    font-weight: 600;
    font-size: var(--font-size-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.service-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* ----------------------------------------
   Special Banner (Home Page)
   ---------------------------------------- */
.special-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.special-content {
    padding: var(--space-2xl);
}

.special-badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.special-content h2 {
    margin-bottom: var(--space-md);
}

.special-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.special-image {
    height: 100%;
    min-height: 300px;
}

.special-img {
    background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="70">🎉</text></svg>');
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ----------------------------------------
   Classes Preview (Home Page)
   ---------------------------------------- */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.class-card {
    display: flex;
    gap: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.class-card:hover {
    box-shadow: var(--shadow-lg);
}

.class-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: var(--space-sm);
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    text-align: center;
}

.class-date .month {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-date .day {
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1;
}

.class-content {
    flex: 1;
}

.class-level {
    display: inline-block;
    padding: 2px var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-level.beginner {
    background-color: rgba(74, 124, 89, 0.1);
    color: var(--color-beginner);
}

.class-level.intermediate {
    background-color: rgba(201, 162, 39, 0.1);
    color: var(--color-intermediate);
}

.class-level.advanced {
    background-color: rgba(139, 75, 98, 0.1);
    color: var(--color-advanced);
}

.class-level.all-levels {
    background-color: rgba(74, 111, 165, 0.1);
    color: var(--color-all-levels);
}

.class-content h3 {
    font-size: var(--font-size-md);
    margin: var(--space-xs) 0;
}

.class-meta {
    display: flex;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.class-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* ----------------------------------------
   About Preview (Home Page)
   ---------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 350px;
}

.about-img {
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-secondary-light));
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="70">🏠</text></svg>');
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: center;
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.about-content .btn {
    margin-top: var(--space-md);
}

/* ----------------------------------------
   Footer - Clean, Open Style
   ---------------------------------------- */
.footer {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--color-border);
}

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

.footer-brand p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    margin: var(--space-md) 0;
}

.footer-logo .logo-main {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-heading);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

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

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer h4 {
    color: var(--color-heading);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-contact address {
    font-size: var(--font-size-sm);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-contact a {
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.hours-list {
    font-size: var(--font-size-sm);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--color-text-light);
}

.footer-newsletter {
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.footer-newsletter h4 {
    margin-bottom: var(--space-xs);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: var(--font-size-sm);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-text-muted);
}

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

/* ----------------------------------------
   Page Header (Interior Pages)
   ---------------------------------------- */
.page-header {
    background-color: var(--color-bg-alt);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header .breadcrumb {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.page-header .breadcrumb a {
    color: var(--color-text-muted);
}

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

/* ----------------------------------------
   Services Page
   ---------------------------------------- */
.service-section {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.service-section:last-child {
    border-bottom: none;
}

.service-section:nth-child(even) {
    background-color: var(--color-bg-alt);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 300px;
}

.service-detail-content h2 {
    margin-bottom: var(--space-md);
}

.service-detail-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.price-guide {
    background-color: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
}

.service-section:nth-child(even) .price-guide {
    background-color: white;
}

.price-guide h4 {
    margin-bottom: var(--space-md);
    font-size: var(--font-size-base);
}

.price-list {
    font-size: var(--font-size-sm);
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    border-bottom: 1px dashed var(--color-border);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: var(--space-md);
}

.common-items {
    margin: var(--space-lg) 0;
}

.common-items h4 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-base);
}

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

.common-items li {
    position: relative;
    padding-left: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.common-items li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* ----------------------------------------
   Service Request Form
   ---------------------------------------- */
.service-form-section {
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-3xl) 0;
}

.service-form-section h2 {
    color: white;
    text-align: center;
    margin-bottom: var(--space-sm);
}

.service-form-section > .container > p {
    text-align: center;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.service-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
}

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

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

.radio-group {
    display: flex;
    gap: var(--space-lg);
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 400;
    cursor: pointer;
}

.radio-group input {
    width: auto;
}

/* ----------------------------------------
   Specials Page
   ---------------------------------------- */
.specials-section {
    padding: var(--space-3xl) 0;
}

.current-promo {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.current-promo .promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.current-promo h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.current-promo p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.seasonal-specials h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.special-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-secondary);
}

.special-card h4 {
    margin-bottom: var(--space-sm);
}

.special-card p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.specials-note {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.specials-note p {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

/* ----------------------------------------
   Classes Calendar Page
   ---------------------------------------- */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.view-toggle {
    display: flex;
    gap: var(--space-xs);
}

.view-toggle button {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    background: white;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-toggle button:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.view-toggle button:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.view-toggle button.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

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

.month-nav button {
    padding: var(--space-sm);
    border: 1px solid var(--color-border);
    background: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.month-nav button:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.month-nav h3 {
    min-width: 180px;
    text-align: center;
}

.calendar-legend {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.legend-dot.beginner { background-color: var(--color-beginner); }
.legend-dot.intermediate { background-color: var(--color-intermediate); }
.legend-dot.advanced { background-color: var(--color-advanced); }
.legend-dot.all-levels { background-color: var(--color-all-levels); }

/* Calendar Grid */
.calendar-grid {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: var(--color-bg-alt);
}

.calendar-header span {
    padding: var(--space-md);
    text-align: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 100px;
    padding: var(--space-sm);
    border: 1px solid var(--color-border);
    border-top: none;
    border-left: none;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.other-month {
    background-color: var(--color-bg-alt);
    opacity: 0.5;
}

.calendar-day.today {
    background-color: rgba(43, 90, 138, 0.05);
}

.day-number {
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-xs);
}

.today .day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.day-event {
    padding: 2px var(--space-xs);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    cursor: pointer;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-event:hover {
    opacity: 0.8;
}

.day-event.beginner {
    background-color: var(--color-beginner);
    color: white;
}

.day-event.intermediate {
    background-color: var(--color-intermediate);
    color: white;
}

.day-event.advanced {
    background-color: var(--color-advanced);
    color: white;
}

.day-event.all-levels {
    background-color: var(--color-all-levels);
    color: white;
}

/* List View */
.classes-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.class-list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-lg);
    align-items: center;
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.class-list-item:hover {
    box-shadow: var(--shadow-lg);
}

.class-info h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xs);
}

.class-info .class-meta {
    margin-bottom: 0;
}

.class-list-item .class-date {
    min-width: 70px;
}

/* ----------------------------------------
   Class Detail Page
   ---------------------------------------- */
.class-detail-section {
    padding: var(--space-3xl) 0;
}

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

.class-main h1 {
    margin-bottom: var(--space-md);
}

.class-badges {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.class-description {
    margin-bottom: var(--space-xl);
}

.class-description h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-md);
}

.class-supplies {
    background-color: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.class-supplies h3 {
    margin-bottom: var(--space-md);
    font-size: var(--font-size-md);
}

.class-supplies ul {
    list-style: disc;
    padding-left: var(--space-lg);
}

.class-supplies li {
    margin-bottom: var(--space-xs);
    color: var(--color-text-light);
}

/* Registration Sidebar */
.class-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.registration-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.registration-header {
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-lg);
    text-align: center;
}

.registration-header .price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

.registration-header .per-person {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.registration-details {
    padding: var(--space-lg);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
}

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

.detail-row .label {
    color: var(--color-text-muted);
}

.seats-available {
    color: var(--color-success);
    font-weight: 600;
}

.seats-limited {
    color: var(--color-warning);
    font-weight: 600;
}

.seats-full {
    color: var(--color-error);
    font-weight: 600;
}

.registration-form {
    padding: 0 var(--space-lg) var(--space-lg);
}

.registration-form .btn {
    width: 100%;
}

/* ----------------------------------------
   About Page
   ---------------------------------------- */
.about-section {
    padding: var(--space-3xl) 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.about-intro-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 400px;
}

.about-values {
    background-color: var(--color-bg-alt);
    padding: var(--space-3xl) 0;
}

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

.value-card {
    text-align: center;
    padding: var(--space-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
}

.value-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-md);
}

.value-card p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.team-section {
    padding: var(--space-3xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
    overflow: hidden;
}

.team-placeholder {
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-secondary-light));
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="60">👤</text></svg>');
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
}

.team-card h3 {
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-md);
}

.team-card .role {
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.team-card p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

/* ----------------------------------------
   Contact Page
   ---------------------------------------- */
.contact-section {
    padding: var(--space-3xl) 0;
}

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

.contact-info {
    padding-right: var(--space-xl);
}

.contact-info h2 {
    margin-bottom: var(--space-lg);
}

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.contact-item h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
}

.contact-item p,
.contact-item a {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
    background-color: var(--color-bg-alt);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-border));
}

.contact-form-wrapper {
    background-color: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--space-lg);
}

.response-note {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-md);
    text-align: center;
}

/* ----------------------------------------
   Terms Page
   ---------------------------------------- */
.terms-section {
    padding: var(--space-3xl) 0;
}

.terms-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.terms-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-xl);
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p,
.terms-content li {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.terms-content ul {
    list-style: disc;
    padding-left: var(--space-lg);
}

/* ----------------------------------------
   Classes About Page
   ---------------------------------------- */
.class-policies {
    padding: var(--space-3xl) 0;
}

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

.policy-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.policy-card h3 {
    margin-bottom: var(--space-md);
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.policy-card p,
.policy-card li {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.policy-card ul {
    list-style: disc;
    padding-left: var(--space-lg);
}

.policy-card li {
    margin-bottom: var(--space-xs);
}

/* ----------------------------------------
   Registration Modal
   ---------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.modal {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: var(--font-size-lg);
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--color-text-muted);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-body {
    padding: var(--space-lg);
}

.modal-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
}

/* ----------------------------------------
   Alert Messages
   ---------------------------------------- */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.alert-success {
    background-color: rgba(74, 124, 89, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.alert-error {
    background-color: rgba(181, 75, 75, 0.1);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.alert-warning {
    background-color: rgba(201, 162, 39, 0.1);
    color: var(--color-warning);
    border: 1px solid var(--color-warning);
}

.alert-info {
    background-color: rgba(74, 111, 165, 0.1);
    color: var(--color-info);
    border: 1px solid var(--color-info);
}

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid,
    .about-intro,
    .contact-grid,
    .service-detail,
    .class-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse {
        direction: ltr;
    }

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

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

    .class-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-3xl: 2rem;
        --font-size-2xl: 1.5rem;
        --space-3xl: 3rem;
        --space-2xl: 2rem;
    }

    /* Top bar mobile */
    .top-bar-content {
        justify-content: center;
    }

    .top-bar-right {
        display: none;
    }

    /* Mobile navigation */
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

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

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        padding: var(--space-md);
        border-bottom: 1px solid var(--color-border);
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--space-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .has-dropdown.open .dropdown {
        max-height: 300px;
    }

    /* Hero mobile */
    .hero {
        min-height: 400px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    /* Hero slideshow mobile */
    .hero-slides,
    .hero-slide {
        min-height: 350px;
    }

    .hero-slide-content {
        padding: var(--space-xl) var(--space-lg);
    }

    .hero-slide-content h2 {
        font-size: var(--font-size-2xl);
    }

    /* Special banner mobile */
    .special-banner {
        grid-template-columns: 1fr;
    }

    .special-image {
        display: none;
    }

    /* Calendar mobile */
    .calendar-controls {
        flex-direction: column;
        text-align: center;
    }

    .calendar-day {
        min-height: 60px;
        padding: var(--space-xs);
    }

    .day-event {
        font-size: 10px;
        padding: 1px 2px;
    }

    .calendar-header span {
        padding: var(--space-sm);
        font-size: var(--font-size-xs);
    }

    /* Class list mobile */
    .class-list-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .class-list-item .class-date {
        margin: 0 auto;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hours-list li {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    /* Form mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Common items mobile */
    .common-items ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .logo-tagline {
        display: none;
    }

    .top-bar-left {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .class-card {
        flex-direction: column;
        text-align: center;
    }

    .class-date {
        margin: 0 auto;
    }

    .class-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }

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

/* ----------------------------------------
   Print Styles
   ---------------------------------------- */
@media print {
    .top-bar,
    .header,
    .footer,
    .hero-buttons,
    .section-cta,
    .btn,
    .newsletter-form {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section {
        padding: 1rem 0;
    }
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ----------------------------------------
   Coming Soon Styles
   ---------------------------------------- */
.coming-soon-message {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin: 0 auto;
}

.coming-soon-icon {
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.coming-soon-message h3 {
    margin-bottom: var(--space-md);
    color: var(--color-heading);
}

.coming-soon-message p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* Classes Coming Soon Box on Home Page */
.classes-coming-soon {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, white 100%);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--color-border);
}

.classes-coming-soon-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.classes-coming-soon h3 {
    margin-bottom: var(--space-sm);
}

.classes-coming-soon p {
    color: var(--color-text-light);
    max-width: 450px;
    margin: 0 auto var(--space-lg);
}

/* Portfolio/Gallery Images */
.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.service-card:hover .portfolio-image,
.service-detail-image:hover .portfolio-image {
    transform: scale(1.05);
}

/* ----------------------------------------
   Stock Photo Image Styles
   ---------------------------------------- */

/* Hero background image */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service card images */
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

/* About page images */
.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

/* Special section image */
.special-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------------
   About Page - Additional Sections
   ---------------------------------------- */

/* Our Story Section */
.about-story {
    padding: var(--space-3xl) 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.story-text h2 {
    margin-bottom: var(--space-md);
}

.story-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.story-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 300px;
}

/* What We Do - Compact Grid */
.what-we-do {
    padding: var(--space-3xl) 0;
}

.services-grid-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.services-grid-compact .service-item-compact {
    flex: 0 1 calc(33.333% - var(--space-lg));
    min-width: 200px;
}

.service-item-compact {
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-item-compact:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon-compact {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-md);
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon-compact svg {
    width: 24px;
    height: 24px;
}

.service-item-compact h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
}

.service-item-compact p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: 0;
}

.services-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    font-style: italic;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--space-3xl) 0;
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

/* Our Commitment Section */
.commitment-section {
    padding: var(--space-3xl) 0;
}

.commitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.commitment-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 300px;
}

.commitment-text h2 {
    margin-bottom: var(--space-md);
}

.commitment-list {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.commitment-list li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

.commitment-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .story-content,
    .commitment-content {
        grid-template-columns: 1fr;
    }

    .story-image,
    .commitment-image {
        order: -1;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .services-grid-compact .service-item-compact {
        flex: 0 1 calc(50% - var(--space-lg));
    }
}

@media (max-width: 480px) {
    .services-grid-compact .service-item-compact {
        flex: 0 1 100%;
    }
}

/* ----------------------------------------
   Service Image Slideshow
   ---------------------------------------- */
.service-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.service-slideshow .slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: var(--radius-xl);
}

.service-slideshow .slideshow-image.active {
    opacity: 1;
}

/* Slideshow navigation dots (optional) */
.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.slideshow-dots .dot.active {
    background-color: rgba(255, 255, 255, 1);
}

/* Ensure proper sizing in service detail sections */
.service-detail-image .service-slideshow {
    min-height: 350px;
}

@media (max-width: 768px) {
    .service-slideshow,
    .service-detail-image .service-slideshow {
        min-height: 250px;
    }
}

/* Service Card Slideshow */
.service-card .service-slideshow {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card .service-slideshow .slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.service-card .service-slideshow .slideshow-image.active {
    opacity: 1;
}

/* ----------------------------------------
   Hero Slideshow
   ---------------------------------------- */
.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slideshow .slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow .slideshow-image.active {
    opacity: 1;
}
