/* ========================================
   全局变量与重置
======================================== */
:root {
    --primary-color: #D4AF37; /* 金色/奢华感 */
    --secondary-color: #1a1a1a; /* 深黑 */
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --text-main: #333;
    --text-light: #fff;
    --text-gray: #666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 5px;
}

.section-header.light h2,
.section-header.light p {
    color: var(--text-light);
}

.section-header.light h2::after {
    background-color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   按钮
======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ========================================
   头部导航
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    /* 如果背景是纯白，建议将字体颜色改为深色，增加对比度 */
    color: #333; /* 或者 var(--primary-color) 如果它是深色的话 */
    flex-shrink: 0; /* 新增：防止Logo被右侧菜单挤压 */
}

.logo img {
    /* 关键：从40px调整为更醒目的尺寸 */
    height: 48px; /* 试试 44px - 52px 之间，48px比较通用 */
    width: auto; /* 确保宽度自适应，不变形 */
    margin-right: 10px;
    
    /* 关键：加强阴影，让金色在白底上浮出来 */

}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 35px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* ========================================
   Hero 区域
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.jpg'); /* 替换为你的图片 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 4px;
    color: var(--primary-color);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   关于我们
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.advantage-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ========================================
   核心业务
======================================== */
.services {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 40px 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
}

.service-card p {
    color: #aaa;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    color: #ccc;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   演艺中心
======================================== */
.theater {
    background-color: var(--bg-light);
}

.theater-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.theater-text h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.theater-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.theater-text h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.theater-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.theater-gallery > img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-grid img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ========================================
   联系我们
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* ========================================
   页脚
======================================== */
.footer {
    background-color: var(--secondary-color);
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 200px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================================
   响应式设计 (移动端)
======================================== */
@media (max-width: 992px) {
    .about-grid,
    .theater-content,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #fff;
        box-shadow: var(--shadow);
        transition: var(--transition);
        padding: 20px 0;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav ul li {
        margin: 15px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .btn-secondary {
        display: none; /* 移动端隐藏次要按钮 */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }
}

/* ========================================
   下拉二级菜单（新增）
======================================== */

/* 桌面端下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--primary-color);
    padding-left: 25px;
}

/* ========================================
   移动端下拉菜单（新增）
======================================== */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        transform: none;
        padding: 0;
        background-color: var(--bg-light);
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 8px 0;
    }

    .dropdown-toggle i {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        text-align: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .nav ul li a::after {
        display: none; /* 移动端去掉下划线动画 */
    }
}

/* ===== 备案信息样式 ===== */
.footer-beian {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ICP 图标（使用 iconfont 或 emoji 备选） */
.icon-icp::before {
    content: "\e6c3"; /* 替换为你 iconfont 中实际的 ICP 图标编码 */
    font-size: 16px;
}

/* 公安备案图标 */
.police-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* 响应式：小屏纵向排列 */
@media (max-width: 600px) {
    .footer-beian {
        flex-direction: column;
        gap: 8px;
    }
}