/* Importación de fuentes y resets básicos */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@400;700&display=swap');

:root {
    --primary-color: #004d00; /* Verde bosque (Institucional) */
    --secondary-color: #4CAF50; /* Verde semáforo (Acento) */
    --accent-color: #FFC107; /* Dorado/Ámbar (Resalte) */
    --background-light: #f8f9fa; /* Fondo claro general */
    --text-dark: #333;
    --text-light: #fff;
    --section-background: #ffffff; /* Blanco puro para secciones */
    --footer-background: #003300; /* Verde muy oscuro para footer */
    --footer-text: #c8c8c8; /* Gris claro para texto del footer */
    --border-color: #dee2e6;
}

/* Resets y Box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--section-background);
    padding: 0.8rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* SECCIÓN HERO (BANNER) */
.hero {
    background: url('../images/about-cupej.jpg') no-repeat center center/cover;
    color: var(--text-light);
    height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-style: italic;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    padding: 0;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--section-background);
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-content {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 400px;
}

.features {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-item .fa-solid, .feature-item .fas {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--background-light);
    text-align: center;
}

.swiper {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
}

.swiper-slide {
    background: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: auto;
}

.testimonial-content blockquote p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.testimonials-section .swiper-pagination-bullet-active {
    background-color: var(--accent-color) !important;
}

.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
    color: var(--primary-color);
}

/* SECCIÓN DEL FOOTER */
footer {
    background-color: var(--footer-background);
    color: var(--footer-text);
    padding: 2.5rem 0 1.5rem 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
}

.footer-column ul li i {
    margin-right: 10px;
    color: var(--accent-color);
    margin-top: 4px;
}

.footer-column a {
    color: var(--footer-text);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-block;
    font-size: 1.4rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--section-background);
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
    }
    
    header.active nav {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        padding: 15px 10px;
        display: block;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 70vh;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-column {
        width: 100%;
        max-width: 350px;
    }

    .footer-column ul li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}