/* Custom styles for The Choices Recovery Center */

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

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

::-webkit-scrollbar-track {
    background: #FDFBF7;
}

::-webkit-scrollbar-thumb {
    background: #C05A3A;
    border-radius: 5px;
}

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

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

/* Print styles */
@media print {
    nav,
    #contact-form,
    .animate-float,
    .animate-float-delayed,
    .animate-float-slow {
        display: none !important;
    }
    
    body {
        color: #1C1917;
        background: white;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease, opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Subtle hover effects for cards */
.group:hover .w-16 {
    transform: scale(1.05);
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift for map */
iframe {
    max-width: 100%;
}
