/* Custom styles for Molar Bear Family Dental */

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #d4c5b9;
    border-radius: 4px;
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(114, 50, 90, 0.1);
}

/* Image hover effects */
img {
    transition: transform 0.6s ease-out;
}

/* Form focus styles */
input:focus,
textarea:focus {
    background-color: white;
}

/* Mobile menu animation */
.mobile-menu-enter {
    transform: translateX(0);
}

.mobile-menu-exit {
    transform: translateX(100%);
}

/* Service card hover */
.group:hover .group-hover\\:bg-amber-200 {
    background-color: #fde68a;
}

/* Asymmetric hero adjustments */
@media (min-width: 1024px) {
    .lg\\:col-start-8 {
        grid-column-start: 8;
    }
    
    .lg\\:col-span-5 {
        grid-column: span 5 / span 5;
    }
}

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