/* Skip Links Example Styles */

/* Skip Links - Hidden by default, visible on focus */
.example-section .skip-links {
    position: absolute;
    top: 0;
    left: 0px;
    z-index: 1000;
}

.example-section .skip-link {
    position: absolute;
    top: -100px;
    left: 6px;
    background: #007acc;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: top 0.3s;
    text-wrap: nowrap;
}

.example-section .skip-link:focus {
    top: 0;
    outline: 2px solid #007acc;
    outline-offset: 2px;
}

/* Navigation Styles */
.example-section .main-nav {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.example-section .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.example-section .nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.example-section .nav-link:hover {
    background-color: #e9ecef;
}

.example-section .nav-link:focus {
    outline: 2px solid #007acc;
    outline-offset: 2px;
    background-color: #e9ecef;
}

/* Main Content Styles */
.example-section .main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.example-section .main-content h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.example-section .content-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.example-section .content-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.example-section .content-section p {
    line-height: 1.6;
    color: #495057;
    margin-bottom: 1rem;
}

.example-section .article {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.example-section .article h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Footer Styles */
.example-section .footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 1rem;
    margin-top: 3rem;
    text-align: center;
}

.example-section .footer p {
    margin-bottom: 1rem;
}

.example-section .footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.example-section .footer-nav-list a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.example-section .footer-nav-list a:hover {
    color: #007acc;
}

.example-section .footer-nav-list a:focus {
    outline: 2px solid #007acc;
    outline-offset: 2px;
    color: #007acc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .example-section .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .example-section .footer-nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .example-section .main-content {
        padding: 0 0.5rem;
    }
    
    .example-section .content-section {
        padding: 1rem;
    }
}

/* Focus indicators for better accessibility */
.example-section *:focus {
    outline: 2px solid #007acc;
    outline-offset: 2px;
}

/* Ensure proper contrast and readability */
.example-section {
    color: #2c3e50;
    line-height: 1.6;
} 