/* styles.css */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/poppins-300.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/poppins-400.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/poppins-600.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/poppins-700.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

/* Header styling */
header {
    background: linear-gradient(135deg, #00AEEF 0%, #005f9e 50%, #0077B6 100%);
    background-size: 200% 200%;
    color: white;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 20px rgba(0, 174, 239, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease, gradientShift 10s ease infinite;
    min-height: 130px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 1s ease;
}

.logo img {
    height: 110px;
    width: auto;
    background: white;
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

header h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lang-switcher {
    display: flex;
    gap: 0.4rem;
    margin-left: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 1.5rem;
}

.lang-switcher button {
    background: white;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    color: #0077B6;
    transition: transform 0.2s ease, background 0.2s ease;
    opacity: 0.9;
}

.lang-switcher button:hover {
    transform: scale(1.1);
    opacity: 1;
    background: #e8f4fc;
}

header nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
}

header nav a:hover::before {
    left: 0;
}

header nav a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2), 0 0 15px rgba(255,255,255,0.2);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Hero sectie */
.hero {
    background: linear-gradient(135deg, #00AEEF 0%, #005f9e 40%, #0077B6 60%, #00d4ff 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('wave.svg') no-repeat bottom;
    background-size: cover;
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: float 5s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255,255,255,0.4), 3px 3px 6px rgba(0,0,0,0.3);
    position: relative;
    opacity: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    font-weight: 300;
    opacity: 1;
}

/* Diensten sectie */
.diensten {
    padding: 5rem 2rem;
    background: white;
    position: relative;
}

.diensten h2 {
    text-align: center;
    background: linear-gradient(135deg, #00AEEF 0%, #0077B6 50%, #00d4ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.diensten h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00AEEF 0%, #0077B6 100%);
    border-radius: 2px;
}

.diensten-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dienst {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dienst::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.dienst:hover::after {
    left: 160%;
}

.dienst::before {
    content: '🚀';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.dienst:nth-child(2)::before { content: '✉️'; }
.dienst:nth-child(3)::before { content: '🌐'; }
.dienst:nth-child(4)::before { content: '🎨'; }

.dienst:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 174, 239, 0.4), 0 0 40px rgba(0, 174, 239, 0.15);
    border-color: #00AEEF;
    background: linear-gradient(135deg, #ffffff 0%, #e8f7fd 100%);
}

.dienst:hover::before {
    opacity: 0.3;
    transform: scale(1.2) rotate(5deg);
}

.dienst h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.dienst p {
    color: #555;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Server Showcase sectie */
.server-showcase {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.server-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.server-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
}

.server-image img:hover {
    transform: scale(1.05);
}

.server-text h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00AEEF 0%, #0077B6 50%, #00d4ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.server-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.server-text ul {
    list-style: none;
    padding: 0;
}

.server-text ul li {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-left: 0;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.server-text ul li:hover {
    color: #00AEEF;
    text-shadow: 0 0 10px rgba(0, 174, 239, 0.4);
}

/* Team sectie */
.team-section {
    padding: 5rem 2rem;
    background: white;
}

.team-content {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-text h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00AEEF 0%, #0077B6 50%, #00d4ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.team-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    transition: transform 0.5s ease;
}

.team-image img:hover {
    transform: scale(1.05) rotate(1deg);
}

.team-benefits {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00AEEF, #00d4ff, #0077B6, #00AEEF);
    background-size: 300% 100%;
    animation: shimmerBar 3s linear infinite;
    z-index: 1;
}

@keyframes shimmerBar {
    0% { background-position: 0% 0; }
    100% { background-position: 300% 0; }
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 174, 239, 0.35), 0 0 30px rgba(0, 174, 239, 0.1);
}

.benefit-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.5s ease;
}

.benefit-card:hover img {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    padding: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.benefit-card p {
    color: #555;
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Contact sectie */
.contact {
    background: linear-gradient(135deg, #00AEEF 0%, #0077B6 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.contact h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.contact-info {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

.contact-logo {
    height: 80px;
    width: auto;
    background: white;
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-info strong {
    font-weight: 600;
}

.contact-info a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: border-color 0.2s ease;
}

.contact-info a:hover {
    border-color: white;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

footer p {
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Compensate for sticky header on anchor targets */
#home, #diensten, #contact {
    scroll-margin-top: 140px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00AEEF 0%, #0077B6 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00AEEF;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    header nav {
        flex-direction: column;
        width: 100%;
    }
    
    header nav a {
        width: 100%;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .server-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .server-image {
        order: 2;
    }
    
    .server-text {
        order: 1;
    }
    
    .server-text h2 {
        font-size: 2rem;
    }
    
    .team-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-text h2 {
        font-size: 2rem;
    }
    
    .team-benefits {
        grid-template-columns: 1fr;
    }
    
    .diensten-container {
        grid-template-columns: 1fr;
    }
    
    .diensten h2 {
        font-size: 2rem;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
}
