/*
Theme Name: GlobalTrade Hub
Theme URI: http://120.48.126.97
Description: GlobalTrade Hub - Alibaba affiliate marketplace theme (standalone)
Author: GlobalTrade Hub
Author URI: http://120.48.126.97
Version: 1.0.0
Text Domain: globaltrade-hub
*/

/* ===== GlobalTrade Hub Custom Styles ===== */
:root {
    --gth-primary: #ff6a00;
    --gth-primary-dark: #e65f00;
    --gth-secondary: #ee0979;
    --gth-accent: #0066ff;
    --gth-bg: #fafafa;
    --gth-text: #1a1a1a;
    --gth-muted: #666;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gth-bg);
    color: var(--gth-text);
    line-height: 1.7;
}

.gth-hero {
    position: relative;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.gth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.gth-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.gth-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.gth-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.95;
    margin-bottom: 32px;
}

.gth-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: var(--gth-primary);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.gth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.gth-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 12px;
}

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

.gth-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.gth-section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.gth-section-title p {
    color: var(--gth-muted);
    font-size: 1.1rem;
}

.gth-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gth-category-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.25s;
    border: 1px solid transparent;
}

.gth-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--gth-primary);
}

.gth-category-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.gth-category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gth-text);
    margin: 0;
}

.gth-features {
    background: #fff;
    padding: 60px 20px;
}

.gth-features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gth-feature {
    text-align: center;
    padding: 20px;
}

.gth-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.gth-feature h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.gth-feature p {
    margin: 0;
    color: var(--gth-muted);
    font-size: 0.95rem;
}

.gth-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 20px 20px;
}

.gth-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.gth-footer h4 {
    color: #fff;
    margin: 0 0 16px;
    font-size: 1.1rem;
}

.gth-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gth-footer li {
    margin-bottom: 8px;
}

.gth-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.gth-footer a:hover {
    color: var(--gth-primary);
}

.gth-footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.85rem;
}

.gth-footer-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #888;
    margin-top: 12px;
}

/* Header customization */
.wp-block-site-title a {
    color: var(--gth-text);
    font-weight: 800;
}

/* CTA section */
.gth-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.gth-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    font-weight: 700;
}

.gth-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .gth-hero { padding: 60px 20px; }
    .gth-btn-secondary { margin-left: 0; margin-top: 12px; display: inline-block; }
    .gth-section { padding: 40px 20px; }
}