/* ===== ESTILOS GLOBALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 20px #0000001a;
}

/* ===== SECCIÓN HEADER ===== */
.header-section {
    background: #1f6b6b;
    color: #000000;
    padding: 40px 20px;
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #30b3b3;
    box-shadow: 0 8px 32px #00000033;
    margin: 0 auto;
    display: block;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px #0000004d;
}

.profile-name {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.professional-title {
    font-size: 1.8em;
    font-weight: 500;
    opacity: 0.9;
    color: #b8fcfc;
}
.highlight-section {
    background: #278888;
    color: rgb(126, 23, 23);
    padding: 5px 5px;
}

/* ===== SECCIÓN CONTACTO ===== */
.contact-section {
    background: #e5e9e8;
    color: black;
    padding: 30px 20px;
}

.section-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 3px #0000004d;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 12px;
}

.contact-item:hover {
    background: #f1e2ff;
    transform: translateY(-2px);
}

.icon-container {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background: #230747;
    border-radius: 50%;
    box-shadow: 0 4px 12px #764ba24d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px #360269;
}

.icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.contact-title {
    font-size: 0.9em;
    font-weight: 600;
    color: #808080;
    letter-spacing: 0.5px;
}

.contact-info {
    font-size: 1.1em;
    color: #666;
    line-height: 1.4;
    font-weight: bold;
}

.contact-link {
    color: #0b4438;
    text-decoration: none;
    border-bottom: 1px dotted #ffffff80;
}

.contact-link:hover {
    border-bottom: 1px solid white;
}

/* ===== SECCIÓN REDES SOCIALES ===== */
.social-section {
   background: #1f6b6b;
    padding: 30px 20px;
}

.social-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.social-item-linkedin {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #0072b1;
    border-radius: 12px;
    cursor: pointer;
    min-width: 120px;
}

.social-item-github {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    min-width: 120px;
}

.social-item-whatsapp {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #25d366;
    border-radius: 12px;
    cursor: pointer;
    min-width: 120px;
}

.social-item:hover {
    transform: translateY(-5px);
    background: #000000;
    box-shadow: 0 6px 20px #36b8b8;
}

.social-item:hover img {
    filter: brightness(0) invert(1);
}

.social-item-linkedin:hover {
    transform: translateY(-5px);
    background: #0299eb;
    box-shadow: 0 6px 20px #36b8b8;
}

.social-item-whatsapp:hover {
    transform: translateY(-5px);
    background: #2af775;
    box-shadow: 0 6px 20px #36b8b8;
}

.social-item:hover .social-label,
.social-item:hover .social-label-white {
    color: white;
}
.social-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.social-icon-white {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.social-label {
    font-weight: 500;
    font-size: 1em;
}

.social-label-white {
    font-weight: 500;
    font-size: 1em;
    color: white;
}

/* ===== SECCIÓN AGREGAR CONTACTO ===== */
.add-contact-section {
    background: #e5e9e8;
    padding: 30px 20px;
    text-align: center;
}

.add-contact-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: #230747;
    box-shadow: 0 4px 12px #764ba24d;
    border-radius: 12px;
    cursor: pointer;
    min-width: 150px;
    transition: all 0.3s ease;
}

.add-contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px #360269;
}

.add-contact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.add-contact-label {
    font-weight: 500;
    font-size: 1em;
    color: white;
}

/* ===== SECCIÓN FOOTER ===== */
.footer-section {
    background: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.license-text {
    font-size: 0.9em;
    margin-bottom: 10px;
    color: #ccc;
}

.created-text {
    font-size: 0.8em;
    color: #999;
    font-style: italic;
}

/* ===== DISEÑO RESPONSIVO ===== */
@media (max-width: 600px) {
    .profile-name {
        font-size: 2em;
    }
    
    .professional-title {
        font-size: 1.1em;
    }
    
    .social-items {
        flex-direction: column;
        align-items: center;
    }
    
    .social-item {
        width: 100%;
        max-width: 200px;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
}