/*
Theme Name: LawyersFund Minimal
Theme URI: https://lawyersfund.com
Author: David Kervin Jr.
Description: Justice, Capitalized - Litigation finance marketplace
Version: 5.0.0
Requires PHP: 7.4
License: GPL v2
*/

:root {
    --navy: #0A2342;
    --gold: #C5A059;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6B7280;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--navy);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #E5E7EB;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.5px;
}

header nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

header nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: 2px solid var(--navy);
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--navy);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-gold {
    background: var(--gold);
    border: 2px solid var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

footer p {
    text-align: center;
    opacity: 0.8;
    font-size: 14px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* Campaign Cards */
.campaign-card {
    background: var(--white);
    border: 2px solid #E5E7EB;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.campaign-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.1);
}

.campaign-card h3 {
    margin: 0 0 10px 0;
    color: var(--navy);
}

.progress-bar {
    background: #E5E7EB;
    height: 8px;
    border-radius: 0;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    background: var(--gold);
    height: 100%;
    transition: width 0.3s;
}

/* Admin Tables */
.form-table th {
    text-align: left;
    padding: 10px;
    font-weight: 600;
    color: var(--navy);
}

.form-table td {
    padding: 10px;
}

.form-table input[type="text"],
.form-table input[type="number"],
.form-table select,
.form-table textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #E5E7EB;
    border-radius: 2px;
    font-family: inherit;
    font-size: 14px;
}

.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* Typography */
.serif {
    font-family: 'Garamond', 'Georgia', serif;
}

.sans {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* Utility Classes */
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.bg-navy { background: var(--navy); }
.bg-light { background: var(--light-gray); }

/* Responsive */
@media (max-width: 768px) {
    header nav {
        gap: 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .site-title {
        font-size: 22px;
    }
}
