/* Custom styles for Parikh Amita MD */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base font settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reveal animations - progressive enhancement, only active with JS */
.reveal-item {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-item.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1f1f26;
}
::-webkit-scrollbar-thumb {
    background: #52525e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6b3f;
}

/* Selection color */
::selection {
    background: #ff6b3f;
    color: #ffffff;
}

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #ff6b3f;
    box-shadow: 0 0 0 3px rgba(255, 107, 63, 0.15);
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobileMenu.open {
    max-height: 500px;
}

/* Subtle hover lift for cards */
.group {
    will-change: transform;
}

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

/* Hero decorative animation */
@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.02); }
}

/* Print styles */
@media print {
    #navbar, #mobileMenu, .reveal-item {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
