/* 
   ikstemvoorstilte.nl
   Campaign for silence in Groene Hart
*/

:root {
    --slate: #2d3e50;
    --slate-light: #3d5268;
    --cream: #f8f6f2;
    --cream-dark: #ebe8e1;
    --teal: #3d8b8b;
    --teal-hover: #2f7070;
    --warm-gray: #6b7280;
    --text-primary: #1f2937;
    --text-muted: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--cream);
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Site header */
.site-header {
    background: var(--slate);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.site-logo svg {
    width: 42px;
    height: 42px;
}

.site-logo:hover {
    color: #fff;
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    border-bottom-color: var(--teal);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--slate) 0%, var(--slate-light) 100%);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cta-button:hover {
    background: var(--teal-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* Main content area */
.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Section styling */
.content-section {
    margin-bottom: 3rem;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 680px;
}

/* Info cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid var(--cream-dark);
}

.info-card h3 {
    font-size: 1.15rem;
    color: var(--slate);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Partners section */
.partners-section {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}

.partners-container {
    max-width: 1100px;
    margin: 0 auto;
}

.partners-title {
    font-size: 1.25rem;
    color: var(--slate);
    margin-bottom: 1rem;
    font-weight: 600;
}

.partners-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 720px;
}

/* Footer */
.site-footer {
    background: var(--slate);
    color: rgba(255,255,255,0.85);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #fff;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--slate);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav.open {
        display: flex;
    }
    
    .main-nav a {
        padding: 0.75rem 0;
        border-bottom: none;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.4rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Cookie notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--slate);
    color: #fff;
    padding: 1rem 1.5rem;
    z-index: 999;
    display: none;
}

.cookie-notice.visible {
    display: block;
}

.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.cookie-text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-accept {
    background: var(--teal);
    color: #fff;
}

.cookie-decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Page header (non-home pages) */
.page-header {
    background: linear-gradient(135deg, var(--slate) 0%, var(--slate-light) 100%);
    color: #fff;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
}

/* FAQ / Info sections */
.faq-section {
    margin-bottom: 2.5rem;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--cream-dark);
    overflow: hidden;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate);
    padding: 1.25rem 1.5rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--teal);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Text content styling */
.text-content {
    max-width: 760px;
}

.text-content h2 {
    font-size: 1.4rem;
    color: var(--slate);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.text-content h2:first-child {
    margin-top: 0;
}

.text-content p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.text-content ul, 
.text-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-primary);
}

.text-content li {
    margin-bottom: 0.5rem;
}

/* Error page */
.error-page {
    text-align: center;
    padding: 4rem 1.5rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--cream-dark);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page h1 {
    font-size: 1.75rem;
    color: var(--slate);
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Event/symposium styling */
.event-details {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--cream-dark);
    margin-bottom: 2rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.event-meta-item strong {
    color: var(--slate);
}

/* Two column layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .error-code {
        font-size: 4rem;
    }
}

/* Blog index */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.75rem;
    border: 1px solid var(--cream-dark);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.blog-item h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-item h2 a {
    color: var(--slate);
}

.blog-item h2 a:hover {
    color: var(--teal);
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-excerpt a {
    color: var(--teal);
}

.read-more {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal);
}

.read-more:hover {
    text-decoration: underline;
}

/* Single blog post */
.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.post-title {
    font-size: 2rem;
    color: var(--slate);
    line-height: 1.3;
}

.post-content {
    max-width: 720px;
}

.post-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.35rem;
    color: var(--slate);
    margin: 2rem 0 1rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0 1.25rem 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.post-nav {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cream-dark);
}

/* Homepage blogroll */
.blogroll {
    margin-top: 1rem;
}

.blogroll-title {
    font-size: 1.5rem;
    color: var(--slate);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.blogroll-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--cream-dark);
}

.blogroll-item:last-child {
    margin-bottom: 0;
}

.blogroll-date {
    font-size: 0.8rem;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.blogroll-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.blogroll-item h3 a {
    color: var(--slate);
}

.blogroll-item h3 a:hover {
    color: var(--teal);
}

.blogroll-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.blogroll-excerpt a {
    color: var(--teal);
}

.blogroll-more {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 500;
}

.blogroll-more:hover {
    text-decoration: underline;
}
