/* Custom styles for Dr. Stecklow website */

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

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

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

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

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

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6d132e;
}

/* Navigation scroll effect */
nav.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Hero image parallax effect */
.hero-image {
    transition: transform 0.3s ease;
}

/* Service card hover effect */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(131, 21, 51, 0.3);
}

/* Form input focus effects */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(216, 68, 104, 0.1);
}

/* Animation for scroll reveals */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 {
        transition-delay: 0.1s;
    }
    
    .reveal-delay-2 {
        transition-delay: 0.2s;
    }
    
    .reveal-delay-3 {
        transition-delay: 0.3s;
    }
}

/* Mobile menu animation */
.mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

.mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Floating card animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card {
    animation: float 3s ease-in-out infinite;
}

/* Decorative pattern */
.pattern-dots {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #831533 0%, #d84468 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle hover underline */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #831533;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Image overlay gradient */
.image-overlay {
    background: linear-gradient(to top, rgba(61, 7, 22, 0.3) 0%, transparent 50%);
}

/* Back to top button visibility */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card:hover {
        transform: none;
    }
}
