/* Custom styles for Roger's Trees and Nursery */

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

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

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

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Gallery item overlay */
.gallery-item {
    cursor: pointer;
}

/* Animation for scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Pulse animation for trust indicator */
@keyframes pulse-gold {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(20px) rotate(50deg);
    }
}

.float-1 {
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    animation: float-reverse 8s ease-in-out infinite;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .animate-bounce,
    #contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .text-white,
    .text-white\/60,
    .text-white\/70,
    .text-white\/80 {
        color: black !important;
    }
    
    .bg-navy-900,
    .bg-navy-800,
    .bg-navy-800\/50 {
        background: white !important;
    }
}
