/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    color: #2c5f2d;
    margin-bottom: 0.2rem;
}

.logo .tagline {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5f2d;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5f2d;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.8) 0%, 
        rgba(118, 75, 162, 0.8) 50%,
        rgba(44, 95, 45, 0.8) 100%);
    z-index: 2;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.flower {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.flower-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.flower-2 {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.flower-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

.flower-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* 品牌概览区块 */
.brands-section {
    background: #f8f9fa;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.brand-card {
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c5f2d, #4a8c5a);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.brand-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-image img {
    transform: scale(1.1);
}

.brand-card-content {
    padding: 2rem;
}

.brand-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.brand-card h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.brand-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.brand-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #2c5f2d;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.brand-link:hover {
    background: #1a3d1c;
}

/* 品牌详情区块 */
.brand-detail {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.brand-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.brand-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.brand-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    z-index: 2;
}

.brand-detail:nth-child(even)::before {
    background: linear-gradient(135deg, rgba(248,249,250,0.95) 0%, rgba(255,255,255,0.95) 100%);
}

.container {
    position: relative;
    z-index: 3;
}

.brand-header {
    text-align: center;
    margin-bottom: 3rem;
}

.brand-header h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.5rem;
    color: #2c5f2d;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.brand-tagline {
    font-style: italic;
    color: #666;
    font-size: 1.2rem;
}

.brand-content {
    max-width: 1000px;
    margin: 0 auto;
}

.brand-showcase {
    text-align: center;
    margin-bottom: 3rem;
}

.brand-feature-image {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.brand-feature-image:hover {
    transform: scale(1.02);
}

.brand-info h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    color: #2c5f2d;
    margin: 2rem 0 1rem 0;
}

.brand-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #2c5f2d;
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category:hover .category-image img {
    transform: scale(1.1);
}

.category h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.category p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* 品牌特色颜色 */
.nutrition-forest-section .brand-header h2 {
    color: #2c5f2d;
}

.su-shi-section .brand-header h2 {
    color: #d9534f;
}

.beautiful-moment-section .brand-header h2 {
    color: #f0ad4e;
}

.nutrition-forest-section .category {
    border-left-color: #2c5f2d;
}

.su-shi-section .category {
    border-left-color: #d9534f;
}

.beautiful-moment-section .category {
    border-left-color: #f0ad4e;
}

.nutrition-forest-section .brand-info h3 {
    color: #2c5f2d;
}

.su-shi-section .brand-info h3 {
    color: #d9534f;
}

.beautiful-moment-section .brand-info h3 {
    color: #f0ad4e;
}

.nutrition-forest-section .brand-card::before {
    background: linear-gradient(90deg, #2c5f2d, #4a8c5a);
}

.su-shi-section .brand-card::before {
    background: linear-gradient(90deg, #d9534f, #e57373);
}

.beautiful-moment-section .brand-card::before {
    background: linear-gradient(90deg, #f0ad4e, #f5d76e);
}

/* 联系我们区块 */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.footer-brands h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-brands ul {
    list-style: none;
}

.footer-brands ul li {
    margin-bottom: 0.5rem;
}

.footer-brands a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-brands a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .product-categories {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-detail {
        padding: 80px 0 60px;
    }

    .brand-feature-image {
        height: 250px;
    }

    .flower {
        font-size: 1.5rem;
    }

    .brand-image {
        height: 150px;
    }

    .category-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .brand-card {
        padding: 1.5rem;
    }

    .category {
        padding: 1rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .brand-detail {
        padding: 60px 0 40px;
    }

    .brand-feature-image {
        height: 200px;
    }
}

/* 额外的美化效果 */
.image-lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lazy-load.loaded {
    opacity: 1;
}

/* 粒子背景效果 */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 10s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* 光晕效果 */
.glow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    z-index: 4;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 10px;
    background: white;
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* 视差滚动效果 */
.parallax-slow {
    transition: transform 0.5s ease-out;
}

/* 图片滤镜效果 */
.image-grayscale:hover {
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.image-grayscale {
    filter: grayscale(20%);
}

/* 文字阴影增强 */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 卡片光效 */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s;
}

.card-shine:hover::before {
    transform: rotate(45deg) translateX(100%);
}