/* metas.css - Estilos específicos para la sección Mis Metas y Sueños */

/* Variables de colores específicas */
:root {
    --color-meta: #6c5ce7;
    --color-meta-light: #f0eeff;
    --color-meta-dark: #5b4fd8;
    --gradient-meta: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-meta-light: linear-gradient(135deg, #f0eeff 0%, #e6e4ff 100%);
    --page-bg-meta: #f8f7ff;
    --color-academica: #00b894;
    --color-profesional: #0984e3;
    --color-suenos: #fd79a8;
    --color-familia: #e17055;
}

/* RESET Y ESTILOS BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f8f7ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Contenedor principal */
.metas-container {
    padding: 0;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f7ff;
    min-height: 100vh;
    width: 100%;
}

/* =========================================== */
/* HERO SECTION */
/* =========================================== */
.metas-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(108, 92, 231, 0.9), rgba(162, 155, 254, 0.9)),
                url('https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-item i {
    font-size: 20px;
}

/* =========================================== */
/* SECTION HEADER COMÚN */
/* =========================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
    width: 100%;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-meta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 36px;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

.section-header h2 {
    font-size: 42px;
    color: var(--color-meta-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================== */
/* SECCIÓN ACADÉMICA */
/* =========================================== */
.section-academica {
    padding: 80px 40px;
    background: white;
    width: 100%;
}

.academica-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.metas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.meta-card {
    background: var(--gradient-meta-light);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid var(--color-academica);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
}

.meta-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-meta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.meta-header h3 {
    font-size: 24px;
    color: var(--color-meta-dark);
    margin: 0;
}

.meta-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: justify;
}

.timeline-academica {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gradient-meta-light);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--gradient-meta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.timeline-content h4 {
    color: var(--color-meta-dark);
    margin-bottom: 5px;
    font-size: 18px;
}

.timeline-content p {
    color: var(--color-meta);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.timeline-content span {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================== */
/* SECCIÓN PROFESIONAL */
/* =========================================== */
.section-profesional {
    padding: 80px 40px;
    background: var(--page-bg-meta);
    width: 100%;
}

.profesional-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.profesional-card,
.impacto-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--gradient-meta-light);
}

.card-header h3 {
    font-size: 24px;
    color: var(--color-meta-dark);
    margin: 0;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-meta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.objetivos-list {
    margin-bottom: 30px;
}

.objetivo-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    background: var(--gradient-meta-light);
    transition: transform 0.3s ease;
}

.objetivo-item:hover {
    transform: translateY(-5px);
}

.objetivo-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-profesional);
    font-size: 24px;
    flex-shrink: 0;
}

.objetivo-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--color-meta-dark);
}

.objetivo-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    text-align: justify;
}

.next-level {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(162, 155, 254, 0.1) 100%);
    padding: 20px;
    border-radius: 10px;
}

.next-level h4 {
    color: var(--color-meta-dark);
    margin-bottom: 15px;
    font-size: 18px;
}

.level-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.level-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-meta);
    font-size: 14px;
}

.level-item i {
    color: var(--color-meta);
}

.impacto-card {
    text-align: center;
}

.impacto-content {
    padding: 20px 0;
}

.impacto-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-meta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
}

.impacto-content h4 {
    color: var(--color-meta-dark);
    margin-bottom: 15px;
    font-size: 20px;
}

.impacto-content p {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    text-align: justify;
    margin-bottom: 25px;
}

/* IMAGEN PARA IMPACTO SOCIAL */
.impacto-imagen {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impacto-imagen img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================== */
/* SECCIÓN SUEÑOS PERSONALES */
/* =========================================== */
.section-suenos {
    padding: 80px 40px;
    background: white;
    width: 100%;
}

.suenos-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.suenos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sueno-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sueno-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sueno-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.sueno-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
}

.emprendimiento {
    background: linear-gradient(135deg, #00cec9 0%, #00b894 100%);
}

.viajes {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

.familia {
    background: linear-gradient(135deg, #e17055 0%, #d63031 100%);
}

.sueno-header h3 {
    font-size: 18px;
    color: var(--color-meta-dark);
    margin: 0;
    line-height: 1.3;
}

.sueno-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sueno-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

/* IMAGENES PARA SUEÑOS */
.sueno-imagen {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sueno-imagen img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.imagen-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 13px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 5px;
    width: 100%;
}

.imagen-caption p {
    margin: 0;
    text-align: center;
}

.destinos {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.destino {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--gradient-meta-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--color-meta);
}

.valores-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.valores-list {
    list-style: none;
    padding: 0;
}

.valores-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.valores-list li:hover {
    background: var(--gradient-meta-light);
    transform: translateX(5px);
}

.valores-list li i {
    color: var(--color-meta);
    font-size: 24px;
    margin-top: 5px;
    flex-shrink: 0;
}

.valores-list li strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
}

.valores-list li p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

/* =========================================== */
/* SECCIÓN PLAN DE ACCIÓN */
/* =========================================== */
.section-plan {
    padding: 80px 40px;
    background: var(--page-bg-meta);
    width: 100%;
}

.plan-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.fases {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fase-item {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.1);
    transition: transform 0.3s ease;
}

.fase-item:hover {
    transform: translateY(-5px);
}

.fase-numero {
    width: 80px;
    height: 80px;
    background: var(--gradient-meta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    flex-shrink: 0;
}

.fase-content h4 {
    color: var(--color-meta-dark);
    margin-bottom: 15px;
    font-size: 20px;
}

.fase-content ul {
    list-style: none;
    padding: 0;
}

.fase-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
    text-align: justify;
}

.fase-content li i {
    color: var(--color-meta);
    margin-top: 5px;
    flex-shrink: 0;
}

.motivacion-card {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 15px;
    padding: 40px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.motivacion-header {
    margin-bottom: 20px;
}

.motivacion-header i {
    font-size: 48px;
    opacity: 0.5;
}

.motivacion-content p {
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.motivacion-autor {
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
}

/* =========================================== */
/* BOTÓN VOLVER */
/* =========================================== */
.metas-actions {
    text-align: center;
    padding: 40px 0 60px;
    background: var(--page-bg-meta);
    width: 100%;
}

.btn-volver-metas {
    background: var(--gradient-meta);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

.btn-volver-metas:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.4);
    background: linear-gradient(135deg, #5b4fd8 0%, #8a7df5 100%);
}

.btn-volver-metas:active {
    transform: translateY(-1px);
}

.btn-volver-metas i {
    transition: transform 0.3s ease;
}

.btn-volver-metas:hover i {
    transform: translateX(-5px);
}

/* =========================================== */
/* RESPONSIVE DESIGN */
/* =========================================== */
@media (max-width: 1200px) {
    .academica-content,
    .profesional-content,
    .suenos-content,
    .plan-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .suenos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .header-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .suenos-grid {
        grid-template-columns: 1fr;
    }

    .impacto-imagen img,
    .sueno-imagen img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .section-academica,
    .section-profesional,
    .section-suenos,
    .section-plan {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-info {
        gap: 20px;
    }

    .info-item {
        padding: 10px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .meta-card {
        padding: 20px;
    }

    .meta-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .meta-header h3 {
        font-size: 20px;
    }

    .fase-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .fase-numero {
        margin: 0 auto;
    }

    .objetivo-item {
        flex-direction: column;
        text-align: center;
    }

    .objetivo-icon {
        margin: 0 auto 15px;
    }

    .impacto-imagen img,
    .sueno-imagen img {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .metas-hero {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .timeline-marker {
        margin: 0 auto;
    }

    .sueno-imagen img {
        height: 140px;
    }

    .btn-volver-metas {
        width: 100%;
        justify-content: center;
        padding: 12px 30px;
        font-size: 16px;
    }
}
