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

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Service Tabs */
.service-tab.active {
    background-color: theme('colors.brand.DEFAULT');
    color: white;
}

/* Carousel Styles */
.carousel-track {
    display: flex;
    gap: 1.5rem;
}

.carousel-item {
    flex: 0 0 calc(100% - 2rem);
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Lightbox Styles */
.lightbox-modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    opacity: 1;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid theme('colors.brand.light');
}

.faq-question {
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

::-webkit-scrollbar-track {
    background: theme('colors.brand.light');
}

::-webkit-scrollbar-thumb {
    background: theme('colors.brand.DEFAULT');
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: theme('colors.brand.dark');
}