/* ========================================
   🎨 DYNAMIC ANIMATED STYLE - VERSION 5
   Zeilmakerij Kruisinga - Ronald Kruisinga
   Theme: Green/Turquoise with Animations
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #60a5fa;
    --accent: #1d4ed8;
    --dark: #0a192f;
    --light: #eff6ff;
    --text: #1a1a1a;
    --text-light: #666;
    --shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-top: 90px;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    will-change: auto;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   HEADER - Fixed with Glass Effect
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.1);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

.company-name {
    color: var(--primary);
    font-size: 1.6em;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.location {
    color: #94a3b8;
    font-size: 0.9em;
}

.header nav {
    display: flex;
    gap: 15px;
}

.header nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    position: relative;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(96, 165, 250, 0.2));
    border: 2px solid rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3), inset 0 0 10px rgba(96, 165, 250, 0.1);
}

.header nav a:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(96, 165, 250, 0.35));
    border-color: var(--primary);
    color: #e0f2fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6), 0 0 25px rgba(59, 130, 246, 0.4), inset 0 0 15px rgba(96, 165, 250, 0.2);
}

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

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.phone {
    color: var(--primary);
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone:hover {
    color: var(--secondary);
    transform: scale(1.05);
}

.header-social-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.header-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   HERO SECTION - Animated
   ======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1)),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border: 3px solid rgba(59, 130, 246, 0.4);
    border-left: none;
    border-right: none;
    box-shadow:
        inset 0 0 60px rgba(59, 130, 246, 0.15),
        0 0 40px rgba(59, 130, 246, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 400px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><path d="M50,150 L550,150 L500,250 L100,250 Z" fill="rgba(59,130,246,0.05)" stroke="rgba(59,130,246,0.08)" stroke-width="3"/><line x1="50" y1="150" x2="50" y2="100" stroke="rgba(59,130,246,0.08)" stroke-width="4"/><line x1="550" y1="150" x2="550" y2="100" stroke="rgba(59,130,246,0.08)" stroke-width="4"/><rect x="80" y="250" width="440" height="120" fill="rgba(59,130,246,0.03)" stroke="rgba(59,130,246,0.06)" stroke-width="2"/></svg>') center/contain no-repeat;
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.experience {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.hero h1 {
    font-size: 4em;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.tagline {
    font-size: 1.4em;
    color: #94a3b8;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

/* Fade-in animations - REMOVED to prevent flashing */
.fade-in {
    opacity: 1;
}

.fade-in.delay-1 {
    opacity: 1;
}

.fade-in.delay-2 {
    opacity: 1;
}

/* ========================================
   SERVICES SECTION - Animated Grid
   ======================================== */
#diensten {
    padding: 100px 40px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3.5em;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.section-header p {
    font-size: 1.3em;
    color: #94a3b8;
}

.services {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.service {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
    opacity: 1;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.service:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow:
        0 15px 40px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.3s ease;
    display: block;
}

.service:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    position: relative;
    background: transparent;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.service-icon {
    font-size: 2em;
    color: white;
}

.service-title {
    font-size: 1.8em;
    color: var(--primary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service:hover .service-title {
    transform: translateX(10px);
}

.service-desc {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1.05em;
}

.photo-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* ========================================
   CONTACT SECTION - Split Design
   ======================================== */
#contact {
    padding: 100px 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(96, 165, 250, 0.05));
}

.contact {
    padding: 100px 40px;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 25px;
    border: 3px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.contact-info h3 {
    color: var(--primary);
    font-size: 2em;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.contact-item i {
    font-size: 1.8em;
    color: var(--primary);
    min-width: 40px;
}

.contact-item strong {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.contact-item p,
.contact-item a {
    color: #94a3b8;
    text-decoration: none;
}

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

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.contact-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.whatsapp-contact {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.whatsapp-contact:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.facebook-contact {
    background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
}

.facebook-contact:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.google-contact {
    background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
}

.google-contact:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
}

.partnership {
    margin-top: 40px;
    padding: 25px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.partnership h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.partnership p {
    color: #94a3b8;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.contact-form h3 {
    color: var(--primary);
    font-size: 2em;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: rgba(10, 25, 47, 0.95);
    color: white;
    padding: 60px 40px 30px;
    text-align: center;
    border-top: 2px solid rgba(59, 130, 246, 0.2);
}

.footer-copyright {
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-sbuilder {
    margin: 20px 0;
}

.footer-sbuilder a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-sbuilder a:hover {
    text-decoration: underline;
}

.footer-legal {
    margin-top: 20px;
    color: #94a3b8;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 10px;
}

.footer-legal a:hover {
    color: var(--primary);
}

.separator {
    margin: 0 10px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn i {
    font-size: 2em;
    color: white;
}

.whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* ========================================
   COOKIE CONSENT
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px;
    z-index: 10000;
    border-top: 2px solid var(--primary);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.cookie-text p {
    color: #94a3b8;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.essential {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn.essential:hover {
    background: white;
    color: var(--dark);
}

.cookie-btn.accept-all {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.cookie-btn.accept-all:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 3em;
    }

    .services {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .tagline {
        font-size: 1.1em;
    }

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
}
