/*
Theme Name: Veracurate
Theme URI: https://veracurate.studio
Author: Veracurate Studio
Author URI: https://veracurate.studio
Description: A modern, lightweight, and SEO-friendly WordPress theme for boutique consulting and digital services studios. Built with block editor support, accessibility in mind, and performance-optimized code.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veracurate
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, responsive-layout, accessibility-ready, seo-friendly
*/

/* Base styles - minimal, most styling handled via theme.json */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #39ff14;
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0a0a;
    color: #39ff14;
    padding: 1rem 2rem;
    z-index: 99999;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Service matcher styles */
.service-matcher {
    background: #fafafa;
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid #e5e5e5;
}

.matcher-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.matcher-btn {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.matcher-btn:hover {
    border-color: #39ff14;
    background: rgba(57, 255, 20, 0.04);
    transform: translateY(-2px);
}

.matcher-btn.active {
    border-color: #39ff14;
    background: rgba(57, 255, 20, 0.08);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.matcher-result {
    display: none;
    background: #0a0a0a;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    color: #ffffff;
    animation: fadeInUp 0.5s ease;
}

.matcher-result.show {
    display: block;
}

.matcher-result h4 {
    color: #7fff7f;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.matcher-result p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.matcher-result .btn-cta {
    display: inline-block;
    background: #39ff14;
    color: #0a0a0a;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.matcher-result .btn-cta:hover {
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
    transform: translateY(-2px);
}

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

/* Contact page specific */
.contact-info-block {
    background: #fafafa;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e5e5e5;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #39ff14;
    font-size: 1.1rem;
}

.contact-detail-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 0.25rem;
}

.contact-detail-content p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Service page template */
.service-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 6rem 5%;
    text-align: center;
}

.service-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-hero p {
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.service-section {
    margin-bottom: 3rem;
}

.service-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-section h2::before {
    content: '';
    width: 30px;
    height: 3px;
    background: #39ff14;
    border-radius: 2px;
}

.service-section p,
.service-section ul {
    color: #888888;
    line-height: 1.7;
}

.service-section ul {
    list-style: none;
    padding: 0;
}

.service-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #39ff14;
    font-weight: 600;
}

/* 404 page */
.error-404 {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 5%;
}

.error-404 h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    color: #39ff14;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.error-404 h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 1rem;
}

.error-404 p {
    color: #888888;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* Blog styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: #7fff7f;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #39ff14;
    font-size: 2rem;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #0a0a0a;
}

.blog-card-content p {
    color: #888888;
    font-size: 0.9rem;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888888;
}

/* Archive header */
.archive-header {
    background: #fafafa;
    padding: 4rem 5%;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.archive-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.archive-header p {
    color: #888888;
}

/* Responsive */
@media (max-width: 768px) {
    .matcher-options {
        grid-template-columns: 1fr;
    }

    .service-matcher {
        padding: 2rem 1.5rem;
    }

    .contact-info-block {
        padding: 1.5rem;
    }

    .service-hero {
        padding: 4rem 5%;
    }
}

/* Print styles */
@media print {
    .skip-link,
    nav,
    .service-matcher,
    footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
