/* Dutch Test Canada - Subpage Styles */
:root {
    --primary: #6B4E71;
    --primary-dark: #5A3D60;
    --accent: #C4A77D;
    --accent-dark: #B8956A;
    --text: #2C2D30;
    --text-light: #5A5660;
    --bg: #FDFBF9;
    --bg-alt: #F7F4F0;
    --bg-sage: #F2EDF4;
    --border: #E5E0E8;
    --white: #ffffff;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
    --section-pad: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(253, 251, 249, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 8px 24px; display: flex; justify-content: space-between; align-items: center; }

/* Logo - proportional sizing */
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 80px; width: auto; max-width: 200px; }

/* Footer Logo */
.footer-brand .logo img { height: 70px; width: auto; }

/* Mobile Logo */
@media (max-width: 768px) {
    .logo img { height: 60px; }
}

.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 20px; border-radius: 6px; }
.nav-cta:hover { background: var(--primary-dark); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 3px; background: #2D3B35; margin: 4px 0; transition: 0.3s; border-radius: 2px; }

/* Page Header */
.page-header { padding: 160px 0 60px; background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%); text-align: center; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); color: var(--text); margin-bottom: 16px; }
.page-header p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Content Section */
.content-section { padding: var(--section-pad) 0; }
.content-section.bg-sage { background: var(--bg-sage); }
.content-section h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--text); margin: 40px 0 16px; }
.content-section h2:first-child { margin-top: 0; }
.content-section p { margin-bottom: 16px; color: var(--text); }
.content-section ul, .content-section ol { margin: 16px 0 16px 24px; }
.content-section li { margin-bottom: 8px; }
.content-section a { color: var(--primary); }

/* Section headers */
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--text); margin-bottom: 16px; text-align: center; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); text-align: center; max-width: 600px; margin: 0 auto 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px rgba(107, 78, 113, 0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: white; color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--bg); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Cards */
.card { background: var(--white); border-radius: 16px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }

/* CTA Section */
.cta-section { padding: var(--section-pad) 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); text-align: center; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--text); color: var(--white); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; margin: 16px 0 20px; }
.footer-column h3, .footer-column h4 { font-size: 1rem; margin-bottom: 20px; color: var(--white); }
.footer-column ul { list-style: none; }
.footer-column a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; display: block; padding: 6px 0; transition: color 0.2s; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 8px; }
.footer-legal a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.85rem; padding: 8px 12px; display: inline-block; }
.footer-legal a:hover { color: var(--white); }
.site-credit { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.site-credit a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.site-credit a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-disclaimer { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center; }
.trademark-disclaimer { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 10px 0; line-height: 1.5; text-align: center; }

/* FAQ Styles */
.faq-page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 60px; }
.faq-sidebar { position: sticky; top: 120px; height: fit-content; }
.faq-sidebar h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 16px; color: var(--text); }
.faq-categories { list-style: none; }
.faq-categories li { margin-bottom: 8px; }
.faq-categories a { color: var(--text-light); text-decoration: none; padding: 8px 16px; display: block; border-radius: 8px; transition: all 0.2s; font-size: 0.95rem; }
.faq-categories a:hover, .faq-categories a.active { background: var(--bg-sage); color: var(--primary); font-weight: 600; }
.faq-category { margin-bottom: 48px; }
.faq-category h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--border); color: var(--text); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--text); transition: color 0.2s; }
.faq-question:hover { color: var(--primary); }
.faq-question svg { width: 20px; height: 20px; stroke: var(--text-light); fill: none; stroke-width: 2; transition: transform 0.3s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p, .faq-answer ul { padding-bottom: 20px; color: var(--text-light); line-height: 1.8; }
.faq-answer ul { margin-left: 20px; }
.faq-answer li { margin-bottom: 8px; }

/* Content Grid */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* Values Grid */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.value-card { background: var(--white); padding: 32px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.value-icon { width: 56px; height: 56px; background: var(--bg-sage); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value-icon svg { width: 28px; height: 28px; stroke: var(--primary); }
.value-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; color: var(--text); }
.value-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* Mobile */
@media (max-width: 900px) {
    .faq-page-layout { grid-template-columns: 1fr; gap: 32px; }
    .faq-sidebar { position: static; }
    .faq-categories { display: flex; flex-wrap: wrap; gap: 8px; }
    .faq-categories li { margin: 0; }
    .content-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; z-index: 9999; position: relative; }
    .mobile-menu-btn.active span { background: #2D3B35; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-social { justify-content: center; }
    .page-header { padding: 120px 0 40px; }
    .page-header h1 { font-size: 1.8rem; }
    .content-section { padding: 60px 0; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }
}
