/* Hollands Dagboek - Professional Theme 2026 */
:root {
  /* 核心配色：深蓝 + 荷兰橙 */
  --primary: #0f2c59;       
  --primary-light: #1d4075; 
  --accent: #f2911b;        
  --accent-hover: #d97b0f;  
  
  /* 背景与文字 */
  --bg-body: #f3f4f6;       
  --bg-card: #ffffff;       
  --text-main: #1f2937;     
  --text-muted: #6b7280;    
  --border: #e5e7eb;        
  
  /* 布局参数 */
  --container-width: 1140px;
  --header-height: 70px;
  --radius: 8px;            
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body { margin: 0; font-family: 'DM Sans', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* Header */
header { background-color: var(--primary); height: var(--header-height); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff !important; }
.brand-icon { font-size: 24px; }
.menu { display: flex; gap: 20px; }
.menu a { color: rgba(255,255,255,0.85) !important; font-size: 15px; font-weight: 500; padding: 6px 0; position: relative; }
.menu a:hover { color: #fff !important; }
.menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.menu a:hover::after { width: 100%; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%); color: #fff; padding: 80px 0; text-align: center; margin-bottom: 40px; border-bottom: 5px solid var(--accent); }
.hero h1 { font-size: 42px; font-weight: 800; margin: 0 0 16px; line-height: 1.2; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 24px; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.15); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background-color: var(--accent); color: #fff !important; font-weight: 600; padding: 10px 24px; border-radius: var(--radius); border: none; cursor: pointer; box-shadow: 0 2px 4px rgba(242, 145, 27, 0.3); }
.btn:hover { background-color: var(--accent-hover); transform: translateY(-1px); }

/* Layout & Cards */
.section { padding: 40px 0 80px; }
.section-title { font-size: 30px; font-weight: 700; color: var(--primary); margin-bottom: 10px; text-align: center; }
.section-desc { text-align: center; color: var(--text-muted); margin-bottom: 48px; font-size: 16px; }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media(min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--bg-card); border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); opacity: 0; transition: opacity 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 36px; margin-bottom: 16px; background: var(--bg-body); width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.card h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: var(--primary); }
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; flex-grow: 1; }

/* Article & Content */
.article-section { background: var(--bg-card); min-height: 60vh; }
.article-header { padding: 60px 0 40px; border-bottom: 1px solid var(--border); background: #fff; }
.article-header h1 { font-size: 38px; color: var(--primary); margin: 0 0 20px; line-height: 1.2; }
.article-meta { display: flex; gap: 16px; color: var(--text-muted); font-size: 14px; }
.article-body { padding: 40px 0; font-size: 18px; max-width: 800px; margin: 0 auto; }
.article-body h2 { color: var(--primary); margin-top: 40px; font-size: 26px; }
.article-body p, .article-body li { line-height: 1.8; margin-bottom: 20px; color: #374151; }
.tip-box, .warning-box { padding: 24px; margin: 32px 0; border-radius: var(--radius); font-size: 16px; border-left: 5px solid; }
.tip-box { background-color: #fffbeb; border-color: var(--accent); color: #92400e; }
.warning-box { background-color: #fef2f2; border-color: #ef4444; color: #991b1b; }

/* Footer */
.site-footer { background-color: var(--primary); color: rgba(255,255,255,0.7); padding: 60px 0 20px; margin-top: auto; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 16px; text-transform: uppercase; letter-spacing: 1px;}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 14px; }

/* Mobile & Util */
@media (max-width: 768px) { .hero h1 { font-size: 32px; } .menu { display: none; } .grid-2, .grid-3 { grid-template-columns: 1fr; } .article-header h1 { font-size: 28px; } }
.breadcrumb { margin-bottom: 24px; font-size: 14px; color: var(--text-muted); }
.cookie-banner { position: fixed; bottom: 0; width: 100%; background: #111827; color: white; padding: 15px; z-index: 999; display: none; }
.cookie-banner.show { display: block; }