/* HVAC Troubleshooting Hub - Red/Coral Theme */
* {
    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: #1f2937;
    background: #fef2f2;
}

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

header {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

nav {
    background: #991b1b;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.2s;
}

nav a:hover {
    background: #dc2626;
}

main {
    padding: 3rem 0;
    min-height: 60vh;
}

.breadcrumbs {
    margin-bottom: 2rem;
    color: #6b7280;
}

.breadcrumbs a {
    color: #dc2626;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    color: #dc2626;
    margin: 2rem 0 1rem 0;
}

h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid #dc2626;
    padding-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.highlight-box {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #dc2626;
    margin-top: 0;
}

.tip-box {
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.emergency-box {
    background: #fecaca;
    border: 2px solid #dc2626;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.emergency-box h3 {
    color: #991b1b;
    margin-top: 0;
}

ul, ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

.t1-resources {
    background: #fef2f2;
    border: 1px solid #dc2626;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.t1-resources h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.t1-resources ul {
    margin: 0;
}

.internal-links {
    background: #fed7d7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.internal-links h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.internal-links ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.internal-links a {
    color: #dc2626;
    text-decoration: none;
}

.internal-links a:hover {
    text-decoration: underline;
}

.troubleshooting-steps {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.troubleshooting-steps h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.troubleshooting-steps ol {
    margin: 0;
}

.troubleshooting-steps li {
    margin-bottom: 1rem;
    font-weight: 500;
}

footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #dc2626;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .internal-links ul {
        grid-template-columns: 1fr;
    }
}