/* css/style.css */

/* Variables de color personalizadas */
:root {
    --primary-dark: #4e151e;
    --primary-light: #d29b7d;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --light-bg: #f9f7f5;
    --light-gray: #e8e6e3;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Tipografía personalizada */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    padding-top: 80px; /* Para compensar la barra de navegación fija */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Barra de navegación */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.logo-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.site-title {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin: 0 8px;
    transition: color 0.3s;
}

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

.btn-social {
    background-color: var(--primary-dark);
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 10px;
}

.btn-social:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark) !important;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 155, 125, 0.1), rgba(78, 21, 30, 0.05));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-cta .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 15px;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.btn-outline {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

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

.rounded-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sección de introducción */
.intro-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Secciones temáticas */
.content-section {
    padding: 5rem 0;
}

.content-section:nth-child(odd) {
    background-color: white;
}

.content-section:nth-child(even) {
    background-color: var(--light-bg);
}

.section-content {
    padding: 2rem;
}

.section-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-light);
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.topics-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.topics-list {
    list-style-type: none;
    padding-left: 0;
}

.topics-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.topics-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

.section-image {
    position: relative;
    overflow: hidden;
}

.section-image img {
    transition: transform 0.5s ease;
}

.section-image:hover img {
    transform: scale(1.03);
}

/* Ajustes específicos para cada sección */
.section-politica .section-icon {
    color: #3498db;
}

.section-economia .section-icon {
    color: #2ecc71;
}

.section-cultura .section-icon {
    color: #9b59b6;
}

.section-deporte .section-icon {
    color: #e74c3c;
}

.section-medioambiente .section-icon {
    color: #1abc9c;
}

/* Sección de cierre */
.closing-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.closing-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.closing-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-option:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    color: var(--primary-light);
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-option:hover .contact-icon {
    color: var(--primary-dark);
    background-color: white;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-text p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.contact-option:hover .contact-text p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: var(--primary-dark);
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    background: white;
}

.footer-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-copyright, .footer-disclaimer {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-options {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-section::before {
        width: 100%;
        height: 40%;
        top: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .section-content, .section-image {
        margin-bottom: 2rem;
    }
    
    .contact-option {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}