/* Professional Navigation Menu Styles */

/* Smooth dropdown animations */
.group:hover .group-hover\:opacity-100 {
    animation: fadeIn 0.15s ease-out;
}

.group:hover .group-hover\:visible {
    animation: slideDown 0.15s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-8px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced hover effects for dropdown items */
.group\/item {
    transition: all 0.15s ease;
}

.group\/item:hover {
    transform: translateX(2px);
}

/* Active menu indicator */
nav button.active,
nav a.active {
    color: #4f46e5;
    position: relative;
}

nav button.active::after,
nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #4f46e5;
    border-radius: 1px;
}

/* Professional dropdown shadow */
.group > div[class*="absolute"] {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Navigation bar on scroll */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

header.scrolled nav {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

/* Enhanced mobile menu */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Icon hover effects */
.group\/item:hover svg {
    transform: translateX(2px);
    transition: transform 0.15s ease;
}

/* Professional CTA button */
a[href="/booking"] {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

a[href="/booking"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Dropdown arrow rotation */
.group button svg {
    transition: transform 0.2s ease;
}

/* Menu item hover effects */
nav button {
    position: relative;
}

nav button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #4f46e5;
    transition: width 0.2s ease;
}

nav button:hover::after {
    width: 80%;
}

/* Mobile menu toggle animation */
#mobile-menu-button {
    transition: all 0.2s ease;
}

#mobile-menu-button svg {
    transition: transform 0.3s ease;
}

#mobile-menu-button.active svg {
    transform: rotate(90deg);
}

/* Clean typography for dropdowns */
.group > div[class*="absolute"] {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hiring badge - no animation for professional look */
.bg-green-100 {
    animation: none;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}