/* Asset Finders Theme - Custom Styles */

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

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

::-webkit-scrollbar-track {
    background: #f5f5f0;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #1e4a56;
}

/* Typography enhancements */
.prose {
    color: #374151;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: 'Raleway', sans-serif;
    color: #1e4a56;
}

.prose a {
    color: #2d6a7a;
}

.prose a:hover {
    color: #1e4a56;
}

/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Hero section background animation */
.hero-bg {
    background: linear-gradient(-45deg, #1e4a56, #2d6a7a, #4a9bb0, #7cb8c7);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Button hover effects */
.btn-primary {
    background-color: #2d6a7a;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e4a56;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 106, 122, 0.3);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form input focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2d6a7a;
    box-shadow: 0 0 0 3px rgba(45, 106, 122, 0.2);
}

/* Form honeypot */
.form_web_url {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 500px;
}

/* Header sticky shadow on scroll */
header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2d6a7a;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Testimonial quote styling */
.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: #2d6a7a;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 10px;
    font-family: Georgia, serif;
}

/* Responsive image handling */
.responsive-img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    header,
    footer,
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: black;
    }
}
