/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom styles */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Hover effects */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Form styles */
input:focus {
    outline: none;
    ring: 2px;
    ring-color: rgb(59, 130, 246);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 4rem 0;
    }
}

/* Glass morphism effects */
.backdrop-blur-lg {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: auto;
}

/* Gradient animations */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Input focus effects */
input:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Enhanced hover effects */
.hover-lift {
    transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 6rem;
    }
}

/* Form validation styles */
.error-message {
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

/* Success notification animation */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Input focus states */
.focus\:ring-red-500:focus {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.5);
}

/* Transition for error states */
input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Provider list animations */
.provider-list-item {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInProvider 0.5s ease-out forwards;
}

@keyframes slideInProvider {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel container */
#provider-carousel {
    position: relative;
    min-height: 300px;
    width: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Provider container */
.provider-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    padding-bottom: 60px;
}

/* Provider slide styles */
.provider-slide {
    opacity: 1;
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.provider-slide:hover {
    transform: translateY(-2px);
}

/* Navigation container */
.navigation-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Navigation buttons */
#prev-btn, #next-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #3B82F6, #10B981);
    color: white;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 50;
}

#prev-btn {
    left: 1rem;
}

#next-btn {
    right: 1rem;
}

#prev-btn:hover, #next-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Carousel indicators */
#carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

#carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

#carousel-indicators button:hover {
    opacity: 0.75;
}

#carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Provider logo styles */
.provider-logo {
    background: white;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.provider-logo:hover {
    transform: scale(1.05);
}

/* Ensure buttons are clickable */
.bekijk-btn {
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Ensure proper spacing */
.space-x-4 > * + * {
    margin-left: 1rem;
}

/* Hero section fixes */
.hero-section {
    position: relative;
    z-index: 1;
}

/* Ensure form is clickable */
.dc-tool {
    position: relative;
    z-index: 10;
    pointer-events: auto;
} 