/* Custom styles for Assefa Irena M MD website */

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

/* Navbar transition */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .text-charcoal-700 {
    color: #3D424C !important;
}

#navbar.scrolled .mobile-link {
    color: #2C3038 !important;
}

/* Service card hover lift */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Feature card hover */
.feature-card {
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-4px);
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Default state: visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
}

/* Geometric accent shapes */
.geo-circle {
    border-radius: 50%;
}

.geo-square {
    border-radius: 1rem;
}

/* Input focus styles */
input:focus, textarea:focus {
    outline: none;
}

/* Selection color */
::selection {
    background: #FF5A33;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #1A1D23;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #E84A24;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2rem;
    }
}
