/* --- General Page Styling --- */

body {
    margin: 0;
    padding: 0; 
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f2f4f7;
    color: #333;
}

/* Main content box */
.stuff {
    max-width: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* PROFIEL HEADER MET FOTO */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.profile-text h1 {
    font-size: 42px;
    margin: 0 0 5px 0;
    color: #222;
    text-align: left;
}

.profile-text h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0;
    color: #555;
    text-align: left;
}

.profile-photo-wrapper {
    flex-shrink: 0;
}

.profile-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0066ff;
}

/* Algemene headings (fallback) */
h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 5px;
    color: #222;
}

h2 {
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    color: #555;
    margin-top: 0;
}

/* Section titles */
.head {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    color: #0066ff;
    border-left: 4px solid #0066ff;
    padding-left: 10px;
}

/* Text & Lists */
p {
    line-height: 1.6;
}

ul {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Links */
a {
    color: #0066ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
#footer {
    text-align: center;
    margin: 40px 0;
}

#footer #name {
    font-size: 18px;
    color: #777;
}

/* Decorative Left & Right Bars */
.left, .right {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 8px;
    background: #0066ff;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    right: 0;
}

/* Make sure content is above the bars */
.stuff, #footer {
    position: relative;
    z-index: 2;
}

/* --- TIMELINE STYLING --- */

.timeline {
    position: relative;
    margin: 30px auto 10px auto;
    padding: 20px 0;
    max-width: 900px;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #0066ff;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    font-weight: bold;
    color: #0066ff;
    margin-bottom: 8px;
}

.timeline-content {
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 100%;
}

.timeline-content h3 {
    margin: 0 0 6px;
    font-size: 20px;
    color: #333;
}

.timeline-content h4 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #777;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* --- RESPONSIVE TIMELINE --- */
@media (max-width: 768px) {
    .stuff {
        margin: 20px;
        padding: 25px;
    }

    .profile-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .profile-text h1,
    .profile-text h2 {
        text-align: center;
    }

    .head {
        font-size: 20px;
    }

    .timeline:before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left !important;
        left: 0 !important;
    }
}

/* --- NAVIGATIEBALK (NIEUW) --- */

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 3;
}

.main-nav ul {
    margin: 0;
    padding: 10px 40px;
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    border-bottom-color: rgba(0, 102, 255, 0.4);
}

.main-nav a.active {
    color: #0066ff;
    border-bottom-color: #0066ff;
}

/* Mobiel */
@media (max-width: 768px) {
    .main-nav ul {
        padding: 8px 20px;
        gap: 16px;
        font-size: 14px;
    }
}

/* --- CLOUD PORTFOLIO KAARTEN (NIEUW) --- */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #0066ff;
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 19px;
    color: #222;
}

.project-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.project-card ul {
    margin-top: 8px;
    margin-bottom: 0;
}

.project-card li {
    margin-bottom: 6px;
}
