/* Custom Styles for Pediatric Therapy Service */

/* Custom Properties */
:root {
    --midnight: #0a1628;
    --midnight-light: #1a2a4a;
    --mint: #4ade80;
    --mint-light: #86efac;
    --mint-dark: #22c55e;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

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

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

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

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

/* Tailwind Custom Colors */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    :root {
        --color-midnight: 10 22 40;
        --color-mint: 74 222 128;
    }
}

@layer utilities {
    .text-midnight {
        color: rgb(var(--color-midnight));
    }
    
    .bg-midnight {
        background-color: rgb(var(--color-midnight));
    }
    
    .text-mint {
        color: rgb(var(--color-mint));
    }
    
    .bg-mint {
        background-color: rgb(var(--color-mint));
    }
}

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.show {
    max-height: 400px;
}

/* Button Hover Effects */
button:hover, a:hover {
    transform: translateY(-2px);
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Print Styles */
@media print {
    nav, #mobile-menu-btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
