/* Desktop Dock Styles */
#desktop-dock {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-height: 80px;
    padding: 12px 24px;
}

#desktop-dock.hidden {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.dock-icon {
    @apply relative p-4 rounded-xl transition-all duration-200 ease-out;
    @apply hover:bg-gray-100 hover:scale-110;
    @apply focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2;
    min-width: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-icon:hover {
    transform: translateY(-2px);
}

.dock-icon i {
    @apply text-2xl transition-colors duration-200;
}

/* Dock show/hide animation */
@keyframes dockSlideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes dockSlideDown {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
}

#desktop-dock.show {
    animation: dockSlideUp 0.3s ease-out forwards;
}

#desktop-dock.hide {
    animation: dockSlideDown 0.3s ease-in forwards;
}

/* Enhanced dock styling for better visibility */
#desktop-dock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}

/* Mobile bottom menu enhancements */
#mobile-menu-bottom {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav-item {
    @apply transition-all duration-200;
    @apply focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2;
}

.mobile-nav-item:hover {
    @apply scale-105;
}

.mobile-nav-item.active {
    @apply text-blue-600;
}

.mobile-nav-item.active i {
    @apply text-blue-600;
}

/* Cookie banner animations */
#cookie-banner {
    animation: cookieSlideUp 0.3s ease-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-banner.hidden {
    animation: cookieSlideDown 0.3s ease-in forwards;
}

@keyframes cookieSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Responsive dock positioning */
@media (max-width: 1024px) {
    #desktop-dock {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    #mobile-menu-bottom {
        display: none !important;
    }
}

/* Enhanced hover effects for dock icons */
.dock-icon {
    position: relative;
    overflow: hidden;
}

.dock-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.dock-icon:hover::before {
    width: 60px;
    height: 60px;
}

/* Cookie accept button special styling */
#cookie-accept {
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

#cookie-accept:hover {
    animation: none;
    transform: scale(1.1);
}
