/* Custom styles for Sparkling Clean Laundromat */

/* Gallery styles */
.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

/* Navigation active state */
.navbar-nav .nav-link.active {
    font-weight: 600;
}

/* Form focus styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Custom spacing */
.section-padding {
    padding: 4rem 0;
}

/* Icon styling */
.fas, .far {
    transition: color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .gallery-img {
        height: 180px;
    }
}

/* Dark theme adjustments */
[data-bs-theme="dark"] .card {
    background-color: var(--bs-dark);
    border-color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .bg-light {
    background-color: var(--bs-gray-900) !important;
}

/* Lightbox customization */
.lb-data .lb-caption {
    font-size: 14px;
    font-weight: normal;
    color: #ccc;
}

.lb-data .lb-number {
    color: #999;
}

/* Loading animation for images */
.gallery-img {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: loading 1.4s ease infinite;
}

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

.gallery-img[src] {
    background: none;
    animation: none;
}

/* Hero section enhancements */
.hero-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-icon:hover {
    opacity: 1;
}

/* Footer link hover effects */
footer a:hover {
    color: var(--bs-light) !important;
    transition: color 0.3s ease;
}

/* Service card enhancements */
.service-card {
    border-left: 4px solid var(--bs-primary);
}

.service-card:hover {
    border-left-color: var(--bs-info);
}

/* Badge styling */
.badge {
    font-size: 0.875em;
    font-weight: 500;
}

/* Contact form styling */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 0.375rem;
    border: 2px solid var(--bs-border-color);
}

.form-control:focus,
.form-select:focus {
    border-width: 2px;
}

/* Alert styling */
.alert {
    border-radius: 0.5rem;
    border: none;
}

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

::-webkit-scrollbar-track {
    background: var(--bs-gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-gray-500);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-gray-600);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bs-gray-800);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--bs-gray-600);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--bs-gray-500);
}
