/* Applying Inter font to the body */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* bg-slate-50 */
    padding-top: 128px; /* Adjust this value based on the final header height */
}
@media (max-width: 768px) {
    body {
        padding-top: 68px; /* Adjust for smaller mobile header */
    }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #1e293b; }

/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

/* Header transition effects */
#main-header {
    transition: all 0.3s ease-in-out;
}
#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
#main-header.scrolled #top-bar {
    display: none;
}
#main-header.scrolled #main-nav {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Navigation link hover effect */
.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb; /* blue-600 */
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Menu styles */
#mobile-menu-container {
    transition: opacity 0.3s ease-in-out;
}
#mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}
#mobile-menu.open {
    transform: translateX(0);
}

/* Gallery Modal Styles */
#gallery-modal {
    transition: opacity 0.3s ease-in-out;
}
#gallery-modal.open {
    opacity: 1;
}
#gallery-modal-content {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: scale(0.95);
    opacity: 0;
}
#gallery-modal.open #gallery-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Swiper Carousel Styles */
.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    background-color: #2563eb; /* blue-600 */
    opacity: 1;
}
