/* Custom Navigation Dropdowns */

wix-dropdown-menu ul > li > ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
    background: #fff !important;
    padding: 10px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    border-radius: 4px !important;
    min-width: 150px !important;
    pointer-events: auto !important;
}

/* Ensure menu items have relative positioning */
wix-dropdown-menu ul > li {
    position: relative !important;
}

/* Show submenu on hover */
wix-dropdown-menu ul > li:hover > ul {
    display: block !important;
}

wix-dropdown-menu .piclkP, 
wix-dropdown-menu .piclkP * {
    cursor: default !important;
}

wix-dropdown-menu ul > li > ul > li {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

wix-dropdown-menu ul > li > ul > li a {
    display: block !important;
    padding: 8px 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-family: verdana, geneva, sans-serif !important;
    font-size: 14px !important;
    transition: background-color 0.2s !important;
    cursor: default !important;
}

wix-dropdown-menu ul > li > ul > li a:hover {
    background-color: #f5f5f5 !important;
}

/* Hide the Wix 'More' overflow tab */
li#DrpDwnMn0__more__ {
    display: none !important;
}

/* Vertical alignment centering for navigation items */
wix-dropdown-menu .piclkP {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Parent nav items with a dropdown are div.piclkP, assign default cursor and add caret suffix */
wix-dropdown-menu div.piclkP {
    cursor: default !important;
}

wix-dropdown-menu div.piclkP p::after {
    content: " \25BC"; /* Unicode for down caret */
    font-size: 0.7em;
    opacity: 0.6;
    margin-left: 5px;
}

/* Keep direct links with pointer */
wix-dropdown-menu a.piclkP,
wix-dropdown-menu a.piclkP * {
    cursor: pointer !important;
}

/* Wix hides components in deep relative containers with tight flex/overflow logic */
header, .SITE_HEADER, wix-dropdown-menu, wix-dropdown-menu *, nav, #DrpDwnMn0itemsContainer {
    overflow: visible !important;
}

.hidden-during-prewarmup {
    visibility: inherit !important;
}

/* Scroll Animations Base Styles */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel fixes */
.custom-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.custom-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

.custom-carousel-slide.active {
    opacity: 1;
}

.wixui-gallery__item[data-testid="gallery-item-ghost"] {
    display: none !important;
}

/* Custom Image Modal */
#custom-image-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#custom-image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#custom-image-modal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 5px solid #fff;
    border-radius: 2px;
}

#custom-image-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-family: sans-serif;
    cursor: pointer;
    line-height: 1;
}

.custom-zoomable {
    cursor: zoom-in !important;
}

#WIX_ADS {
    display: none !important;
}
