/*
Theme Name: AIWEI Refrigeration
Theme URI: https://aiweirefrig.com
Author: AIWEI Team
Author URI: https://aiweirefrig.com
Description: Professional B2B WordPress theme for refrigeration equipment export business
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aiwei
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.2
WC requires at least: 3.0
WC tested up to: 8.0
*/

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: #ff9500;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Header & Navigation ===== */
.site-header {
    background-color: #003366;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.site-header-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.site-logo .highlight {
    color: #ff9500;
}

.site-logo a {
    color: #fff;
}

.site-logo a:hover {
    color: #ff9500;
}

.main-navigation {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-navigation a {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.main-navigation a:hover {
    color: #ff9500;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff9500;
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.menu-item-has-children {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    padding: 20px;
    min-width: 700px;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 15px;
    z-index: 999;
}

.menu-item-has-children:hover .sub-menu {
    display: grid;
}

.sub-menu li {
    text-align: center;
    padding: 15px 10px;
    border-radius: 10px;
    transition: all 0.2s;
}

.sub-menu li:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.sub-menu a {
    color: #333;
}

/* CTA Button */
.cta-button {
    background: #ff9500;
    color: #fff;
    padding: 11px 26px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e68a00;
    color: #fff;
}

/* ===== Hero Banner ===== */
.hero {
    background: linear-gradient(135deg, #003366 0%, #004d99 50%, #1a5fa0 100%);
    padding: 100px 40px 80px;
    color: #fff;
    text-align: center;
    margin-top: 70px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 54px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #ff9500;
    color: #fff;
}

.btn-primary:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* ===== Stats Section ===== */
.stats {
    background: #ff9500;
    padding: 50px 40px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
    margin-top: 8px;
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 90px 40px;
    background: #f5f7fa;
}

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

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

.section-title h2 {
    font-size: 42px;
    font-weight: 900;
    color: #003366;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 18px;
    color: #666;
}

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

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #ff9500;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Products Section ===== */
.products {
    padding: 90px 40px;
    background: #fff;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: block;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.brand-header {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}

.brand-body {
    padding: 24px 18px;
}

.brand-body h3 {
    font-size: 22px;
    color: #003366;
    margin-bottom: 4px;
    font-weight: 700;
}

.brand-body p {
    color: #888;
    font-size: 13px;
    margin-bottom: 16px;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.tag-green {
    background: #d4edda;
    color: #155724;
}

.tag-blue {
    background: #d1ecf1;
    color: #0c5460;
}

.tag-orange {
    background: #ffe5cc;
    color: #cc5200;
}

/* ===== Certifications ===== */
.certs {
    padding: 80px 40px;
    background: #f5f7fa;
}

.certs-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.cert-item {
    text-align: center;
}

.cert-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.cert-item span {
    font-size: 15px;
    color: #666;
    font-weight: 700;
}

/* ===== Contact Section ===== */
.contact {
    padding: 90px 40px;
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: #fff;
    text-align: center;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
}

.contact > .contact-container > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-info-item {
    text-align: center;
}

.contact-info-item .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-info-item .label {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.contact-info-item .value {
    font-size: 16px;
    font-weight: 700;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons a {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-email {
    background: #ff9500;
    color: #fff;
}

.btn-email:hover {
    background: #e68a00;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1fa857;
}

.btn-wechat {
    background: #09B83E;
    color: #fff;
}

.btn-wechat:hover {
    background: #078a32;
}

.btn-social {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-social:hover {
    background: rgba(255,255,255,0.3);
}

/* ===== Footer ===== */
.site-footer {
    background: #0a0f1e;
    color: #aaa;
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.site-footer h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.site-footer li {
    margin-bottom: 12px;
    font-size: 14px;
}

.site-footer a {
    color: #aaa;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sub-menu {
        min-width: 600px;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info {
        gap: 30px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 36px;
    }
}
