
/* Variables de color y tipografía */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    
    --font-main: 'Roboto', sans-serif;
    --font-code: 'Source Code Pro', monospace;
    
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
/* Reset adicional */
.sem-header, .sem-footer {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos del encabezado */
.sem-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: rgb(255, 255, 255);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.sem-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    opacity: 0.5;
}

.sem-header .container {
    position: relative;
    z-index: 1;
}

.sem-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0 0.5rem;
}

.sem-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb span {
    opacity: 0.7;
}

/* Contenedor principal */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Estilos de secciones */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
}

.content-section h2 i {
    color: var(--secondary-color);
}
/* Footer */
.sem-footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-copy {
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}


/* Estilos específicos para Semana 8 */

.project-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.project-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.box-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.box-header i {
    font-size: 2rem;
    color: #fff;
}

.box-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.box-content {
    padding: 2rem;
    color: #fff;
}

.box-content p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.project-features h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.project-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.github-link-section {
    margin: 3rem 0;
    text-align: center;
}

.link-container {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 20px;
    padding: 3rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
}

.link-container h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.link-container h2 i {
    font-size: 2.5rem;
}

.link-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #24292e;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.github-btn:hover {
    background: #fff;
    color: #24292e;
    border-color: #24292e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.github-btn i:first-child {
    font-size: 1.5rem;
}

.github-btn i:last-child {
    font-size: 1rem;
}

.note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.summary-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
}

.summary-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.summary-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-boxes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-box {
        margin: 0 1rem;
    }
    
    .link-container {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .link-container h2 {
        font-size: 1.5rem;
    }
    
    .github-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .box-header {
        padding: 1rem;
    }
    
    .box-content {
        padding: 1.5rem;
    }
    
    .link-container {
        padding: 1.5rem;
    }
    
    .github-btn {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
}

