/* Redfish Roadmap - Dedicated Styles */

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

/* Body */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: linear-gradient(135deg, #4c51bf 0%, #5a3e8f 100%);
    min-height: 100vh;
    padding: 2rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 3rem;
}

/* Typography */
h1 {
    color: #4c51bf; /* Changed from #667eea for better contrast (4.5:1) */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    color: #4a5568; /* Changed from #666 for better contrast (7:1) */
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Navigation */
nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

nav a {
    color: #4c51bf; /* Changed from #667eea for better contrast */
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
    color: #5a3e8f;
}

/* Phase Sections */
.phase {
    margin-bottom: 2.5rem;
}

.phase h2 {
    color: #5a3e8f; /* Changed from #764ba2 for better contrast (4.6:1) */
    margin-bottom: 1rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

/* Phase Status Badges */
.phase-status {
    margin-left: 1rem;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.phase-status.completed {
    background: #c6f6d5;
    color: #1a5632; /* Darker green for better contrast (7.3:1) */
}

.phase-status.in-progress {
    background: #fef3c7;
    color: #5f370e; /* Darker brown for better contrast (8.1:1) */
}

.phase-status.planned {
    background: #e6e9ff; /* Lighter background for better contrast */
    color: #3730a3; /* Darker indigo for better contrast (7.2:1) */
}

/* Lists */
ul {
    list-style: none;
    padding-left: 0;
}

li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f7fafc;
    border-left: 4px solid #4c51bf;
    border-radius: 4px;
    color: #2d3748; /* Darker text for better contrast */
    transition: background-color 0.2s ease;
}

li:hover {
    background: #edf2f7;
}

li.done {
    border-left-color: #38a169; /* Better green contrast */
    opacity: 0.8;
}

li.done::before {
    content: "✓ ";
    color: #22543d; /* Darker green for better contrast */
    font-weight: bold;
    margin-right: 0.5rem;
}

li.in-progress::before {
    content: "⟳ ";
    color: #d97706; /* Darker amber for better contrast (4.5:1) */
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    text-align: center;
    color: #4a5568; /* Changed from #666 for better contrast */
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #4c51bf;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
    color: #5a3e8f;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .container {
        padding: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .phase h2 {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .phase-status {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    nav a {
        display: block;
        margin: 0.5rem 0;
    }
}
