/* 
  Custom styles to supplement Tailwind CSS
*/

/* Glassmorphism for Navbar */
.glassmorphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glassmorphism.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Modal Active States */
#consultationModal.active,
#quoteModal.active {
    opacity: 1;
    pointer-events: auto;
}

#consultationModal.active>div,
#quoteModal.active>div {
    transform: scale(1);
}

/* Scroll To Top Active */
#scrollTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Custom Scrollbar for better UI */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #33A1E0; /* Primary color */
}

/* Mobile Menu Dropdown Animation */
.mobile-dropdown {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
    pointer-events: none;
}

.mobile-dropdown.is-open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
}