/* BCT ItSolutions - Custom Styles */
/* Farbschema basierend auf Logo: Grau, Schwarz, Rot */

/* Custom Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.3;
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Glow Effect - Rot */
.glow {
    box-shadow: 0 0 60px rgba(196, 30, 58, 0.2);
}

/* Glass Effect - Heller */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(107, 107, 107, 0.2);
}

.glass-dark {
    background: rgba(245, 245, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Form Inputs - Heller */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(107, 107, 107, 0.3);
    border-radius: 0.5rem;
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: #C41E3A;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.input-field::placeholder {
    color: rgba(107, 107, 107, 0.7);
}

/* Checkbox styling */
input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #C41E3A;
    cursor: pointer;
}

/* Select styling */
select.input-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b6b6b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

/* Card Styles - Heller */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(107, 107, 107, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #6b6b6b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-top-color: #C41E3A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Success animation */
@keyframes check-bounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.animate-check {
    animation: check-bounce 0.5s ease-out forwards;
}

/* Link underline effect */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #6B6B6B, #C41E3A);
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Gradient Text - Grau zu Rot */
.text-gradient-brand {
    background: linear-gradient(135deg, #6B6B6B, #C41E3A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Primary - Rot */
.btn-primary-brand {
    background: #C41E3A;
    color: white;
    transition: all 0.2s ease;
}

.btn-primary-brand:hover {
    background: #a31830;
}

/* Button Secondary - Grau */
.btn-secondary-brand {
    background: #6B6B6B;
    color: white;
    transition: all 0.2s ease;
}

.btn-secondary-brand:hover {
    background: #4a4a4a;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .card {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    header, footer {
        display: none;
    }
}
