/* ===================================
   JAN'S THEME - TEAL/BLUE
   King's Ely inspired color palette
   =================================== */

:root {
    --jan-primary: #5B9B9E;
    --jan-secondary: #4a7c7e;
    --jan-accent: #E67E22;
    --jan-bg-light: #f8f9fa;
    --jan-hover: #3d6668;
}

body.jan-theme {
    background-color: var(--jan-bg-light);
}

/* Navigation */
.jan-theme .nav-bar {
    background: var(--jan-primary);
}

.jan-theme .nav-link:hover {
    background: var(--jan-secondary);
}

/* Hero Section */
.jan-theme .hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../images/jan/JanHero.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

/* Headings */
.jan-theme h1,
.jan-theme h2,
.jan-theme h3 {
    color: var(--jan-primary);
}

/* Fact Box */
.jan-theme .fact-box {
    border-left: 4px solid var(--jan-primary);
}

/* Badges */
.jan-theme .badge {
    background: var(--jan-primary);
    color: white;
}

/* Buttons */
.jan-theme .btn-primary,
.jan-theme .cta-button {
    background: var(--jan-accent);
}

.jan-theme .btn-primary:hover,
.jan-theme .cta-button:hover {
    background: #d35400;
}

.jan-theme .btn-secondary {
    background: white;
    color: var(--jan-primary);
    border: 2px solid var(--jan-primary);
}

.jan-theme .btn-secondary:hover {
    background: var(--jan-primary);
    color: white;
}

/* Links */
.jan-theme a {
    color: var(--jan-primary);
}

.jan-theme a:hover {
    color: var(--jan-secondary);
}

/* Table Headers */
.jan-theme th {
    background: var(--jan-primary);
    color: white;
}

/* Project Showcase Specific Styles */
.jan-theme .project-showcase {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.jan-theme .project-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 3px solid var(--jan-primary);
    margin-bottom: 2rem;
}

.jan-theme .project-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.jan-theme .subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.jan-theme .project-meta {
    margin-top: 1rem;
}

/* Feature List */
.jan-theme .feature-list {
    list-style: none;
    padding: 0;
}

.jan-theme .feature-list li {
    background: white;
    margin: 0.8rem 0;
    padding: 1rem;
    border-left: 4px solid var(--jan-primary);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Journey Steps */
.jan-theme .journey-step {
    background: #f8f9fa;
    border-left: 4px solid var(--jan-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.jan-theme .journey-step h3 {
    color: var(--jan-primary);
    margin-bottom: 1rem;
}

.jan-theme .journey-step img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.jan-theme .key-decisions,
.jan-theme .technical-detail {
    background: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--jan-accent);
}

/* Code Snippet */
.jan-theme .code-snippet {
    background: #2d2d2d;
    color: #f8f8f8;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    overflow-x: auto;
}

.jan-theme .code-snippet pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.jan-theme .code-snippet code {
    font-family: 'Courier New', monospace;
}

/* Components Table */
.jan-theme .components-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.jan-theme .components-table th,
.jan-theme .components-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.jan-theme .components-table th {
    background: var(--jan-primary);
    color: white;
    font-weight: bold;
}

.jan-theme .components-table tr:hover {
    background: #f8f9fa;
}

/* Explanation Blocks */
.jan-theme .explanation-block {
    background: #fff;
    border: 2px solid var(--jan-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.jan-theme .formula {
    background: #e8f4f8;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

/* Problem-Solution Grid */
.jan-theme .problem-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.jan-theme .problem-card {
    background: white;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.jan-theme .problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Applications Grid */
.jan-theme .applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.jan-theme .app-card {
    background: linear-gradient(135deg, var(--jan-primary), #4a7c7e);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.jan-theme .app-card:hover {
    transform: scale(1.05);
}

.jan-theme .app-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

/* Learning Categories */
.jan-theme .learning-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.jan-theme .learning-cat {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--jan-accent);
}

.jan-theme .learning-cat h4 {
    color: var(--jan-secondary);
    margin-bottom: 1rem;
}

/* Improvement List */
.jan-theme .improvement-list {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.jan-theme .improvement-list li {
    margin: 1rem 0;
    padding: 0.5rem 0;
}

/* Download Buttons */
.jan-theme .repo-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.jan-theme .download-btn {
    background: var(--jan-accent);
    color: white;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.jan-theme .download-btn:hover {
    background: #d35400;
}

/* Responsive */
@media (max-width: 768px) {
    .jan-theme .project-header h1 {
        font-size: 1.8rem;
    }
    
    .jan-theme .problem-solution-grid,
    .jan-theme .applications-grid,
    .jan-theme .learning-categories {
        grid-template-columns: 1fr;
    }
    
    .jan-theme .repo-links {
        flex-direction: column;
    }
}
