/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a8e8;
    --dark-bg: #0a0a0a;
    --light-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --accent-color: #ffd700;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ===== 导航栏 ===== */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--light-bg);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-bg);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--primary-color);
    color: var(--light-bg);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f3460 100%);
    color: var(--light-bg);
    text-align: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 168, 232, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 0 2px 20px rgba(0, 168, 232, 0.5);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-description-cn {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-bg);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-bg);
    border-color: var(--light-bg);
}

.btn-secondary:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

/* ===== 页面标题 ===== */
.page-header {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: var(--light-bg);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* ===== Section标题 ===== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* ===== Featured Works ===== */
.featured-works {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card {
    background-color: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.work-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-content {
    padding: 1.5rem;
}

.work-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.work-location {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.work-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.work-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.work-link:hover {
    color: var(--secondary-color);
}

/* ===== Portfolio页面 ===== */
.portfolio-section {
    padding: 80px 20px;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: start;
}

.portfolio-item:nth-child(even) {
    direction: rtl;
}

.portfolio-item:nth-child(even)>* {
    direction: ltr;
}

.portfolio-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-details h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.project-location {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 2rem;
}

.project-specs {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.spec-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.spec-item strong {
    color: var(--text-dark);
    display: inline-block;
    min-width: 100px;
}

/* ===== About页面 ===== */
.about-section {
    padding: 80px 20px;
}

.about-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expertise-item h3 {
    font-size: 1.1rem;
}

.mission-section,
.festivals-section,
.values-section,
.focus-section,
.founders-section {
    margin-bottom: 5rem;
}

.mission-section {
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: var(--light-bg);
    padding: 4rem 2rem;
    border-radius: 12px;
}

.mission-text {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission-text-en {
    font-size: 1.2rem;
    opacity: 0.8;
    font-style: italic;
}

.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.festival-item {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.festival-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.focus-list {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
}

.focus-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.founder-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.founder-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.founder-details p {
    margin-bottom: 0.5rem;
}

.founder-skills {
    margin-top: 1.5rem;
}

.founder-skills h4 {
    margin-bottom: 1rem;
}

.founder-skills ul {
    list-style: none;
}

.founder-skills li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.founder-skills li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ===== Services页面 ===== */
.services-section {
    padding: 80px 20px;
}

.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    align-items: start;
}

.service-icon {
    font-size: 3rem;
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.service-content h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
}

.process-section {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Contact页面 ===== */
.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.location {
    margin-bottom: 1.5rem;
}

.contact-form-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form-container h2 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.business-inquiries {
    text-align: center;
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
}

.business-inquiries h2 {
    margin-bottom: 1rem;
}

.map-section {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.locations-map {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-bg);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-bg);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* ===== Mobile Quick Contact ===== */
.mobile-quick-contact {
    display: none;
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-quick-contact .btn {
    margin: 0.25rem 0;
    width: 100%;
    max-width: 320px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hero 区域再紧凑一点 */
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description,
    .hero-description-cn {
        font-size: 0.95rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .portfolio-item {
        grid-template-columns: 1fr;
    }

    .portfolio-item:nth-child(even) {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 作品卡片手机上留白大一点 */
    .work-card {
        margin: 0 0 1.5rem 0;
    }

    .work-content {
        padding: 1.25rem;
    }

    /* 作品集参数卡片留一点边距 */
    .project-specs {
        padding: 1.5rem;
    }

    /* About / Services / Contact 里大块文字两侧不要太贴边 */
    .about-section,
    .services-section,
    .contact-section,
    .portfolio-section {
        padding: 60px 16px;
    }

    .mobile-quick-contact {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }

    .btn {
        width: 100%;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title,
    .page-header h1 {
        font-size: 1.6rem;
    }

    .portfolio-details h2 {
        font-size: 1.4rem;
    }

    .project-specs {
        padding: 1.25rem;
    }
}