/* Custom styles for WordPress Service Directory */

/* Font settings */
:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Base styles */
body {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

.font-display {
    font-family: var(--font-display);
}

/* Card styles */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .badge {
    margin-top: 8px;
    z-index: 10;
}

/* Logo container styles */
.logo-container {
    height: 180px;
}

.company-logo {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.service-card:hover .company-logo {
    transform: scale(1.1);
}

/* Rating stars */
.rating-stars .filled {
    color: #FBBF24;
}

.rating-stars .empty {
    color: #E5E7EB;
}

/* Featured tag */
.featured-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: translateY(-50%);
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* FAQ accordion */
.faq-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

/* Sticky header for mobile */
@media (max-width: 768px) {
    .sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 50;
        display: flex;
        justify-content: center;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}
