/* Custom Styles for Novak Daniel DDS */

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

/* Blob animations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 91, 0.15);
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 140, 122, 0.12);
    bottom: 20%;
    left: -50px;
    animation-delay: -3s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 82, 64, 0.1);
    top: 50%;
    left: 40%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Service card hover animation */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #ff6b5b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 91, 0.15) !important;
}

/* Custom selection color */
::selection {
    background: rgba(255, 107, 91, 0.3);
    color: #1a1a1a;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .blob {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}
