/* 
 * Carreras.css - Estilos específicos y responsivos para las páginas de carreras
 * Consolidado desde los archivos individuales de carreras
 */

/* Hero Section Modernizada */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-position: center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

.hero-content span {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    display: block;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* Info Carrera Layout */
.info-carrera {
    padding-top: 80px;
    padding-bottom: 80px;
}

.info-carrera h2 {
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.descripcion-carreras {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 3rem;
}

/* Datos Importantes Grid */
.datos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.dato-item {
    border-radius: 24px;
    width: 100%;
    max-width: 250px;
    height: 120px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: default;
}

.dato-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dato-item span:first-child {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.dato-item span:last-child {
    font-size: 1.4rem;
    font-weight: 800;
}

.dato-celeste { background: linear-gradient(135deg, #9b1a2f, #6d1520); }
.dato-primary { background: linear-gradient(135deg, var(--primary-color), #7a1425); }

/* Misión y Visión Modernos (Glassmorphism) */
.mision-vision-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.mv-card {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 169, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-left: 6px solid transparent;
}

.mv-card:hover {
    transform: translateY(-5px);
    background: white;
    border-left-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(0, 169, 255, 0.1);
}

.mv-card h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.mv-card p {
    line-height: 1.8;
    color: #4b5563;
    font-size: 1.05rem;
}

/* Acordeones Personalizados */
.accordion-custom .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 15px;
}

.accordion-custom .accordion-button {
    border-radius: 15px !important;
    background: #f8fafc;
    color: var(--text-color);
    font-weight: 700;
    padding: 1.2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: rgba(0, 169, 255, 0.08);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 169, 255, 0.1);
}

.accordion-custom .accordion-button:after {
    background-size: 1rem;
}

.accordion-custom .accordion-body {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    margin-top: 10px;
    color: #374151;
    line-height: 1.7;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

/* Galería de Imágenes Mejorada */
.carrera-gallery {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 60px 0;
}

.gallery-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 20px;
    transition: all 0.4s ease;
}

.gallery-card-content p {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-card-content {
    background: linear-gradient(to bottom, transparent 20%, rgba(114, 36, 108, 0.85) 100%);
}

.gallery-card:hover .gallery-card-content p {
    transform: translateY(0);
}

/* Sección "¿Por qué estudiar?" */
.porque-estudiar {
    padding: 80px 0;
    background: #fbfcfe;
    border-radius: 40px;
    margin: 60px 0;
}

.porque-estudiar h2 {
    text-align: center;
    margin-bottom: 40px;
}

.porque-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4b5563;
}

/* Sección Pensum Modernizada */
.pensum-section {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.pensum-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.3;
}

.pensum-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    z-index: -1;
}

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

.pensum-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 40px;
    color: white;
}

.pensum-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-custom {
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.btn-custom-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 10px 25px rgba(114, 36, 108, 0.3);
}

.btn-custom-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(114, 36, 108, 0.4);
    background: #72246c;
    color: white;
}

.btn-custom-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(5px);
}

.btn-custom-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsivo para móviles pequeños */
@media (max-width: 576px) {
    .info-carrera {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .mv-card {
        padding: 30px 20px;
    }
    
    .gallery-card {
        height: 350px;
    }
    
    .gallery-card-content p {
        font-size: 1.3rem;
    }
    
    .btn-custom {
        width: 100%;
        padding: 14px 30px;
    }
}
