/* ========== HOME PAGE ========== */

/* Hero Carousel */
#hero { margin-top: -76px; }
#heroCarousel { height: 100vh; min-height: 600px; }
#heroCarousel .carousel-item {
    height: 100vh; min-height: 600px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
#heroCarousel .carousel-item::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%);
}
.carousel-caption-hero {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; color: #fff; z-index: 2; width: 90%; max-width: 800px;
}
.carousel-caption-hero h1 {
    font-size: 3.5rem; font-weight: 900; letter-spacing: 4px; margin-bottom: 20px;
    animation: fadeInUp 1s ease; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.carousel-caption-hero p {
    font-size: 1.25rem; font-weight: 300; letter-spacing: 3px; margin-bottom: 36px;
    animation: fadeInUp 1s ease 0.2s both; opacity: 0.9;
}
.carousel-caption-hero .btn-hero {
    padding: 14px 40px; font-size: 1rem; font-weight: 600; letter-spacing: 2px;
    border-radius: 50px; transition: all 0.3s; animation: fadeInUp 1s ease 0.4s both;
}
.btn-hero-primary { background: var(--primary); color: #fff; border: none; }
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(13,107,62,0.4); }
.btn-hero-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.8); }
.btn-hero-outline:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
#heroCarousel .carousel-indicators button {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6);
    background: transparent; margin: 0 6px; transition: all 0.3s;
}
#heroCarousel .carousel-indicators button.active { background: #fff; border-color: #fff; transform: scale(1.3); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wuhua Section */
#wuhua {
    background: linear-gradient(135deg, #0a4a2a 0%, #0d6b3e 40%, #064e2b 100%);
    position: relative; overflow: hidden;
}
#wuhua::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}
#wuhua .section-title h2 { color: #fff; }
#wuhua .section-title h2::after { background: var(--accent); }
#wuhua .section-title p { color: rgba(255,255,255,0.8); }
.wuhua-card {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 20px;
    padding: 40px 28px; text-align: center; color: #fff;
    transition: all 0.4s; height: 100%; position: relative; overflow: hidden;
}
.wuhua-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--accent); transform: scaleX(0); transition: transform 0.4s;
}
.wuhua-card:hover::before { transform: scaleX(1); }
.wuhua-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.wuhua-icon { font-size: 3rem; color: var(--accent); margin-bottom: 20px; transition: transform 0.4s; }
.wuhua-card:hover .wuhua-icon { transform: scale(1.15) rotateY(360deg); }
.wuhua-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; letter-spacing: 2px; }
.wuhua-card p { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin: 0; }

/* About Preview */
#about-preview { background: var(--white); }
.about-img-wrap { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.5s; }
.about-img-wrap:hover img { transform: scale(1.05); }
.about-badge { position: absolute; bottom: 30px; right: 30px; background: var(--primary); color: #fff; padding: 16px 24px; border-radius: 12px; text-align: center; }
.about-badge .num { font-size: 2.5rem; font-weight: 900; display: block; line-height: 1; }
.about-badge span { font-size: 0.875rem; letter-spacing: 1px; }
.about-content h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 18px; color: var(--dark); }
.about-content p { color: var(--text-light); margin-bottom: 14px; line-height: 2; }

/* Stats */
#stats {
    background: url('https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?w=1920&q=80') center/cover fixed;
    position: relative; padding: 80px 0;
}
#stats::before { content: ''; position: absolute; inset: 0; background: rgba(6,78,43,0.92); }
.stat-item { text-align: center; color: #fff; position: relative; z-index: 1; padding: 20px; }
.stat-item .stat-num { font-size: 3rem; font-weight: 900; margin-bottom: 8px; letter-spacing: 2px; }
.stat-item .stat-label { font-size: 0.875rem; letter-spacing: 2px; opacity: 0.85; }

/* Products Preview */
#products-preview { background: var(--white); }
.product-card { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s; height: 100%; background: #fff; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card-img { height: 220px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.1); }
.product-card-body { padding: 22px 20px; }
.product-card-body h5 { font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.product-card-body p { color: var(--text-light); font-size: 0.875rem; margin: 0; line-height: 1.7; }
.product-tag { display: inline-block; background: rgba(13,107,62,0.1); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; margin-bottom: 10px; font-weight: 500; }

/* News Preview */
#news-preview { background: var(--gray-bg); }
.news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s; height: 100%; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 180px; overflow: hidden; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.1); }
.news-date-badge { position: absolute; top: 15px; left: 15px; background: var(--primary); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-body h5 { font-weight: 700; font-size: 1rem; margin-bottom: 10px; line-height: 1.5; }
.news-card-body p { color: var(--text-light); font-size: 0.875rem; flex: 1; margin: 0 0 14px; }
.news-readmore { color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.875rem; letter-spacing: 1px; transition: all 0.3s; }
.news-readmore:hover { color: var(--primary-dark); }
.news-readmore i { transition: transform 0.3s; }
.news-readmore:hover i { transform: translateX(5px); }

@media (max-width: 991px) {
    .carousel-caption-hero h1 { font-size: 2rem; letter-spacing: 2px; }
    .carousel-caption-hero p { font-size: 1rem; letter-spacing: 1px; }
    .about-img-wrap img { height: 320px; }
}
@media (max-width: 576px) {
    .carousel-caption-hero h1 { font-size: 1.5rem; }
    .carousel-caption-hero p { font-size: 0.875rem; }
}
