/* ==========================================
   文淑苑藝術文化傳播公司 - 全站样式
   wenshuyuanart.com
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================
   CSS Variables (Design Tokens)
   ========================================== */
:root {
    /* 主色调 - 深墨黑/深海军蓝 */
    --primary: #0f1c3c;
    --primary-dark: #0a1428;
    --primary-light: #1a2d5a;

    /* 辅色 - 香槟金 */
    --accent: #c9a962;
    --accent-light: #d4b878;
    --accent-dark: #a88c4a;

    /* 背景 */
    --bg-white: #ffffff;
    --bg-light: #fefefe;
    --bg-cream: #faf8f5;
    --bg-section: #f5f3f0;
    --bg-dark: #0f1c3c;

    /* 文字 */
    --text-dark: #1a1a1a;
    --text-body: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --text-white: #ffffff;

    /* 边框与阴影 */
    --border: #e8e5e0;
    --border-light: #f0ede8;
    --shadow-sm: 0 2px 10px rgba(15, 28, 60, 0.05);
    --shadow: 0 4px 20px rgba(15, 28, 60, 0.08);
    --shadow-lg: 0 10px 40px rgba(15, 28, 60, 0.12);
    --shadow-hover: 0 8px 30px rgba(201, 169, 98, 0.2);

    /* 圆角 */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* 动画 */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;

    /* 字体 */
    --font-serif-zh: 'Noto Serif SC', 'Songti SC', serif;
    --font-sans-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-serif-en: 'Playfair Display', Georgia, serif;
    --font-sans-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 100px;

    /* 容器宽度 */
    --container-max: 1400px;
    --container-lg: 1200px;
    --container-md: 960px;
    --container-sm: 720px;
}

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

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

body {
    font-family: var(--font-sans-zh);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* English pages */
body.lang-en {
    font-family: var(--font-sans-en);
}

body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en h4 {
    font-family: var(--font-serif-en);
}

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

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

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif-zh);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

/* ==========================================
   Container
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background: var(--primary);
    color: var(--text-white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left a {
    color: var(--text-white);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.top-bar-left i {
    color: var(--accent);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-cta-small {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
}

.btn-cta-small:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    font-family: var(--font-serif-zh);
    font-weight: 700;
}

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

.logo-name {
    font-family: var(--font-serif-zh);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 1200px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}

.nav-desktop > a,
.nav-dropdown > .nav-link {
    padding: 10px 15px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-desktop > a:hover,
.nav-dropdown:hover > .nav-link {
    color: var(--accent);
    background: var(--bg-cream);
}

.nav-desktop > a.active,
.nav-dropdown > .nav-link.active {
    color: var(--accent);
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 280px;
    padding: 15px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown-category {
    padding: 8px 20px 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-cream);
    color: var(--accent);
    padding-left: 25px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 10px 0;
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--border);
}

.lang-switch a {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--accent);
}

.lang-switch .divider {
    color: var(--border);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

@media (min-width: 1200px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

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

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 80px 30px 30px;
    overflow-y: auto;
    transition: var(--transition-slow);
    z-index: 999;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

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

.nav-mobile > a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.nav-mobile > a:hover,
.nav-mobile > a.active {
    color: var(--accent);
}

.nav-mobile-dropdown {
    border-bottom: 1px solid var(--border-light);
}

.nav-mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
}

.nav-mobile-dropdown-toggle i {
    transition: var(--transition);
}

.nav-mobile-dropdown.active .nav-mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-mobile-dropdown-menu {
    display: none;
    padding: 0 0 15px 15px;
}

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

.nav-mobile-dropdown-menu .dropdown-category {
    padding: 10px 0 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

.nav-mobile-dropdown-menu a {
    display: block;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.nav-mobile-dropdown-menu a:hover {
    color: var(--accent);
}

.nav-mobile-lang {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.nav-mobile-lang a {
    padding: 10px 20px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-weight: 500;
}

.nav-mobile-lang a.active {
    background: var(--accent);
    color: var(--primary-dark);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

@media (min-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

@media (min-width: 992px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
}

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

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

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

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

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

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ==========================================
   Section Styles
   ========================================== */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-sm {
    padding: var(--spacing-xl) 0;
}

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

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

.section-dark {
    background: var(--primary);
    color: var(--text-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--text-white);
}

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

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 20px auto 0;
}

/* ==========================================
   Brand Core (文｜淑｜苑)
   ========================================== */
.brand-core {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.brand-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.brand-char {
    font-family: var(--font-serif-zh);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 15px;
}

.brand-card h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.brand-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================
   Artist Cards
   ========================================== */
.artists-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

@media (min-width: 1200px) {
    .artists-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.artist-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.artist-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.artist-card-content {
    padding: 25px;
}

.artist-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.artist-card-title {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.artist-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.artist-card-tags span {
    padding: 4px 10px;
    background: var(--bg-section);
    color: var(--text-light);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

.artist-card-actions {
    display: flex;
    gap: 10px;
}

.artist-card-actions .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.85rem;
}

/* ==========================================
   Course Cards
   ========================================== */
.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

@media (min-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.course-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.course-card-image {
    height: 200px;
    overflow: hidden;
}

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

.course-card-content {
    padding: 25px;
}

.course-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-card-instructor {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.course-card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.course-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ==========================================
   Works Gallery
   ========================================== */
.works-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.works-tab {
    padding: 10px 25px;
    background: var(--bg-section);
    color: var(--text-body);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.works-tab:hover,
.works-tab.active {
    background: var(--accent);
    color: var(--primary-dark);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .works-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.work-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.work-item:hover img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 28, 60, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.work-overlay i {
    color: var(--bg-white);
    font-size: 2rem;
}

/* ==========================================
   Events
   ========================================== */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

@media (min-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.event-card-image {
    height: 180px;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.event-card-image i {
    font-size: 3rem;
    color: var(--accent);
}

.event-card-content {
    padding: 25px;
}

.event-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.event-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.event-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ==========================================
   CTA Banner
   ========================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--bg-white);
    margin-bottom: 15px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-banner .btn {
    margin: 0 10px;
}

/* ==========================================
   Floating CTA Button
   ========================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.floating-cta .btn {
    padding: 15px 25px;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 169, 98, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(201, 169, 98, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 169, 98, 0); }
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--primary);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 0;
}

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

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

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-sans-zh);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition);
}

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

.footer-links a {
    display: block;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--accent);
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

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

.footer-credit {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.footer-credit p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.footer-credit a {
    color: var(--accent);
}

/* ==========================================
   Page Header (Inner Pages)
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

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

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

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

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

/* ==========================================
   Artist Detail Page
   ========================================== */
.artist-hero {
    background: var(--bg-cream);
    padding: var(--spacing-xl) 0;
}

.artist-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .artist-hero .container {
        grid-template-columns: 350px 1fr;
        gap: 60px;
    }
}

.artist-profile-image {
    text-align: center;
}

.artist-profile-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.artist-profile-info h1 {
    margin-bottom: 10px;
}

.artist-profile-info h1 span {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-sans-en);
}

.artist-tagline {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.artist-intro {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.artist-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.artist-highlights span {
    padding: 6px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--text-body);
}

.artist-contact-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.artist-contact-quick a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    font-size: 0.95rem;
}

.artist-contact-quick i {
    color: var(--accent);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-year {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Accordion (Courses) */
.accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-cream);
}

.accordion-header h4 {
    font-size: 1.1rem;
    margin: 0;
}

.accordion-header i {
    color: var(--accent);
    transition: var(--transition);
}

.accordion-item.active .accordion-header {
    background: var(--bg-cream);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 25px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.accordion-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.accordion-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.accordion-content li {
    list-style: disc;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-body);
}

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

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

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    min-width: 200px;
}

/* ==========================================
   Video Embed
   ========================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.video-card-content {
    padding: 20px;
}

.video-card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.video-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================
   Lightbox
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bg-white);
    text-align: center;
    max-width: 80%;
}

.lightbox-caption h4 {
    color: var(--bg-white);
    margin-bottom: 5px;
}

.lightbox-caption p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   WeChat QR Modal
   ========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.modal-content h3 {
    margin-bottom: 20px;
}

.modal-content img {
    max-width: 250px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================
   Pricing Table
   ========================================== */
.pricing-table {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-header {
    background: var(--primary);
    color: var(--bg-white);
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    color: var(--bg-white);
    margin-bottom: 10px;
}

.pricing-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.pricing-header .price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-body {
    padding: 30px;
}

.pricing-body ul {
    margin-bottom: 25px;
}

.pricing-body li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.pricing-body li:last-child {
    border-bottom: none;
}

.pricing-body li i {
    color: var(--accent);
}

.pricing-body .btn {
    width: 100%;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    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: var(--bg-cream);
}

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

.faq-question i {
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

@media (min-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h5 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   Google Map
   ========================================== */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ==========================================
   Utilities
   ========================================== */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.mb-5 { margin-bottom: var(--spacing-xl) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }
.mt-5 { margin-top: var(--spacing-xl) !important; }

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

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

@media (max-width: 767px) {
    .d-none-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .d-none-desktop { display: none !important; }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

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

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease forwards;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

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

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .top-bar,
    .header,
    .floating-cta,
    .footer-credit {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a {
        color: var(--text-dark);
    }
}
