/*
Theme Name: Small Claims Helper
Theme URI: https://example.com
Description: A WordPress theme for helping consumers navigate small claims court
Version: 1.0
Author: Your Name
License: GPL v2 or later
*/

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
header.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

nav.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav.main-navigation a:hover {
    color: #2563eb;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* === CLAIM TYPE SELECTOR === */
.claim-type-selector {
    padding: 3rem 0;
}

.claim-type-selector h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.claim-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.claim-type-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.claim-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.claim-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.claim-type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.claim-type-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-secondary {
    display: inline-block;
    background: #f1f5f9;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* === PROGRESS TRACKER === */
.progress-tracker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

.progress-step {
    display: flex;
    align-items: center;
    position: relative;
}

.progress-step::after {
    content: '';
    width: 50px;
    height: 2px;
    background: #e2e8f0;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after {
    background: #10b981;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.progress-step.active .step-number {
    background: #2563eb;
    color: white;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
}

/* === CLAIM GUIDE CONTENT === */
.claim-guide-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.claim-steps {
    margin: 2rem 0;
}

.claim-step {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
}

.claim-step h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.claim-step p {
    color: #64748b;
    line-height: 1.6;
}

.requirements-list {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.requirements-list h3 {
    color: #92400e;
    margin-bottom: 1rem;
}

.requirements-list ul {
    margin-left: 1.5rem;
    color: #78350f;
}

.requirements-list li {
    margin-bottom: 0.5rem;
}

/* === SIDEBAR === */
.sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* === FOOTER === */
footer.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    nav.main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .claim-types-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-tracker {
        overflow-x: auto;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #2563eb;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}