/*
Theme Name: Cuida Tu Voto Colombia
Theme URI: https://cuidatuvotocolombia.com
Author: SICEE Colombia
Author URI: https://cuidatuvotocolombia.com
Description: Landing page para la iniciativa ciudadana "Cuida Tu Voto Colombia" - Transparencia electoral y participación democrática.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cuidatuvoto
Tags: one-page, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CUSTOM FONTS
   ============================================ */
@font-face {
    font-family: 'Nimble Black';
    src: url('./assets/fonts/NimbleBlack.woff2') format('woff2'),
         url('./assets/fonts/NimbleBlack.woff') format('woff'),
         url('./assets/fonts/NimbleBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales - Bandera colombiana */
    --color-blue-dark: #213768;      /* Twilight Indigo */
    --color-blue-primary: #032ea2;   /* International Klein Blue */
    --color-red: #cf1721;            /* Flag Red */
    --color-yellow: #fed116;         /* Bright Amber */
    
    /* Neutros */
    --color-cream: #ffffee;
    --color-cream-dark: #e4e3d1;
    --color-light-gray: #f3f3f3;
    --color-gray: #5f5f5f;
    --color-white: #ffffff;
    
    /* Tipografía */
    --font-heading: 'Nimble Black', 'Raleway', sans-serif;
    --font-body: 'Raleway', sans-serif;
    
    /* Espaciado */
    --section-padding: 80px 0;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-blue-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    text-transform: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   HEADER TOP BAR (Bandera decorativa)
   ============================================ */
.header-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    height: 4px;
}

.header-top-bar .bar-yellow {
    flex: 2;
    background-color: var(--color-yellow);
}

.header-top-bar .bar-blue {
    flex: 1;
    background-color: var(--color-blue-primary);
}

.header-top-bar .bar-red {
    flex: 1;
    background-color: var(--color-red);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85); /*linear-gradient(180deg, rgba(33, 55, 104, 0.98) 0%, rgba(33, 55, 104, 0.95) 100%); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
    background: rgba(33, 55, 104, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 0.85;
}

.site-logo .logo-img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-header.scrolled .site-logo .logo-img {
    height: 84px;
}

.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav a {
    color: rgba(128, 122, 122, 0.85);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: rgba(10, 10, 10, 0.85);
    background-color: rgba(255, 255, 255, 0.1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-yellow), var(--color-red));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 70%;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-actions .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.header-actions .btn-outline {
    border-width: 1.5px;
    border-color: rgba(255, 255, 255, 0.5);
}

.header-actions .btn-outline:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-yellow {
    background-color: var(--color-yellow);
    color: var(--color-blue-dark);
}

.btn-yellow:hover {
    background-color: #e5bc14;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 209, 22, 0.4);
}

.btn-red {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-red:hover {
    background-color: #b81420;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 23, 33, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-light-gray);
    border: 2px solid var(--color-light-gray);
}

.btn-outline:hover {
    background-color: var(--color-gray);
    color: var(--color-gray);
}

.btn-blue {
    background-color: var(--color-blue-primary);
    color: var(--color-white);
}

.btn-blue:hover {
    background-color: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 45, 161, 0.4);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background-color: var(--color-blue-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(3, 45, 161, 0.3) 100%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content h1 .text-yellow {
    color: var(--color-yellow);
}

.hero-content h1 .text-red {
    color: var(--color-red);
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
}

.hero-reports {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.hero-reports .btn {
    font-size: 0.85rem;
    padding: 10px 20px;
}

/* ============================================
   WHY SECTION - ¿Por qué proteger tu voto?
   ============================================ */
.why-section {
    padding: var(--section-padding);
    background-color: var(--color-cream);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--color-blue-dark);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(33, 55, 104, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(33, 55, 104, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-icon.blue {
    background-color: rgba(3, 45, 161, 0.1);
    color: var(--color-blue-primary);
}

.feature-icon.red {
    background-color: rgba(207, 23, 33, 0.1);
    color: var(--color-red);
}

.feature-icon.yellow {
    background-color: rgba(254, 209, 22, 0.15);
    color: #c4a000;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--color-blue-dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.7;
}

.feature-card .feature-highlight {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-blue-dark);
    font-size: 0.9rem;
}

/* ============================================
   CTA SECTION - ¿Listo para defender tu voto?
   ============================================ */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-red) 0%, #a01018 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(25deg);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.6rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ALLIES SECTION - Voces que impulsan
   ============================================ */
.allies-section {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.allies-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.allies-text h2 {
    font-size: 2.5rem;
    color: var(--color-blue-dark);
    margin-bottom: 25px;
}

.allies-text p {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.allies-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(33, 55, 104, 0.15);
}

/* ============================================
   RESOURCES SECTION - Centro de Información
   ============================================ */
.resources-section {
    padding: var(--section-padding);
    background-color: var(--color-light-gray);
}

.resources-intro {
    text-align: center;
    margin-bottom: 50px;
}

.resources-intro h2 {
    font-size: 2.5rem;
    color: var(--color-blue-dark);
    margin-bottom: 20px;
}

.resources-intro p {
    font-size: 1.05rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.resource-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 55, 104, 0.1);
    border-color: var(--color-yellow);
}

.resource-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.resource-card h3 {
    font-size: 1.05rem;
    color: var(--color-blue-dark);
    margin-bottom: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-card .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-yellow);
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-yellow);
    font-family: var(--font-heading);
    font-weight: 900;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--color-yellow);
}

.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-yellow);
    font-family: var(--font-heading);
    font-weight: 900;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--color-yellow);
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--color-yellow);
    color: var(--color-blue-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .allies-content {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    .main-nav,
    .header-actions .btn-outline {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile menu */
    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(33, 55, 104, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav.active ul {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .main-nav.active a {
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .main-nav.active a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .site-logo .logo-img {
        height: 80px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-header h2,
    .cta-section h2,
    .allies-text h2,
    .resources-intro h2 {
        font-size: 2rem;
    }

    .features-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .hero-reports {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
