/* 全局样式 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background: transparent;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: white !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-color) !important;
}

.navbar-logo {
    height: 70px;
    width: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: rgba(44, 62, 80, 0.8) !important;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar.scrolled .navbar-nav .nav-link::after {
    background: var(--secondary-color);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero区域样式 */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    background-image: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 2rem;
}

.brand-text {
    display: block;
    font-size: 3.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    animation: slideInRight 1s ease-out 0.6s both;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.9s both;
}

.brand-highlight {
    color: #f39c12;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.hero-buttons {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.coming-soon-badge {
    animation: fadeIn 1s ease-out 1.5s both;
}

.coming-soon-badge .badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    animation: pulse 2s infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* 关于我们区域 */
.about-section {
    padding: 6rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.company-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.feature-item i {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.feature-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.factory-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.factory-gallery {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.gallery-container {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    background: white;
}

.gallery-item {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.factory-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .factory-img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem;
    text-align: center;
}

.img-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-light);
}

/* 产品展示区域 */
.products-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.product-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-card.featured {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-features .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 联系我们区域 */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-info {
    margin: 3rem 0;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-item:hover .contact-link {
    color: var(--secondary-color);
}

.coming-soon-notice {
    margin-top: 3rem;
}

.coming-soon-notice .alert {
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.copyright-info {
    margin: 0;
}

.icp-info {
    margin-left: 10px;
    font-size: 0.9rem;
}

.icp-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.icp-link:hover {
    color: white;
    text-decoration: underline;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .brand-text {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    /* 移动端Logo样式 */
    .navbar-logo {
        height: 50px;
        margin-right: 8px;
    }
    
    .navbar-brand {
        font-size: 1rem;
        padding: 5px 0;
    }
    
    /* 移动端Gallery样式 */
    .factory-gallery {
        max-width: 450px;
    }
    
    .factory-img {
        height: 300px;
    }
    
    /* 移动端Footer样式 */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer .row {
        text-align: center;
    }
    
    .footer .col-md-6:first-child {
        margin-bottom: 0.5rem;
    }
    
    .footer .col-md-6.text-end {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .footer p {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .icp-info {
        display: block;
        margin-left: 0;
        margin-top: 0.3rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .brand-text {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .about-section,
    .products-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    /* 小屏幕Logo样式 */
    .navbar-logo {
        height: 40px;
        margin-right: 6px;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
        padding: 3px 0;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    /* 小屏幕Gallery样式 */
    .factory-gallery {
        max-width: 350px;
    }
    
    .factory-img {
        height: 250px;
    }
    
    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* 小屏幕Footer样式 */
    .footer {
        padding: 1rem 0;
    }
    
    .footer p {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .icp-info {
        font-size: 0.8rem;
        margin-top: 0.2rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
} 