
:root {
    --primary: #FF7F50; /* 狐狸橙 */
    --primary-dark: #e66a3e;
    --secondary: #2D3436; /* 电影黑 */
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #636E72;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Poppins', sans-serif;
    color: var(--secondary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航 */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    height: 60px;
    box-shadow: var(--shadow);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo .icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

.logo small {
    font-size: 0.8rem;
    color: var(--primary);
    margin-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary);
}

/* 核心内容视图切换 */
.view {
    display: none;
    min-height: 100vh;
}

.view.active {
    display: block;
    animation: fadeIn 0.8s ease forwards;
}

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

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #fffcf9 0%, #fff 100%);
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1.2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-img {
    flex: 1;
}

.hero-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 127, 80, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 15px;
}

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

/* 栅格内容 */
.section {
    padding: 100px 0;
}

.pt-nav {
    padding-top: 150px;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.intro-card {
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* 新闻 */
.news-bg {
    background-color: var(--light);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    gap: 30px;
    align-items: center;
}

.news-date {
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins';
    min-width: 100px;
}

/* 产品页 */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 8px 24px;
    border: none;
    background: var(--light);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-thumb {
    height: 200px;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-body {
    padding: 24px;
}

.product-body h3 {
    margin-bottom: 10px;
}

.tag {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

/* 关于我们 */
.about-flex {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text, .about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
}

.timeline {
    margin-top: 40px;
    border-left: 2px solid var(--primary);
    padding-left: 20px;
}

.time-item {
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.team-card {
    text-align: center;
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light);
}

/* 联系我们 */
.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-details {
    list-style: none;
    margin: 30px 0;
}

.contact-details li {
    margin-bottom: 15px;
}

.contact-map img {
    width: 100%;
    border-radius: 12px;
}

.contact-form-box {
    flex: 1;
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    font-family: inherit;
}

/* 动画类 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* 页脚 */
.footer {
    padding: 60px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links p {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 10px;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-flex, .about-flex, .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
}
