/* Estilos personalizados para la Landing Page de Fidel */

:root {
    --ppc-green: #008753;
    --ppc-green-dark: #00603b;
    --ppc-red: #d9232a;
    --ppc-light-green: #e6f3ec;
    --text-color: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #fcfdfc;
}

/* Navbar & Header */
.ppc-header {
    background: linear-gradient(135deg, var(--ppc-green) 0%, var(--ppc-green-dark) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ppc-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.candidato-img-container {
    position: relative;
    border-bottom: 8px solid var(--ppc-red);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-color: #e9ecef;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidato-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge Partido */
.party-badge-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.party-badge {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid var(--ppc-red);
    width: 125px;
    height: 95px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.party-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.party-badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.party-badge img {
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.party-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ppc-green-dark);
    margin-top: 6px;
    white-space: nowrap;
    text-align: center;
    display: block;
    width: 100%;
    letter-spacing: 0.3px;
}

/* Botones de acción en Hero (3 columnas a la misma altura) */
.hero-buttons-row {
    max-width: 560px;
}

.btn-hero {
    min-height: 56px;
    padding: 12px 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2) !important;
}

@media (max-width: 576px) {
    .btn-hero {
        min-height: 50px;
        padding: 8px 4px;
        font-size: 0.8rem;
    }
}

/* Ejes y Propuestas */
.eje-titulo {
    background-color: var(--ppc-green-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: inline-block;
}

@media (max-width: 576px) {
    .eje-titulo {
        font-size: 0.95rem;
        padding: 10px 18px;
        display: block;
        text-align: center;
        border-radius: 12px;
    }
}

.propuesta-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background: #ffffff;
    height: 100%;
}

.propuesta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.propuesta-card-header {
    background-color: var(--ppc-light-green);
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom: 2px solid rgba(0, 135, 83, 0.1);
    padding: 20px;
}

.propuesta-icon {
    font-size: 2rem;
    color: var(--ppc-green);
    margin-right: 15px;
}

.propuesta-card-title {
    color: var(--ppc-green-dark);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
}

.propuesta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.propuesta-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.propuesta-list li::before {
    content: "\F272"; /* Bootstrap Icon: bi-check-circle-fill */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--ppc-red);
    font-size: 1rem;
}

/* Sección Carta Vecinos */
.carta-section {
    background-color: #f8faf8;
    border-top: 5px solid var(--ppc-green);
    border-bottom: 5px solid var(--ppc-red);
}

.carta-quote {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ppc-green-dark);
    line-height: 1.4;
}

.carta-text {
    line-height: 1.8;
    color: #4a5568;
    white-space: pre-line;
}

/* QR y Contacto */
.qr-container {
    background: #ffffff;
    border: 3px solid var(--ppc-green);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    display: inline-block;
}

.qr-container img {
    max-width: 150px;
    height: auto;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    font-size: 1.2rem;
    margin: 0 5px;
    transition: transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: scale(1.1);
}

.btn-whatsapp { background-color: #25D366; }
.btn-facebook { background-color: #1877F2; }
.btn-instagram { background-color: #E4405F; }
.btn-linkedin { background-color: #0A66C2; }

/* Botones y Footer */
footer {
    background-color: #111;
    color: #999;
    font-size: 0.9rem;
}

.admin-link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.admin-link:hover {
    color: var(--ppc-green);
}

/* Botón flotante para WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}
