/* Custom Styles for ArtLoan Website */

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #196eff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0058e6;
}

/* Custom cursor effects */
.cursor-hover-area {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(25, 110, 255, 0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-hover-area:hover ~ .custom-cursor {
    width: 40px;
    height: 40px;
    background-color: rgba(25, 110, 255, 0.3);
}

/* Navbar transparency effect on scroll */
.navbar-scrolled {
    background-color: rgba(0, 28, 77, 0.9) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Animation classes */
.animate-when-visible {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-when-visible.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature card hover effects */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* Floating particles background */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: auto;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Tracking progress styles */
.tracking-step {
    position: relative;
    transition: all 0.3s ease;
}

.tracking-step.completed .step-circle {
    background-color: #196eff;
    border-color: #196eff;
}

.tracking-step.current .step-circle {
    border-color: #196eff;
    box-shadow: 0 0 0 3px rgba(25, 110, 255, 0.3);
    animation: pulse 1.5s infinite;
}

.tracking-step.pending .step-circle {
    background-color: transparent;
    border-color: #d1d5db;
}

.progress-line {
    position: absolute;
    top: 50%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #196eff;
    transition: width 0.5s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 110, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(25, 110, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(25, 110, 255, 0);
    }
}

/* Multi-step form styles */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.form-progress-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.form-progress-indicator.completed {
    background-color: #196eff;
    color: white;
}

.form-progress-indicator.active {
    background-color: white;
    color: #196eff;
    border: 2px solid #196eff;
    transform: scale(1.1);
}

.form-progress-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e5e7eb;
    position: relative;
}

.form-progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #196eff;
    transition: width 0.5s ease;
}

/* File upload styles */
.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-area:hover, .file-upload-area.dragover {
    border-color: #196eff;
    background-color: rgba(25, 110, 255, 0.05);
}

.file-preview {
    display: inline-block;
    position: relative;
    width: 120px;
    height: 120px;
    margin: 10px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview .remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-preview:hover .remove-file {
    opacity: 1;
}

/* Media queries */
@media (max-width: 768px) {
    .tracking-progress-container {
        flex-direction: column;
    }
    
    .progress-line {
        width: 2px;
        left: 50%;
        height: 40px;
        top: auto;
    }
}

/* Accessibility focus styles */
*:focus-visible {
    outline: 2px solid #196eff;
    outline-offset: 2px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
} 