/* Custom styles voor Irrus website */

:root {
    --irrus-blue: #2563eb;
    --irrus-blue-dark: #1e40af;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header transitie */
header {
    transition: transform 0.3s ease-in-out;
}

/* Animaties */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Hover effecten */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Gradient backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Custom scrollbar voor klanten carousel */
.scrollbar-custom {
    scrollbar-width: thin;
    scrollbar-color: var(--irrus-orange) #f1f5f9;
}

.scrollbar-custom::-webkit-scrollbar {
    height: 8px;
}

.scrollbar-custom::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
    background: var(--irrus-orange);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: #e66d3f;
}

/* Snap scroll voor carousel */
.snap-x {
    scroll-snap-type: x proximity;
}

.snap-mandatory {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

/* Smooth scrolling */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--irrus-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e66d3f;
}

/* Logo hover effect */
.logo-hover {
    transition: all 0.3s ease;
}

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

/* Card hover animations */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Button styles */
.btn-primary {
    background: var(--irrus-orange);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e66d3f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 126, 79, 0.3);
}

/* Video container responsive */
.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Mobile menu animation */
@media (max-width: 768px) {
    .mobile-menu-enter {
        animation: slideDown 0.3s ease-out;
    }
}

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

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Section spacing */
section {
    position: relative;
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon animations */
.icon-bounce:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 1rem 1rem;
    pointer-events: none;
}

.cookie-banner-inner {
    max-width: 720px;
    margin: 0 auto;
    background: #1E1B4B;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    animation: cookieSlideUp 0.5s ease-out;
}

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

.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cookie-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(244, 126, 79, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F47E4F;
    font-size: 1.25rem;
}

.cookie-banner-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cookie-banner-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.5;
}

.cookie-banner-link {
    color: #F47E4F;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.cookie-banner-link:hover {
    color: #fb9a75;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background: #F47E4F;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #e66d3f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 126, 79, 0.4);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 640px) {
    .cookie-banner-inner {
        padding: 1.25rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        text-align: center;
    }
}
