/* Custom Styles for LaFountains Custom Paint */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0B0C10;
    color: #F5F5F0;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #E2725B, #D4AF37);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Gallery Item Hover Effect */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 16, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(11, 12, 16, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Animation */
#mobile-menu.active {
    transform: translateX(0);
}

/* Input Focus Styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #E2725B;
    box-shadow: 0 0 0 2px rgba(226, 114, 91, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #0B0C10;
}

::-webkit-scrollbar-thumb {
    background: #1A1D28;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E2725B;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up {
        animation: none;
        opacity: 1;
    }
    
    .service-card::before,
    .gallery-item::after,
    .service-card:hover::before {
        transition: none;
    }
    
    .service-card::before {
        transform: scaleX(1);
    }
    
    .gallery-item::after {
        opacity: 0;
    }
    
    html {
        scroll-behavior: auto;
    }
}
