
/* Base styles */
:root {
    --primary-color: #027cb5;
    --secondary-color: #014b6d;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1d2b3a;
    --light-bg: #f8f9fa;
    --grey-bg: #eaedf0;
    --border-color: #ddd;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--light-text);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

/* Section styles */
section {
    padding: 80px 0;
}

.section-title {
    position: relative;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Header */
header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 60px;
    max-width: 360px;
}

img.logo {
    height: 60px;
    width: auto;
}


nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    position: relative;
    color: var(--text-color);
    font-weight: 600;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, rgba(2, 124, 181, 0.5), rgba(1, 75, 109, 0.5)), url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light-text);
    text-align: center;
    padding-top: 70px;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
#over-mij {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    background-color: var(--grey-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-item ul {
    list-style: none;
    padding: 0;
}

.info-item ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.info-item ul li:last-child {
    border-bottom: none;
}

.skill-level {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Expertise Section */
#expertise {
    background-color: var(--grey-bg);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.skill-item h4 {
    margin-bottom: 0;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: calc(100% - 60px);
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    top: 30px;
}

.timeline-item {
    padding: 20px 0;
    position: relative;
}

.timeline-content {
    position: relative;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: calc(50% - 40px);
    z-index: 10;
    margin-left: auto;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: auto;
    left: -10px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    font-style: italic;
}

.timeline-content ul {
    margin-bottom: 0;
}

.timeline-content ul li {
    margin-bottom: 5px;
}

/* Contact Section */
#contact {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-details li i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(43, 88, 118, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #ddd;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-content {
        width: calc(100% - 90px);
        margin-left: 90px !important;
        margin-right: 0 !important;
    }

    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-200%);
        transition: transform 0.4s ease;
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0;
        margin-bottom: 15px;
    }

    nav ul li:last-child {
        margin-bottom: 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        margin-bottom: 15px;
        width: 100%;
        max-width: 250px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }
    
    .skill-items {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline-content {
        padding: 15px;
    }
}
