/**
 * Custom CSS for Dove Management
 * Additional styles beyond Tailwind
 */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-y: auto;
    height: auto;
}

body {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Image hover effects */
.image-zoom {
    transition: transform 0.3s ease;
}

.image-zoom:hover {
    transform: scale(1.05);
}

/* Form styling */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: #000000;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    display: none;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Video Background */
video {
    object-fit: cover;
    object-position: center;
}

/* Luxury Menu Button Animation */
#menu-toggle-btn:hover .border {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

#menu-close-btn:hover .border {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Smooth menu transitions */
#toggle-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

#toggle-menu.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#toggle-menu:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Vertical Menu Styling */
#toggle-menu,
#contact-toggle-menu {
    min-width: 220px;
}

#toggle-menu .menu-link,
#contact-toggle-menu .menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

#toggle-menu .menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

#toggle-menu .menu-link:hover::after {
    width: 100%;
}

#contact-toggle-menu .menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: black;
    transition: width 0.3s ease;
}

#contact-toggle-menu .menu-link:hover::after {
    width: 100%;
}

#toggle-menu #about-submenu,
#contact-toggle-menu #contact-about-submenu {
    transition: all 0.3s ease;
}

#toggle-menu #about-submenu a,
#contact-toggle-menu #contact-about-submenu a {
    position: relative;
    display: block;
    white-space: nowrap;
    width: 100%;
}

#toggle-menu #about-submenu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

#toggle-menu #about-submenu a:hover::after {
    width: 100%;
}

#contact-toggle-menu #contact-about-submenu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: black;
    transition: width 0.3s ease;
}

#contact-toggle-menu #contact-about-submenu a:hover::after {
    width: 100%;
}

/* Contact page menu dropdown styling */
#contact-toggle-menu {
    box-shadow: none;
    border-radius: 0;
    padding: 1rem;
}

