:root {
    --primary-blue: #0066cc;
    --light-blue: #4da6ff;
    --gradient-start: #0066cc;
    --gradient-end: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--light-blue) 50%, var(--gradient-end) 100%);
    min-height: 100vh;
}

.gradient-bg-reverse {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-blue) 50%, var(--gradient-start) 100%);
}

/* Nav-bar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #e6f2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-custom {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-custom:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Background Elements */
.bg-element {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: floating 6s ease-in-out infinite;
}

/* Floating Animatie */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards om items/tekst mee te tonen */
.card {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Timeline voor ervaring pagina */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--light-blue));
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.1);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--light-blue);
}

/* Form Elements */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #003d7a 0%, var(--primary-blue) 100%);
    color: white;
    padding: 40px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-5px);
}

/* Scroll Animatie */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Pagina secties */
.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Type effecten */
.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Address style */
address {
    font-style: normal;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .timeline::before { left: 20px; }
    .timeline-content { width: calc(100% - 60px); margin-left: 60px !important; }
    .timeline-dot { left: 20px; }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
    }
}

/* Contact Pagina extra Styles */
#contact .row.justify-content-center {
    align-items: stretch;
}

#contact .card {
    height: 100%;
}

#contact address {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

#contact address:last-of-type {
    margin-bottom: 0;
}

#contact hr {
    margin: 1.5rem 0;
    opacity: 0.1;
}

#contact .btn-outline-primary:hover,
#contact .btn-outline-dark:hover,
#contact .btn-outline-info:hover,
#contact .btn-outline-danger:hover {
    transform: translateY(-3px);
}

/* Beschikbaarheid */
#contact .card .row section {
    padding: 1rem;
    transition: transform 0.3s ease;
}

#contact .card .row section:hover {
    transform: translateY(-5px);
}

#contact .display-4 {
    font-size: 2.5rem;
}

@media (max-width: 991px) {
    #contact .col-lg-5,
    #contact .col-lg-7 {
        width: 100%;
    }
}

/* Ervaring Pagina verandering  */
#experience .container {
    padding-bottom: 3rem;
}

#experience .timeline {
    margin-bottom: 0;
}

#experience + footer.site-footer {
    margin-top: 0;
}