/*
Theme Name:         Itapgo Twenty Twenty-Five Child
Theme URI:         https://itapgo.com/
Description:        Twenty Twenty-Five 子主题 - 为银联条码平台定制
Author:             Itapgo
Author URI:         https://itapgo.com/
Template:           twentytwentyfive
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:        itapgo-twentytwentyfive
*/

/* ========== 全局样式 ========== */

/* 品牌色 - 银行蓝为主色调 */
:root {
    --itapgo-primary: #0057b7;
    --itapgo-secondary: #003d5a;
    --itapgo-accent: #00a8e8;
    --itapgo-dark: #002a3f;
    --itapgo-light: #e3f2fd;
    --itapgo-white: #ffffff;
    --itapgo-gray: #6c757d;
}

body {
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.site-header {
    background: linear-gradient(135deg, var(--itapgo-primary) 0%, var(--itapgo-secondary) 100%);
    border-bottom: 3px solid var(--itapgo-accent);
}

.site-title a {
    color: var(--itapgo-white) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.main-navigation .primary-menu > li > a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.main-navigation .primary-menu > li > a:hover {
    color: var(--itapgo-white);
}

/* 按钮样式 */
.button,
.wp-block-button__link {
    background-color: var(--itapgo-primary) !important;
    color: var(--itapgo-white) !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button:hover,
.wp-block-button__link:hover {
    background-color: var(--itapgo-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 首页特色区域 */
.home .wp-block-group,
.home .wp-block-cover {
    text-align: center;
}

/* 卡片样式 */
.wp-block-columns {
    gap: 2rem;
}

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

a:hover {
    color: var(--itapgo-accent);
    text-decoration: underline;
}

/* 页脚样式 */
.site-footer {
    background: var(--itapgo-dark);
    color: var(--itapgo-light);
}

.site-footer a {
    color: var(--itapgo-accent);
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .site-title a {
        font-size: 1.2rem;
    }
}
