/* --- CONFIGURACIÓN GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #556f4d; /* Tono verde oliva de la imagen */
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 4rem;
}

/* --- MENÚ SUPERIOR CENTRADO --- */
.navbar-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 4rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* --- CUERPO PRINCIPAL --- */
.main-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    flex-grow: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- TARJETA DE IMAGEN (IZQUIERDA) --- */
.card-image-container {
    background-color: #e2e7df; /* Fondo grisáceo claro del marco */
    padding: 12px;
    border-radius: 25px; /* Bordes muy redondeados */
    width: 40%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.image-header {
    color: #556f4d;
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: bold;
    margin-left: 8px;
    margin-bottom: 8px;
}

.content-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px; /* Redondeado interno de la foto */
    object-fit: cover;
}

/* --- TARJETA DE TEXTO (DERECHA) --- */
.info-card {
    background-color: #ffffff; /* Fondo blanco */
    color: #1e351d; /* Texto oscuro contrastante */
    padding: 2.5rem;
    border-radius: 30px;
    width: 55%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Barra interna de título/buscador */
.search-bar-mock {
    background-color: #cddcb9; /* Fondo verde claro seco */
    border: 2px solid #556f4d;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1a3c22;
    letter-spacing: 0.5px;
}

.search-icon {
    width: 20px;
    height: 20px;
    stroke: #556f4d;
}

/* Bloque de texto */
.description-text {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify; /* Alineación justificada como en la imagen */
    font-weight: 500;
}

/* --- DISEÑO RESPONSIVO --- */
@media (max-width: 968px) {
    body {
        padding: 1.5rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }
    
    .navbar-center {
        margin-bottom: 2.5rem;
    }

    .main-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .card-image-container, 
    .info-card {
        width: 100%;
        max-width: 550px;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}