/* Custom styles for 1 Percent Lists Peach State */

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

/* Hero tagline animation */
.hero-tagline {
    animation: slideDown 0.8s ease-out forwards;
}

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

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

/* Scroll reveal when animated - only applied via JS */
.reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Service card hover lift */
.service-card {
    transform: translateY(0);
}

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

/* Navbar transition */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu animation */
#mobileMenu {
    animation: menuSlide 0.3s ease forwards;
}

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

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Listing card hover */
.listing-card {
    transform: translateY(0);
}

.listing-card:hover {
    transform: translateY(-4px);
}

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

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        transition: none;
    }
    .hero-tagline {
        animation: none;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .font-serif.text-5xl,
    .font-serif.text-6xl {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .font-serif.text-4xl,
    .font-serif.text-5xl {
        font-size: 2rem;
        line-height: 1.1;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}
