/* Euro IRP Static Site - Clean Modern CSS */
:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --accent: #c8a951;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-light: #f5f7fa;
    --bg-dark: #1a2332;
    --border: #e0e4e8;
    --max-width: 1200px;
}

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--bg);
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo img { height: 50px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { font-size: 1.1em; color: var(--primary); font-weight: 600; line-height: 1.2; }
.logo-tagline { font-size: 0.55em; font-weight: 400; color: var(--text-light); display: block; }

/* Navigation */
nav ul { list-style: none; display: flex; gap: 0; }
nav > ul > li { position: relative; }
nav > ul > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--primary);
    font-size: 0.9em;
    font-weight: 600;
    transition: color 0.2s;
}
nav > ul > li > a:hover { color: var(--accent); }

/* Dropdown */
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    min-width: 240px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 2px solid var(--accent);
    z-index: 200;
}
nav ul li:hover > ul { display: block; }
nav ul ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85em;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
nav ul ul li a:hover { background: var(--bg-light); color: var(--accent); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 1.5em; cursor: pointer; color: var(--primary); }

/* Hero / Page Header */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.page-hero h1 { font-size: 2.2em; margin-bottom: 10px; }
.page-hero p { font-size: 1.1em; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* Home hero - larger */
.home-hero { padding: 70px 0; }
.home-hero h1 { font-size: 2.6em; }

/* Content */
.content { padding: 50px 0; }
.content h2 { color: var(--primary); margin: 30px 0 15px; font-size: 1.5em; }
.content h3 { color: var(--primary); margin: 20px 0 10px; font-size: 1.2em; }
.content p { margin-bottom: 15px; }
.content ul, .content ol { margin: 0 0 15px 25px; }
.content li { margin-bottom: 8px; }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 200px; gap: 25px; }
.sidebar { padding-top: 10px; }

/* Three column layout (home page) */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 30px 0; }

/* Cards */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 25px;
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.1em; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9em; }
.card ul li:last-child { border-bottom: none; }

/* Sidebar buttons */
.sidebar-btn {
    display: block;
    background: var(--primary);
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 12px;
    transition: background 0.2s;
}
.sidebar-btn:hover { background: var(--primary-light); color: #fff; }
.sidebar-btn.accent { background: var(--accent); color: var(--primary); }
.sidebar-btn.accent:hover { background: #d4b85e; color: var(--primary); }

/* Board members */
.board-member {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border);
}
.board-member img { width: 150px; height: 150px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.board-member h3 { margin-top: 0; }
.board-member .role { color: var(--accent); font-weight: 600; margin-bottom: 8px; }

/* Events table */
.events-list { width: 100%; border-collapse: collapse; margin: 20px 0; }
.events-list th { background: var(--primary); color: #fff; padding: 12px 15px; text-align: left; font-size: 0.9em; }
.events-list td { padding: 12px 15px; border-bottom: 1px solid var(--border); font-size: 0.9em; }
.events-list tr:hover td { background: var(--bg-light); }
.events-list .past { opacity: 0.6; }

/* Contact form placeholder */
.form-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border);
    padding: 30px;
    text-align: center;
    border-radius: 6px;
    color: var(--text-light);
}

/* Document links */
.doc-list { list-style: none; padding: 0; }
.doc-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.doc-list li a::before { content: "📄 "; }

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #aab;
    padding: 25px 0;
    margin-top: 50px;
}
.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.85em;
}
.footer-left p, .footer-right p { margin: 3px 0; }
.footer-center a { display: inline-block; }
.footer-center svg { vertical-align: middle; }
.footer-right { text-align: right; }
.footer-right a { color: #aab; }
.footer-right a:hover { color: var(--accent); }
.footer-right strong { color: #fff; }

/* Intro text */
.intro-text { font-size: 1.05em; line-height: 1.8; margin-bottom: 25px; }

/* Sidebar CTA boxes */
.sidebar-cta {
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    padding: 14px 12px;
    margin-bottom: 10px;
    text-align: center;
}
.sidebar-cta h4 { color: #fff; margin-bottom: 4px; font-size: 0.85em; }
.sidebar-cta p { color: rgba(255,255,255,0.8); font-size: 0.72em; margin-bottom: 8px; line-height: 1.4; }
.sidebar-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.78em;
    transition: background 0.2s;
}
.sidebar-cta-btn:hover { background: var(--bg-light); color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    nav ul.active { display: flex; }
    nav ul ul { position: static; box-shadow: none; border-top: none; }
    .two-col, .three-col { grid-template-columns: 1fr; }
    .footer-bar { flex-direction: column; text-align: center; }
    .footer-right { text-align: center; }
    .board-member { flex-direction: column; }
    .board-member img { width: 120px; height: 120px; }
    .page-hero h1 { font-size: 1.6em; }
}
