html { scroll-behavior: smooth; }
.marquee-container { overflow: hidden; white-space: nowrap; position: relative; }
.marquee-content { display: inline-block; animation: marquee 25s linear infinite; padding-left: 100%; }
@keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Floating button container – stays fixed */
.fixed.bottom-6.right-6 {
    /* position: relative; REMOVED – no longer needed, would break fixed positioning */
}

.fab-menu { 
    position: absolute;      /* remove from flex flow */
    bottom: 100%;            /* position above the button */
    right: 0;                /* align to the right */
    margin-bottom: 0.5rem;   /* equivalent to mb-2 (space between menu and button) */
    opacity: 0; 
    transform: translateY(20px); 
    visibility: hidden; 
    transition: all 0.3s ease-in-out;
    pointer-events: none;    /* prevent clicks when hidden */
}
.fab-menu.active { 
    opacity: 1; 
    transform: translateY(0); 
    visibility: visible;
    pointer-events: auto;    /* allow clicks when active */
}

#dropdownChevron { transition: transform 0.2s ease; }
.rotate-180 { transform: rotate(180deg); }
.language-selector { z-index: 60; }

/* Animation for the contact button */
@keyframes colorCycle {
    0% { background-color: #f97316; } /* orange-500 */
    50% { background-color: #22c55e; } /* green-500 */
    100% { background-color: #f97316; }
}
.animate-color-cycle {
    animation: colorCycle 2s ease-in-out infinite;
}

/* Gallery image hover effect */
.gallery-image {
    transition: filter 0.2s ease;
    cursor: pointer;
}
.gallery-image:hover {
    filter: blur(2px);
}

/* Simple lightbox modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.gallery-modal.active {
    display: flex;
}
.gallery-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-container img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
    background: #fff;
}
.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.gallery-close:hover {
    background: rgba(255,255,255,0.2);
}
/* Hide navigation buttons */
.gallery-nav {
    display: none;
}
@media (max-width: 768px) {
    .gallery-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}