/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 电信蓝主色调 */
    --primary-blue: #0052D9;
    --secondary-blue: #0066FF;
    --dark-blue: #003A8C;
    --light-blue: #E6F0FF;
    --accent-blue: #1890FF;
    
    /* 辅助色 */
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #666666;
    --text-dark: #333333;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 82, 217, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 首页横幅 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--light-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0.3;
        top: 20px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 章节标题 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-dark);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* 门店展示 */
.store-showcase {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.store-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 82, 217, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.main-item {
    grid-row: 1 / 3;
}

.store-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.store-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .store-image {
    transform: scale(1.05);
}

.store-image-wrapper .store-front {
    min-height: 500px;
}

.store-image-wrapper .store-interior,
.store-image-wrapper .store-waiting {
    min-height: 240px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.store-front {
    min-height: 500px;
}

.store-interior,
.store-waiting {
    min-height: 240px;
}

.placeholder-content {
    text-align: center;
    color: var(--primary-blue);
}

.placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-content p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

.placeholder-hint {
    font-size: 0.9rem !important;
    color: var(--gray-dark) !important;
    font-weight: normal !important;
    opacity: 0.8;
}

.store-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: var(--white);
    box-shadow: 0 6px 25px rgba(0, 82, 217, 0.15);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--gray-dark);
    margin: 0.3rem 0;
}

/* 服务项目 */
.services {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--gray-light) 0%, var(--white) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 82, 217, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 82, 217, 0.2);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-medium);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.service-card li:last-child {
    border-bottom: none;
}

/* 联系方式 */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 82, 217, 0.15);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-dark);
    margin: 0.5rem 0;
    line-height: 1.8;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 82, 217, 0.15);
    position: relative;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

#baiduMap {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.map-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.map-link:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.map-link span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 页脚 */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
    margin: 0.5rem 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.icp-info {
    margin-top: 1rem;
}

.icp-info a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.icp-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .store-gallery {
        grid-template-columns: 1fr;
    }
    
    .main-item {
        grid-row: 1;
    }
    
    .store-image-wrapper .store-front,
    .store-front {
        min-height: 300px;
    }
    
    .store-image-wrapper .store-interior,
    .store-image-wrapper .store-waiting,
    .store-interior,
    .store-waiting {
        min-height: 250px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar .container {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

