/* ============== ESTILOS IMPRESIONANTES PARA VENTANA SOBRE MÍ ============== */

/* Contenedor principal con encapsulamiento */
#about-me-window {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Tahoma', sans-serif;
}

/* Barra de menú estilo Windows XP */
#about-me-window .about-me-menu-bar {
    display: flex;
    padding: 4px 8px;
    background: #ECE9D8;
    border-bottom: 1px solid #ACA899;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    flex-shrink: 0;
}

#about-me-window .about-me-menu-bar span {
    margin-right: 15px;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s;
}

#about-me-window .about-me-menu-bar span:hover {
    background: #D4D0C8;
}

#about-me-window .about-me-menu-bar span u {
    text-decoration: underline;
}

/* Ajustar el contenedor principal para que ocupe el resto del espacio */
#about-me-window .about-me-container {
    flex: 1;
    overflow-y: auto;
}

.about-me-container {
    padding: 0;
    font-family: 'Segoe UI', 'Tahoma', sans-serif;
    height: 100%;
    overflow-y: auto;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    position: relative;
}

/* Secciones con diseño de tarjetas flotantes */
.about-sections {
    padding: 40px 20px;
}

.about-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.about-section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about-section:nth-child(even) {
    flex-direction: row-reverse;
}

.about-section:last-child {
    margin-bottom: 0;
}

/* Sin números de sección */

.about-image {
    position: relative;
    flex-shrink: 0;
    padding: 30px;
}

.about-image img {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.about-section:hover .about-image img {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 1;
    padding: 30px;
    color: #2c3e50;
}

.about-text p {
    margin: 0;
    text-align: justify;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    color: #34495e;
}

.about-text strong {
    color: #667eea;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.about-text em {
    color: #764ba2;
    font-style: italic;
    font-weight: 500;
}

/* Animaciones y efectos especiales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about-me-container {
    background: linear-gradient(-45deg, #2193b0, #6dd5ed, #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.about-section {
    animation: fadeInUp 0.6s ease-out;
}

.about-section:nth-child(1) { animation-delay: 0.1s; }
.about-section:nth-child(2) { animation-delay: 0.2s; }
.about-section:nth-child(3) { animation-delay: 0.3s; }
.about-section:nth-child(4) { animation-delay: 0.4s; }
.about-section:nth-child(5) { animation-delay: 0.5s; }
.about-section:nth-child(6) { animation-delay: 0.6s; }

/* Efectos de partículas flotantes */
.about-me-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px, 80px 80px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .about-section, .about-section:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        padding: 20px 30px 10px 30px;
    }
    
    .about-image img {
        width: 120px;
        height: 120px;
    }
    
    .about-text {
        padding: 10px 30px 30px 30px;
        text-align: justify;
    }
    
    .about-sections {
        padding: 30px 15px;
    }
}

/* Scroll bar moderno */
.about-me-container::-webkit-scrollbar {
    width: 8px;
}

.about-me-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.about-me-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-me-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Efecto de brillo en las tarjetas */
.about-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.about-section:hover::after {
    left: 100%;
}