/* Custom Styles for Karen Zimmerman, LCSW */

/* Color Variables */
:root {
    --navy: #0f172a;
    --gold: #c9a962;
    --gold-light: #d4b87a;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-800: #1e293b;
}

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

.font-manrope {
    font-family: 'Manrope', sans-serif;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 4px;
}

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

/* Selection */
::selection {
    background: var(--gold);
    color: white;
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold) !important;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-link {
    transition: all 0.3s ease;
}

/* Hover Effects */
.group:hover .group-hover\:text-gold {
    color: var(--gold);
}

.group:hover .group-hover\:border-gold {
    border-color: var(--gold) !important;
}

/* Button Transitions */
button,
a {
    transition: all 0.3s ease;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Print Styles */
@media print {
    header,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
