/* Custom styles for Liberty Ink */

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

/* Navbar scroll effect */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(109, 31, 67, 0.08);
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(161, 31, 70, 0.1);
}

/* Selection color */
::selection {
    background-color: rgba(161, 31, 70, 0.2);
    color: #3d0a1a;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .gallery-item img,
    .testimonial-card {
        transition: none;
    }
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    .gallery-item:hover img {
        transform: none;
    }
    .animate-bounce {
        animation: none;
    }
}

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

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

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

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