/* ===================================
   About Section - Rounded Corners Fix
   Redondea las esquinas de la sección About
   =================================== */

/* ===== ABOUT SECTION - ESQUINAS REDONDEADAS ===== */

/* Sección principal About */
#about,
.unified-about-section,
.about-section {
    border-radius: 20px !important;
    overflow: hidden !important; /* Para que el contenido respete los bordes redondeados */
    margin: 20px !important; /* Espacio alrededor para que se vean los bordes */
}

/* Contenedor del contenido About */
.about-content {
    border-radius: 16px !important;
    padding: 30px !important;
}

/* Cards dentro de About */
.about-card,
.skill-card,
.about-item {
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Hover effect para cards */
.about-card:hover,
.skill-card:hover,
.about-item:hover {
    border-radius: 16px !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2) !important;
}

/* Imágenes dentro de About */
.about-image,
.profile-image,
.about-section img {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Imagen de perfil circular */
.profile-pic,
.avatar {
    border-radius: 50% !important;
}

/* Stats boxes */
.stat-item,
.stat-box {
    border-radius: 10px !important;
    background: rgba(139, 92, 246, 0.05) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
}

.stat-item:hover,
.stat-box:hover {
    border-radius: 12px !important;
    background: rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

/* Skills section dentro de About */
.skills-container,
.skills-grid {
    gap: 20px !important;
}

.skill-item,
.tech-item {
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.skill-item:hover,
.tech-item:hover {
    border-radius: 10px !important;
    background: rgba(139, 92, 246, 0.1) !important;
    border-color: var(--accent) !important;
    transform: translateX(5px) !important;
}

/* Progress bars */
.skill-progress,
.progress-bar {
    border-radius: 10px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.skill-progress-fill,
.progress-fill {
    border-radius: 10px !important;
    background: linear-gradient(90deg, var(--accent), #a78bfa) !important;
}

/* Bio/Description boxes */
.bio-section,
.about-description,
.about-text {
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 20px !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
}

/* ===== TECHNICAL SKILLS - ESQUINAS REDONDEADAS ===== */

.technical-skills {
    border-radius: 16px !important;
    padding: 30px !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.skills-logos {
    gap: 30px !important;
}

.skill-logo {
    border-radius: 12px !important;
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.skill-logo:hover {
    border-radius: 14px !important;
    background: rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    transform: translateY(-5px) scale(1.1) !important;
}

.skill-logo img {
    border-radius: 8px !important;
}

/* ===== VALORES Y MISIÓN - ESQUINAS REDONDEADAS ===== */

.values-section,
.mission-section {
    border-radius: 16px !important;
    background: rgba(139, 92, 246, 0.03) !important;
    padding: 25px !important;
    margin: 20px 0 !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
}

.value-item,
.mission-item {
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    padding: 15px !important;
    margin: 10px 0 !important;
    border-left: 3px solid var(--accent) !important;
    transition: all 0.3s ease !important;
}

.value-item:hover,
.mission-item:hover {
    border-radius: 12px !important;
    background: rgba(139, 92, 246, 0.1) !important;
    transform: translateX(10px) !important;
    border-left-width: 5px !important;
}

/* ===== RESPONSIVE - MOBILE ===== */

@media (max-width: 768px) {
    /* Reducir border radius en móvil para mejor uso del espacio */
    #about,
    .unified-about-section,
    .about-section {
        border-radius: 12px !important;
        margin: 10px !important;
    }

    .about-content {
        border-radius: 10px !important;
        padding: 20px !important;
    }

    .about-card,
    .skill-card,
    .about-item {
        border-radius: 8px !important;
    }

    .skill-item,
    .tech-item {
        border-radius: 6px !important;
        padding: 10px 15px !important;
    }

    .technical-skills {
        border-radius: 10px !important;
        padding: 20px !important;
    }

    .skill-logo {
        border-radius: 8px !important;
        padding: 10px !important;
    }
}

/* ===== TABLET - AJUSTES ===== */

@media (min-width: 769px) and (max-width: 1024px) {
    #about,
    .unified-about-section,
    .about-section {
        border-radius: 16px !important;
        margin: 15px !important;
    }

    .about-content {
        border-radius: 12px !important;
    }
}

/* ===== ANIMACIÓN DE ENTRADA ===== */

@keyframes fadeInRounded {
    from {
        opacity: 0;
        border-radius: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        border-radius: 20px;
        transform: scale(1);
    }
}

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

/* ===== EFECTOS ESPECIALES ===== */

/* Glow effect para elementos importantes */
.about-highlight,
.featured-skill {
    border-radius: 10px !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3) !important;
    border: 1px solid var(--accent) !important;
}

/* Soft shadow para profundidad */
.about-content {
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(139, 92, 246, 0.05) !important;
}

/* ===== LIGHT THEME ADJUSTMENTS ===== */

[data-theme="light"] .about-content {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="light"] .skill-item,
[data-theme="light"] .tech-item {
    background: rgba(139, 92, 246, 0.05) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="light"] .bio-section,
[data-theme="light"] .about-description {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

/* ===== SMOOTH CORNERS EVERYWHERE ===== */

/* Asegurar que todos los elementos hijos también tengan esquinas redondeadas */
.about-section * {
    border-radius: inherit;
}

/* Botones dentro de About */
.about-section button,
.about-section .btn,
.about-section a.btn {
    border-radius: 8px !important;
}

.about-section button:hover,
.about-section .btn:hover {
    border-radius: 10px !important;
}

/* Badges y tags */
.about-section .badge,
.about-section .tag {
    border-radius: 6px !important;
}