/* =================
   ESTILOS ESPECÍFICOS PÁGINA PRINCIPAL
   ================= */

/* News Banner */
.news-banner {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-yellow) 100%);
    border-top: 3px solid var(--color-yellow);
    border-bottom: 3px solid var(--color-orange);
    padding: 1.2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(255, 170, 51, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 170, 51, 0.6);
}

.news-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.news-label {
    color: var(--color-blue-zone1);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.news-separator {
    color: var(--color-blue-zone1);
    font-weight: bold;
    font-size: 1.3rem;
}

.news-text {
    color: var(--color-blue-zone1);
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .news-banner {
        padding: 1rem 0;
    }

    .news-content {
        font-size: 0.95rem;
        gap: 0.7rem;
        flex-wrap: wrap;
    }

    .news-label {
        padding: 0.2rem 0.6rem;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin: 3rem 0 4rem 0;
    padding: 3rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-yellow);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(251, 249, 196, 0.3);
    position: relative;
    display: inline-block;
    width: 100%;
}

.hero-title::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--color-yellow), var(--color-accent));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-accent);
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 2rem;
}

/* Sobre mí - Resumen simplificado */
.about-summary {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-text {
    flex: 1;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-align: justify;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
    color: rgba(255, 255, 255, 0.9);
}

.about-cta {
    margin-top: 1.5rem;
    text-align: right;
}

/* Proyectos destacados */
.projects-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.main-project-card {
    background-color: var(--color-blue-zone3);
    border-radius: var(--border-radius);
    padding: 2rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-image {
    flex-shrink: 0;
}

.project-image img {
    width: 120px;
    height: auto;
}

.project-content {
    flex: 1;
}

.project-content h3 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Raleway', sans-serif;
    text-align: left;
}

.project-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    text-align: justify;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-cta {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.more-projects-card {
    background-color: var(--color-blue-zone3);
    border-radius: var(--border-radius);
    padding: 2rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.more-projects-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-yellow);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.more-projects-icon {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.more-projects-card h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Raleway', sans-serif;
}

.more-projects-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .main-project-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-summary {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text p, .intro-text {
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .main-project-card {
        padding: 1.5rem;
    }
    
    .more-projects-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .main-project-card {
        padding: 1rem;
    }
}