/* Custom styles for Tanner Voss - Your Agent */

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

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Only apply hidden state when JS is active (via .js-loaded class) */
.js-loaded .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Selection color */
::selection {
    background: #166534;
    color: #fefdf8;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 46, 22, 0.08);
}

/* Floating card animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}
.floating-card-2 {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
}
.floating-card-3 {
    animation: float 5s ease-in-out infinite;
    animation-delay: 2s;
}

/* Gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4a373, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s ease;
}
.img-zoom:hover img {
    transform: scale(1.05);
}
