/* Custom styles for Humboldt Tree Service */

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

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

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

::-webkit-scrollbar-thumb {
    background: #1a3047;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2c5282;
}

/* Selection color */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #f0fdf4;
}

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reveal animation - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Ensure content is visible without JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Navbar styles */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(10, 19, 25, 0.95);
    border-bottom: 1px solid rgba(26, 48, 71, 0.5);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover */
.group:hover .group-hover\\:bg-mint-500\\/20 {
    background-color: rgba(74, 222, 128, 0.2);
}

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

/* Button hover effects */
a:hover {
    transition: all 0.3s ease;
}

/* Gallery hover */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    .reveal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
