/* Custom CSS for Nofal Ashraf M MD Website */

:root {
    --midnight-900: #0f172a;
    --midnight-800: #1e293b;
    --mint-700: #0d9488;
    --mint-600: #14b8a6;
    --mint-500: #2dd4bf;
    --mint-100: #ccfbf1;
    --mint-50: #f0fdfa;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-600: #57534e;
    --stone-800: #292524;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--stone-800);
    background-color: var(--stone-50);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Asymmetric Hero Skew */
.skewed-x-12 {
    transform: skewX(-12deg);
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--mint-600);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-700);
}

/* Form Focus Styles */
input:focus, textarea:focus {
    border-bottom: 2px solid var(--midnight-900);
}

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

/* Print Styles */
@media print {
    nav, #contactForm button, .reveal {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
    a {
        text-decoration: underline;
    }
}
