/* Custom Styles for Ryan Kingsley Medical Practice */

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

/* Pattern Grid Background */
.pattern-grid-lg {
    background-image: 
        linear-gradient(to right, rgba(26, 43, 74, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 43, 74, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

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

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

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

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

/* Mobile Menu Transitions */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #d4af37;
}

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

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

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in forwards;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
