:root {
    --color-primary-red: #d32f2f;
    --color-primary-red-hover: #b71c1c;
    --color-dark-black: #111111;
    --color-pure-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark-black);
    background-color: var(--color-pure-white);
    overflow-x: hidden;
}

h1, h2, h3, .brand-title {
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-text {
    color: var(--color-primary-red);
}

/* Navbar Styles */
.navbar {
    background-color: rgba(17, 17, 17, 0.95) !important;
    border-bottom: 3px solid var(--color-primary-red);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    color: var(--color-pure-white) !important;
    letter-spacing: 2px;
}

.navbar-brand span {
    color: var(--color-primary-red);
}

.nav-link {
    color: var(--color-pure-white) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary-red) !important;
}

/* Hero Carousel Section */
.hero-carousel-section {
    position: relative;
}

.hero-carousel-section .carousel {
    min-height: 100vh;
}

.hero-carousel-section .carousel-inner {
    min-height: 100vh;
}

.hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.92) 30%, rgba(211, 47, 47, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-content .hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 5px solid var(--color-primary-red);
    padding-left: 15px;
    color: var(--color-pure-white);
}

@media (max-width: 768px) {
    .hero-content .hero-title {
        font-size: 2rem;
    }
}

.hero-content .hero-lead {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-carousel-section .carousel-indicators {
    z-index: 3;
}

.hero-carousel-section .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-pure-white);
    background-color: transparent;
    opacity: 0.7;
}

.hero-carousel-section .carousel-indicators button.active {
    background-color: var(--color-primary-red);
    border-color: var(--color-primary-red);
    opacity: 1;
}

.hero-carousel-section .carousel-control-prev,
.hero-carousel-section .carousel-control-next {
    z-index: 3;
    width: 5%;
}

/* Legacy hero support */
.hero-section {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 40%, rgba(211, 47, 47, 0.85) 100%);
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-pure-white);
    padding-top: 100px;
    padding-bottom: 60px;
}

.btn-custom-red {
    background-color: var(--color-primary-red);
    color: var(--color-pure-white);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 0;
    border: 2px solid var(--color-primary-red);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-custom-red:hover {
    background-color: transparent;
    color: var(--color-primary-red);
    border-color: var(--color-primary-red);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--color-pure-white);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 0;
    border: 2px solid var(--color-pure-white);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-custom-outline:hover {
    background-color: var(--color-pure-white);
    color: var(--color-dark-black);
}

/* Profile/About Section */
.biography-section {
    padding: 100px 0;
    background-color: var(--color-pure-white);
}

.bio-image-container {
    position: relative;
    border-bottom: 10px solid var(--color-primary-red);
    border-right: 10px solid var(--color-primary-red);
    padding: 0 15px 15px 0;
}

.bio-image-container img {
    width: 100%;
    height: auto;
    filter: grayscale(20%);
    box-shadow: 10px 10px 0px rgba(17, 17, 17, 0.1);
}

.section-tagline {
    color: var(--color-primary-red);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--color-primary-red);
    bottom: 0;
    left: 0;
}

.timeline-badge {
    background-color: var(--color-dark-black);
    color: var(--color-pure-white);
    padding: 5px 15px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

/* Pillars / Propuestas Section */
.proposals-section {
    padding: 100px 0;
    background-color: var(--color-light-gray);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.proposal-card {
    background-color: var(--color-pure-white);
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--color-dark-black);
}

.proposal-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--color-primary-red);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.15);
}

.proposal-icon {
    font-size: 2.5rem;
    color: var(--color-primary-red);
    margin-bottom: 20px;
}

.proposal-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.proposal-card .badge {
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 6px 14px;
}

/* Alianza / Peru Primero */
.alliance-section {
    background-color: var(--color-dark-black);
    color: var(--color-pure-white);
    padding: 80px 0;
    border-top: 4px solid var(--color-primary-red);
}

/* Form/Lead Capture Section */
.join-section {
    padding: 100px 0;
    background: linear-gradient(rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.9)), 
                url('../img/join-bg.webp') no-repeat center center;
    background-size: cover;
    color: var(--color-pure-white);
}

.form-control, .form-select {
    border-radius: 0;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-pure-white) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary-red);
    box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
}

.form-select option {
    background-color: var(--color-dark-black);
    color: var(--color-pure-white);
}

/* Footer */
footer {
    background-color: #0c0c0c;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.social-links a {
    color: var(--color-pure-white);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary-red);
}

/* Toast / Alert Style */
.custom-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    background-color: var(--color-dark-black);
    color: var(--color-pure-white);
    border-left: 5px solid var(--color-primary-red);
    padding: 15px 25px;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
