/* Yaniv.be - Officiële Website van de Belgische Yaniv Vereniging */
/* Classic Early 2000s Web 2.0 Styling */

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

body {
    font-family: 'Trebuchet MS', 'Lucida Grande', Tahoma, sans-serif;
    background: #e8f4f8;
    background: linear-gradient(to bottom, #e8f4f8 0%, #d4e9f0 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: linear-gradient(to bottom, #4a90e2 0%, #2e5c8a 100%);
    padding: 30px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    text-align: center;
}

header h1 {
    color: #fff;
    font-size: 3em;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

header .tagline {
    color: #c8e3f7;
    font-size: 1.1em;
    font-style: italic;
}

/* Navigation */
nav {
    background: linear-gradient(to bottom, #f8f8f8 0%, #e0e0e0 100%);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #ccc;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav a {
    display: block;
    padding: 12px 25px;
    background: linear-gradient(to bottom, #fff 0%, #e8e8e8 100%);
    color: #2e5c8a;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #bbb;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a:hover {
    background: linear-gradient(to bottom, #4a90e2 0%, #2e5c8a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav a.active {
    background: linear-gradient(to bottom, #4a90e2 0%, #2e5c8a 100%);
    color: #fff;
    border-color: #2e5c8a;
}

/* Main Content */
.content-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 3px solid #ddd;
}

.content-box h2 {
    color: #2e5c8a;
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 3px solid #4a90e2;
    padding-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.content-box h3 {
    color: #4a90e2;
    font-size: 1.5em;
    margin: 25px 0 15px 0;
}

.content-box p {
    margin-bottom: 15px;
    text-align: justify;
}

.content-box ul,
.content-box ol {
    margin: 15px 0 15px 30px;
}

.content-box li {
    margin-bottom: 10px;
}

/* Special Box */
.special-box {
    background: linear-gradient(to right, #fff9e6 0%, #fff3cc 100%);
    border: 3px solid #ffcc00;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.special-box h3 {
    color: #cc8800;
    margin-top: 0;
}

/* Cards */
.card {
    display: inline-block;
    width: 60px;
    height: 85px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    text-align: center;
    padding: 8px 5px;
    margin: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    font-size: 1.2em;
    position: relative;
    vertical-align: middle;
}

.card.red {
    color: #d32f2f;
}

.card.black {
    color: #000;
}

.card .value {
    font-size: 1.3em;
    display: block;
}

.card .suit {
    font-size: 1.5em;
    display: block;
    margin-top: 5px;
}

.card-row {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

/* Example Section */
.example {
    background: #f0f8ff;
    border-left: 5px solid #4a90e2;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.example-title {
    font-weight: bold;
    color: #2e5c8a;
    margin-bottom: 10px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th {
    background: linear-gradient(to bottom, #4a90e2 0%, #2e5c8a 100%);
    color: #fff;
    padding: 12px;
    text-align: left;
    border: 1px solid #2e5c8a;
}

table td {
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
}

table tr:nth-child(even) td {
    background: #f8f8f8;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #2e5c8a 0%, #1a3a5a 100%);
    color: #c8e3f7;
    text-align: center;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    margin-top: 30px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

footer a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted #fff;
}

footer a:hover {
    color: #ffcc00;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to bottom, #4a90e2 0%, #2e5c8a 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #2e5c8a;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #5aa0f2 0%, #3e6c9a 100%);
}

/* Highlight */
.highlight {
    background: #ffff99;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Belgian Flag Colors */
.be-flag {
    display: inline-block;
    width: 60px;
    height: 40px;
    background: linear-gradient(to right, #000 0%, #000 33%, #ffd700 33%, #ffd700 66%, #d32f2f 66%, #d32f2f 100%);
    border: 1px solid #333;
    border-radius: 3px;
    vertical-align: middle;
    margin: 0 5px;
}

/* Permalink icon for headers: hidden by default, visible on hover/focus */
.content-box h3 {
    position: relative;
}
.header-link {
    color: #4a90e2;
    text-decoration: none;
    margin-left: 8px;
    font-size: 0.95em;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.12s ease;
}
.content-box h3:hover .header-link,
.content-box h3:focus-within .header-link {
    visibility: visible;
    opacity: 1;
}
.header-link:focus {
    outline: 2px solid #4a90e2;
    border-radius: 3px;
    padding: 2px;
}