/* Simple Professional Page Fade Transitions */

/* Fade overlay for page transitions */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

/* Fade in (covering old page) */
.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Page content fades in smoothly on load */
body {
    animation: fadeInPage 0.4s ease-in-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Prevent flash of unstyled content */
body.page-loading {
    opacity: 0;
}
