/* Tesla Portfolio Styles */
/* A Process Redesigned | Tony-Wolf.com */

:root {
    --primary-color: #1a1a1a;
    --accent-color: #e31937;
    --success-color: #00c853;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gray-light: #f5f5f5;
    --gray-medium: #888888;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--gray-light);
}

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

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.apr-logo {
    color: var(--text-light);
}

.divider {
    color: var(--gray-medium);
}

.client-logo {
    color: var(--accent-color);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d2d 100%);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--accent-color);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.overview-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.overview-card p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.challenge-list,
.approach-list,
.results-list {
    list-style: none;
    padding: 0;
}

.challenge-list li,
.approach-list li,
.results-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.challenge-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.approach-list li::before {
    content: "🔧";
    position: absolute;
    left: 0;
}

.results-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

/* Results Section */
.results-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.results-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.results-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.metric-card.success {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-left: 4px solid var(--success-color);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.metric-change {
    font-size: 0.9rem;
    color: var(--success-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.metric-comparison {
    font-size: 0.85rem;
    color: var(--gray-medium);
}

/* Documents Section */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.document-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--accent-color);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.document-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.document-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.document-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.document-link:hover {
    background-color: #c41230;
}

/* Data Section */
.data-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--gray-medium);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.data-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.data-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.data-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.data-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.data-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.data-link:hover {
    background-color: #000000;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-section h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.details-list,
.scope-list,
.achievements-list {
    list-style: none;
    padding: 0;
}

.details-list li,
.scope-list li,
.achievements-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.details-list li:last-child,
.scope-list li:last-child,
.achievements-list li:last-child {
    border-bottom: none;
}

.details-list strong,
.scope-list strong {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: var(--gray-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-medium);
}

.footer-bottom p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
}

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

/* Print Styles */
@media print {
    header,
    footer,
    .hero-stats {
        display: none;
    }
    
    .hero {
        background: white;
        color: var(--text-dark);
        padding: 2rem 0;
    }
    
    .hero h1,
    .hero h2 {
        color: var(--text-dark);
    }
}