/* css/styles.css */
/* ESTILOS BÁSICOS Y FUNCIONALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* BANNER SUPERIOR - CINTILLO */
.header-banner {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.header-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 2px solid #1e3c72;
}

/* BANNER UNIVERSIDAD */
.university-banner {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.university-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 3px solid #1e3c72;
}

/* TÍTULO DEL DIPLOMADO */
.diploma-title {
    text-align: center;
    color: white;
    margin: 0 auto 40px auto;
    padding: 20px;
    background: #1e3c72;
    border-radius: 10px;
    max-width: 1000px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.diploma-title h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.diploma-title p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* COLUMNAS PRINCIPALES */
.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* COLUMNA IZQUIERDA - MÓDULOS */
.left-column {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* LOGO Y FECHA */
.logo-section {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.logo-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px auto;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.date-time {
    background: #2c3e50;
    color: white;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
}

.date-time #currentDateTime {
    font-weight: bold;
    font-size: 1.1em;
}

.module-list {
    margin-top: 20px;
}

.module-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.module-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* COLUMNA DERECHA - INSCRIPCIÓN */
.right-column {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.inscription-buttons {
    margin-top: 20px;
}

.inscription-btn {
    display: block;
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.inscription-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.individual-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.individual-btn:hover {
    background: linear-gradient(135deg, #219653, #27ae60);
}

.group-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.group-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
}

/* IMAGEN DEL PRESIDENTE */
.president-image {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.president-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.president-image p {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/* FOOTER */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #1e3c72, #2c3e50);
    color: white;
    border-radius: 10px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ADMIN BUTTON */
.admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    z-index: 999;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.admin-btn:hover {
    background-color: #3498db;
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .diploma-title h1 {
        font-size: 1.5em;
    }
    
    .diploma-title p {
        font-size: 1em;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-placeholder {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .left-column, .right-column {
        padding: 20px;
    }
    
    .inscription-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .admin-btn {
        bottom: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 14px;
    }
}