/* Custom Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* =========================================
   CONTACT MENU - CLEAN HIGHLIGHT
   ========================================= */

/* Desktop Navigation - Contact Link */
nav a[href="#contact"] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white !important;
    font-weight: 600;
    padding: 8px 20px !important;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

nav a[href="#contact"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Mobile Navigation - Contact Link */
#mobile-menu a[href="#contact"] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: white !important;
    font-weight: 600;
    margin: 4px 0;
    border-radius: 9999px;
    text-align: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Mobile Menu - Smooth Transition */
#mobile-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Layout Utilities */
.whitespace-nowrap {
    white-space: nowrap;
}

/* Form Focus Effects */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Responsive adjustments for name */
@media (max-width: 1024px) {
    .whitespace-nowrap {
        white-space: normal;
    }
}
