/* Additional CSS Enhancements for BigGem Homepage */

/* Error field styling */
.form-control.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Loading skeleton styles */
.skeleton {
    background: #f6f7f8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.skeleton-header {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 5px;
    margin-bottom: 15px;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Header scrolled state */
header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Lazy loading images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.lazy.loaded {
    opacity: 1;
}

/* Enhanced button states */
.btn:active {
    transform: translateY(1px) !important;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Additional responsive enhancements */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .cta-title {
        font-size: 1.8rem !important;
    }

    .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}
