/*
Theme Name: Osina Packaging
Theme URI: https://osinapack.com
Author: Osina Team
Author URI: https://osinapack.com
Description: Osina Packaging - Professional Plastic Packaging Manufacturer WordPress Theme. A modern, responsive theme for packaging company websites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: osina
Tags: one-column, custom-menu, custom-logo, translation-ready
*/

/* === WordPress Core Styles === */
/* WordPress core styles are loaded via enqueue in functions.php */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 现代化暖色调主题 */
:root {
    --bg-color: #ffffff;
    --text-color: #2c3e50;
    --primary-color: #e67e22;
    --primary-dark: #d35400;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a2e;
    --border-color: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
}

body {
    font-family: 'Noto Sans SC', 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.35);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 126, 34, 0.45);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled,
.navbar.static-page {
    background: rgba(255, 255, 255, 0.98);
    padding: 25px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar .logo {
    color: #fff;
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #e67e22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar.scrolled .logo,
.navbar.static-page .logo {
    color: var(--secondary-color);
}

.navbar.scrolled .logo-text,
.navbar.static-page .logo-text {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

/* 语言切换器样式 */
.lang-switcher {
    position: relative;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.lang-current {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    user-select: none;
}

.navbar.scrolled .lang-current,
.navbar.static-page .lang-current {
    color: var(--secondary-color);
    background: rgba(230, 126, 34, 0.1);
}

.lang-switcher i {
    margin-left: 8px;
    font-size: 0.85rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.navbar.scrolled .lang-switcher i,
.navbar.static-page .lang-switcher i {
    color: var(--secondary-color);
}

.lang-switcher:hover .lang-current {
    background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .lang-switcher:hover .lang-current,
.navbar.static-page .lang-switcher:hover .lang-current {
    background: rgba(230, 126, 34, 0.2);
}

.lang-switcher:hover i {
    transform: rotate(30deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-option:hover {
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--primary-color);
    color: #fff;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.nav-links li a {
    color: #fff;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links li a i {
    font-size: 0.9rem;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(230, 126, 34, 0.15);
    color: var(--primary-color);
}

.navbar.scrolled .nav-links li a,
.navbar.static-page .nav-links li a {
    color: var(--text-color);
}

.navbar.scrolled .nav-links li a:hover,
.navbar.scrolled .nav-links li a.active,
.navbar.static-page .nav-links li a:hover,
.navbar.static-page .nav-links li a.active {
    background: var(--primary-color);
    color: #fff;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar.scrolled .hamburger .bar,
.navbar.static-page .hamburger .bar {
    background: var(--secondary-color);
}

/* Hero section 样式 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a5c2e 0%, #0d3d1d 40%, #1a4d2e 100%);
    opacity: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(230, 126, 34, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(19, 184, 85, 0.08) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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,165.3C384,171,480,149,576,133.3C672,117,768,107,864,117.3C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,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;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(230, 126, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 156, 18, 0.08) 0%, transparent 50%);
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
}

.carousel-content .subtitle {
    display: none;
}

/* 新轮播标题样式 */
.hero-title-split {
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-title-split .line {
    display: block;
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    animation: heroLineIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-title-split .line-white {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation-delay: 0.3s;
}

.hero-title-split .line-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: 
        heroLineIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both,
        gradientFlow 4s ease-in-out infinite;
}

.hero-title-split .line-gradient::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
}

@keyframes heroLineIn {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
        filter: blur(10px);
    }
    60% {
        transform: translateY(-10px) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* 旧标题样式保留 */
.carousel-content h2 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: heroTitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
    background: linear-gradient(135deg, #ffffff 0%, #ffe8cc 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both,
               shimmer 3s ease-in-out infinite;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.carousel-content h2 span {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ff9a00 0%, #ff6600 25%, #ff9a00 50%, #ffcc00 75%, #ff9a00 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    filter: drop-shadow(0 4px 15px rgba(230, 126, 34, 0.4));
}

@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(10px);
    }
    60% {
        transform: translateY(-8px) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.carousel-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.carousel-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.btn-outline:hover {
    background: #fff;
    color: var(--secondary-color);
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
}

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

/* 部分样式 */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: #fff;
}

.section-gray {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark-bg);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header .label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.section-dark .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* 关于我们样式 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.about-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    width: 45px;
    height: 45px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 600;
    color: var(--secondary-color);
}

/* 统计数字 */
.stats-section {
    background: var(--gradient-primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 产品展示样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
}

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

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.product-info p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 12px;
}

/* 特色展示 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon i {
    color: #fff;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.feature-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 新闻样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

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

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-image i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.4;
}

.news-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
}

.news-date-badge .day {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
}

.news-date-badge .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    line-height: 1.4;
}

.news-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 联系表单样式 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 45px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-detail-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col:first-child h3 {
    font-size: 3.5rem;
    font-weight: 900;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .products-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .navbar.scrolled .nav-links li a,
    .navbar.static-page .nav-links li a {
        color: #fff;
    }
    
    .navbar.scrolled .nav-links li a:hover,
    .navbar.static-page .nav-links li a:hover {
        background: rgba(230, 126, 34, 0.2);
    }
    
    .hamburger .bar {
        background: var(--secondary-color) !important;
    }
    
    .navbar:not(.scrolled):not(.static-page) .hamburger .bar {
        background: #fff !important;
    }
    
    .hero-title-split .line {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .carousel-content h2 {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* WordPress compatibility */
.alignnone {
    margin: 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 20px auto;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    text-align: center;
    padding: 10px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* WordPress admin bar */
@media screen max-width: 782px {
    .wp-admin-bar {
        display: none !important;
    }
}

/* 单页文章样式 */
.page-header {
    text-align: center;
    color: #fff;
}

.news-meta-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.news-meta-header .meta-date,
.news-meta-header .meta-category {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.news-meta-header i {
    margin-right: 5px;
}

.single-article-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

.single-featured-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.single-featured-image .featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.single-text-content {
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.single-text-content p {
    margin-bottom: 20px;
}

.single-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.article-navigation a {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-navigation a:hover {
    color: var(--primary-dark);
}

.prev-article a,
.next-article a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-list {
    text-align: center;
}

.back-to-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.35);
}

.single-article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.recent-news-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.recent-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-news-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-news-item h4 a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.recent-news-item h4 a:hover {
    color: var(--primary-color);
}

.recent-news-item .news-date {
    font-size: 0.85rem;
    color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
    .single-article-wrapper {
        grid-template-columns: 1fr;
    }
    
    .news-meta-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-navigation {
        flex-direction: column;
    }
}
