/* Reseteo básico y tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Encabezado y Logo */
.header {
    background-color: #ffffff;
    padding: 15px 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: auto;
}

.header h1 {
    color: #004080;
    font-size: 1.8rem;
}

/* Sección Hero (Foto y Reseña) */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: #004080; /* Color del partido */
    color: white;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: right;
    padding-right: 30px;
}

.candidate-photo {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

.hero-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: normal;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Obras y Propuestas (Títulos) */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #004080;
    margin: 50px 0 30px 0;
}

/* Sección de Obras */
.works-section {
    padding: 0 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-card {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.work-info {
    flex: 1;
    padding: 40px;
    min-width: 300px;
}

.work-info h3 {
    color: #004080;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.work-info p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.work-image {
    flex: 1;
    min-width: 300px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sección de Propuestas */
.proposals-section {
    padding: 0 50px 60px 50px;
    background-color: #f1f5f9;
}

.proposals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.proposal-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.proposal-card:hover {
    transform: translateY(-10px);
}

.proposal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.proposal-card h3 {
    color: #004080;
    margin: 20px 0 10px 0;
}

.proposal-card p {
    padding: 0 20px 25px 20px;
    line-height: 1.5;
}

/* Pie de página (Footer) */
.footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 50px 20px 20px 20px;
}

.footer h2 {
    color: #ffcc00;
    margin-bottom: 20px;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 30px;
}

.contact-info p {
    margin: 5px 0;
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .hero-image {
        padding-right: 0;
        text-align: center;
        margin-bottom: 30px;
    }
    .hero-text {
        text-align: center;
    }
    .header h1 {
        font-size: 1.2rem;
    }
    .work-card {
        flex-direction: column-reverse;
    }
}