/* Base Styles */
html,
body {
    top: 0 !important;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

:root {
    --primary-color: #0D7C66;
    --secondary-color: #FFE31A;
}

/* Swiper Utilities */
.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* Navigation Indicator Animation */
.nav-item .border-indicator {
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-item:hover .border-indicator,
.nav-item:focus-within .border-indicator,
.nav-item.active .border-indicator {
    transform: scaleX(1);
    opacity: 1;
}

/* Dropdown Positioning and visibility */
.group:hover>.group-hover\:flex,
.relative:hover>.absolute {
    display: flex !important;
}

.nest-hover {
    right: 100%;
    top: 0;
    min-width: max-content;
}

/* Navigation Font Sizing */
.nav-item>a {
    font-size: 1.125rem;
}

@media (min-width: 1536px) {
    .nav-item>a {
        font-size: 1.5rem;
    }
}

/* Hero & Piece Animations */
.image-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

@keyframes slideInHorizontal {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideInVertical {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Custom Scrollbar for Search Results */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Search results animation */
#search-results a {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
}

#search-results a:nth-child(1) {
    animation-delay: 0.1s;
}

#search-results a:nth-child(2) {
    animation-delay: 0.15s;
}

#search-results a:nth-child(3) {
    animation-delay: 0.2s;
}

#search-results a:nth-child(4) {
    animation-delay: 0.25s;
}

#search-results a:nth-child(5) {
    animation-delay: 0.3s;
}