/* Custom styles for Town Veterinary */

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

/* Hero animations */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards 0.2s;
}

.hero-headline {
    animation: slideUp 0.8s ease forwards 0.4s;
}

.hero-desc {
    animation: slideUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    animation: slideUp 0.8s ease forwards 0.8s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal animations */
.reveal {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(20px);
}

/* Service card hover effect */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Navigation scroll effect */
.nav-scrolled .nav-logo-text {
    color: #0a1628;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

/* Selection color */
::selection {
    background: #c8a45e;
    color: #0a1628;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #c8a45e;
    outline-offset: 2px;
}

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