/* ============================================
   Copper Hills Veterinary Services
   Custom Styles
   ============================================ */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf2f2;
}
::-webkit-scrollbar-thumb {
    background: #b92f2f;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9c2525;
}

/* Selection Color */
::selection {
    background: #b92f2f;
    color: #ffffff;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(139, 37, 37, 0.08);
}

#navbar.scrolled .font-serif,
#navbar.scrolled a.text-burgundy-800 {
    color: #8B2525;
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    position: relative;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B2525, #D44444);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Stagger delays */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* ============================================
   Mobile Menu
   ============================================ */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
    max-height: 400px;
}

/* ============================================
   Testimonial Cards
   ============================================ */
.bg-neutral-50 {
    background: linear-gradient(135deg, #fdf2f2 0%, #ffffff 100%);
}

/* ============================================
   Form Inputs
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ============================================
   Button Hover Effects
   ============================================ */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #navbar, #contactForm, #successMessage {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
