/* Custom styles and animations */

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

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

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

/* Service card hover effect */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C5A065, #C5A065/50);
    transition: width 0.4s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* Mobile menu animations */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Navbar background on scroll */
#navbar.scrolled {
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(26, 60, 52, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #C5A065 !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1A3C34;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0F241E;
}

/* Image lazy load placeholder */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card img {
        height: 300px;
    }
}
