/* Custom styles for Snt Medical Group Behavioral Health Division */

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

/* Navbar scroll state */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 74, 142, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(123, 74, 142, 0.08);
}

/* Service card hover effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7B4A8E, #f5a623);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(123, 74, 142, 0.15);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle gradient backgrounds */
.bg-plum-50\/50 {
    background-image: linear-gradient(135deg, rgba(250, 245, 251, 0.5) 0%, rgba(255, 251, 235, 0.5) 100%);
}

/* Hero gradient background */
#hero {
    background: linear-gradient(135deg, #faf5fb 0%, #fffbeb 50%, #faf5fb 100%);
}

/* CTA section gradient */
section.bg-gradient-to-r.from-plum-100 {
    background: linear-gradient(135deg, rgba(236, 217, 238, 0.4) 0%, rgba(255, 243, 198, 0.4) 50%, rgba(250, 245, 251, 0.4) 100%);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    a,
    button {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    a:hover,
    button:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .bg-gradient-to-r {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Additional responsive adjustments */
@media (max-width: 640px) {
    .font-serif {
        font-size: 1.75rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
}
