/* Custom Styles for Dr. Arghya's Portfolio - Midnight Indigo & Electric Violet Theme */

:root {
    --primary: #0D1126;
    --medical: #6366F1;
    --accent: #8B5CF6;
    --accent-glow: #A855F7;
    --secondary: #F8F9FE;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism Refinements */
#navbar.scrolled {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background-color: rgba(13, 17, 38, 0.95);
    border-bottom: 1px solid rgba(99, 102, 241, 0.25);
}

/* Custom Selection */
::selection {
    background: #6366F1;
    color: white;
}

/* Hide Scrollbar for cleaner look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0F1F;
}
::-webkit-scrollbar-thumb {
    background: #1E264F;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6366F1;
}

/* Smooth Image Reveal Styles */
.reveal-img {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.reveal-img.active {
    clip-path: inset(0 0 0% 0);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.floating {
    animation: float 4s ease-in-out infinite;
}

/* Form Styles */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

/* Premium Card Hover */
.specialty-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.specialty-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.18);
}

/* Timeline Customization */
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0.375rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #6366F1;
    border-radius: 9999px;
    border: 4px solid #0D1126;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* Mobile Link Styles */
.mobile-link {
    position: relative;
    transition: color 0.3s;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8B5CF6;
    transition: all 0.3s;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Hero Parallax Intensity Base */
#hero-image {
    perspective: 1000px;
}

/* Hide mobile action bar on desktop */
@media (min-width: 768px) {
    .mobile-action-bar { display: none; }
}

/* Section Transitions */
section {
    position: relative;
    z-index: 1;
}

/* Responsive Embeds Padding */
.aspect-video iframe {
    border-radius: 1.5rem;
}

/* Custom Scale-Up Animation for Modal */
@keyframes scaleUp {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.animate-scale-up {
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Patient Recovery Cards Hover */
#recovery-videos .group {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
#recovery-videos .group:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -10px rgba(99, 102, 241, 0.25);
}
