/*
Theme Name: HooSport B2B
Theme URI: https://hoosport.com
Description: HooSport 中非体育产业 B2B 平台主题
Version: 1.0.0
Author: HooSport Team
Author URI: https://hoosport.com
Text Domain: hoosport
Tags: e-commerce, custom-background, threaded-comments, translation-ready
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ==========================================
   HooSport 品牌色彩
   ========================================== */

:root {
    /* 主色 - 深航海蓝 */
    --hoosport-navy-500: #1A2B48;
    --hoosport-navy-600: #142338;
    --hoosport-navy-700: #0F1B28;
    --hoosport-navy-800: #0A1319;
    --hoosport-navy-900: #050A0D;

    /* 点缀色 - 活力橙 */
    --hoosport-orange-500: #FF6B35;
    --hoosport-orange-600: #E85728;
    --hoosport-orange-700: #C9431B;

    /* 草场绿（备选） */
    --hoosport-green-500: #4CAF50;
}

/* ==========================================
   全局样式
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   导航栏
   ========================================== */

.site-header {
    background-color: var(--hoosport-navy-500);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: var(--hoosport-orange-500);
}

/* ==========================================
   Hero 区域
   ========================================== */

.hero-section {
    background: linear-gradient(135deg, var(--hoosport-navy-500) 0%, var(--hoosport-navy-700) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background-color: var(--hoosport-orange-500);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.hero-cta:hover {
    background-color: var(--hoosport-orange-600);
}

/* ==========================================
   Trust Bar
   ========================================== */

.trust-bar {
    background-color: #f3f4f6;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.trust-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-weight: 500;
}

/* ==========================================
   Quick Links
   ========================================== */

.quick-links-section {
    padding: 4rem 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.quick-link-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-link-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.quick-link-content {
    padding: 1.5rem;
}

.quick-link-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--hoosport-navy-500);
    margin-bottom: 0.5rem;
}

.quick-link-description {
    color: #6b7280;
}

/* ==========================================
   产品卡片
   ========================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--hoosport-navy-500);
    margin-bottom: 0.5rem;
}

.product-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.quote-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--hoosport-orange-500);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.quote-button:hover {
    background-color: var(--hoosport-orange-600);
}

/* ==========================================
   球员卡片
   ========================================== */

.player-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.player-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.player-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.player-info {
    padding: 1.5rem;
}

.player-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--hoosport-navy-500);
    margin-bottom: 0.25rem;
}

.player-position {
    color: #6b7280;
    margin-bottom: 1rem;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    background-color: #f3f4f6;
    border-radius: 6px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--hoosport-navy-500);
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ==========================================
   行业布告
   ========================================== */

.notice-list {
    padding: 2rem 0;
}

.notice-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.notice-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.notice-category.trade {
    background-color: #d1fae5;
    color: #065f46;
}

.notice-category.recruitment {
    background-color: #dbeafe;
    color: #1e40af;
}

.notice-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--hoosport-navy-500);
    margin-bottom: 0.5rem;
}

.notice-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.notice-meta {
    display: flex;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ==========================================
   表单样式
   ========================================== */

.form-section {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--hoosport-navy-500);
    box-shadow: 0 0 0 3px rgba(26, 43, 72, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--hoosport-orange-500);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: var(--hoosport-orange-600);
}

/* ==========================================
   页脚
   ========================================== */

.site-footer {
    background-color: var(--hoosport-navy-900);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--hoosport-orange-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ==========================================
   响应式设计
   ========================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-items {
        gap: 1.5rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   WooCommerce 样式覆盖
   ========================================== */

/* 隐藏价格显示 */
.woocommerce-Price-amount {
    display: none !important;
}

/* 自定义报价按钮 */
.add_to_cart_button {
    display: none !important;
}

.request-quote-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--hoosport-orange-500);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1rem;
}

.request-quote-button:hover {
    background-color: var(--hoosport-orange-600);
}
