/* Custom Styles for Bennetts Creek Veterinary */

:root {
    --color-green-900: #1a4731;
    --color-green-800: #2d5a3f;
    --color-green-700: #3d7a52;
    --color-green-600: #4a9c5c;
    --color-green-100: #e8f5e9;
    --color-off-white: #faf9f6;
    --color-cream: #f5f5f0;
}

/* Typography */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Background Colors */
.bg-off-white {
    background-color: var(--color-off-white);
}

/* Buttons */
.btn-primary {
    @apply inline-flex items-center justify-center px-8 py-3 bg-green-900 text-white rounded-full font-semibold hover:bg-green-800 transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-0.5;
}

.btn-secondary {
    @apply inline-flex items-center justify-center px-8 py-3 bg-transparent text-white border-2 border-white rounded-full font-semibold hover:bg-white hover:text-green-900 transition-all duration-300;
}

/* Hero Section */
.hero {
    background-image: url('https://images.pexels.com/photos/5407246/pexels-photo-5407246.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(26, 71, 49, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-green-700);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--color-off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--color-green-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-green-800);
}

/* Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .font-playfair {
        font-size: 2.5rem;
    }
}
