/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --border-color: #bdc3c7;
    --success-color: #27ae60;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 95vh;
}

/* Sidebar Styles */
.sidebar {
    background: linear-gradient(180deg, var(--primary-color) 0%, #1a252f 100%);
    color: var(--white);
    padding: 40px 30px;
    overflow-y: auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.6s ease;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image i {
    font-size: 80px;
    color: var(--white);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sidebar h1 {
    font-size: clamp(20px, 2.2vw, 28px);
    margin-bottom: 5px;
    font-weight: 700;
}

.subtitle {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 300;
}

.sidebar h2 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar h2 i {
    font-size: 20px;
}

.contact-section,
.skills-section,
.interests-section,
.languages-section {
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 18px;
    width: 25px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Phone reveal button */
/* (verwijderd) telefoon-reveal styles niet meer nodig */

.download-section {
    margin-bottom: 35px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.download-btn i {
    font-size: 18px;
}

.skills-list,
.interests-list {
    list-style: none;
}

.skills-list li,
.interests-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}

.skills-list li:hover,
.interests-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.language-item {
    margin-bottom: 20px;
}

.language-item span {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--success-color));
    border-radius: 10px;
    transition: width 1s ease;
}

.language-item small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Main Content Styles */
.main-content {
    padding: 40px 50px;
    overflow-y: auto;
    background: var(--white);
}

.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-weight: 500;
    flex: 0 0 auto;
    min-height: 44px;
}

.tab-btn:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
}

.tab-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

/* Profile Tab */
.profile-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.profile-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.highlight-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.highlight-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.highlight-card i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--text-color);
    font-size: 14px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: -46px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-header h3 {
    color: var(--primary-color);
    font-size: 20px;
    flex: 1;
}

.period {
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
}

.company {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company i {
    color: var(--secondary-color);
}

.responsibilities {
    list-style: none;
    margin-top: 15px;
}

.responsibilities li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.cta-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--light-bg);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, var(--secondary-color));
}

.cta-btn i {
    font-size: 13px;
}

/* Education Tab */
.education-section {
    margin-bottom: 50px;
}

.education-section h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.education-section h3 i {
    color: var(--secondary-color);
}

.education-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--success-color);
    transition: var(--transition);
}

.education-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.edu-header h4 {
    color: var(--primary-color);
    font-size: 18px;
    flex: 1;
}

.edu-period {
    background: var(--success-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
}

.edu-institution {
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.edu-institution i {
    color: var(--success-color);
}

.edu-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-bg);
}

.edu-details p {
    margin-bottom: 5px;
    color: var(--text-color);
}

/* Training Tab */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.training-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.training-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.training-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
}

.training-card h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.training-institute {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.training-year {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.training-description {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

/* Responsive Design */
/* Contact form */
.contact-form {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.contact-form label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.contact-form .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: var(--white);
    border: none;
    padding: 12px 22px;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.form-status {
    font-size: 13px;
    color: var(--text-color);
}

.form-status.success { color: var(--success-color); }
.form-status.error { color: var(--accent-color); }

.form-note {
    margin-top: 12px;
    font-size: 12px;
    color: #666;
}

.copy-btn {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--light-bg);
}

/* Floating contact button (mobile) */
.contact-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: var(--white);
    border: none;
    padding: 12px 16px;
    border-radius: 999px;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 1000;
}

.contact-fab:hover {
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .contact-fab { display: inline-flex; }
}

@media (max-width: 1200px) {
    .container {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        padding: 30px 20px;
    }

    .main-content {
        padding: 30px 20px;
    }

    .nav-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab-btn {
        font-size: 14px;
        padding: 10px 15px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -36px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 10px;
    }

    .profile-description {
        font-size: 16px;
    }

    .tab-pane h2 {
        font-size: clamp(20px, 5vw, 24px);
    }


@media (max-width: 480px) {
    .sidebar { padding: 20px 16px; }
    .main-content { padding: 20px 16px; }
    .highlight-card, .training-card { padding: 20px; }
    .profile-card { padding: 20px; }
    .tab-btn { padding: 8px 12px; }
}

@media (max-width: 600px) {
    .contact-form input,
    .contact-form textarea { font-size: 16px; }
}

.contact-fab {
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

img { max-width: 100%; height: auto; }
    .highlights-grid,
    .training-grid {
        grid-template-columns: 1fr;
    }

    .timeline-header,
    .edu-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .sidebar {
        background: #2c3e50;
        color: white;
        page-break-after: always;
    }

    .nav-tabs {
        display: none;
    }

    .tab-pane {
        display: block !important;
        page-break-before: always;
    }

    .tab-pane:first-child {
        page-break-before: auto;
    }
}
