/* ============================================
   PERSONAL.CSS - Optimizado para info-personal.html
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #F8F5F2;
    --bg-sage: #E1E8E1;
    --text-primary: #1B3022;
    --gold-matte: #C5A059;
    --accent-hover: #D4B06A;
    --text-muted: rgba(27, 48, 34, 0.7);
    --card-bg: rgba(255, 255, 255, 0.7);
    --border-light: rgba(27, 48, 34, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: rgba(248, 245, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-matte);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#quick-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

#quick-contact a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

#quick-contact a i {
    color: var(--gold-matte);
}

#quick-contact a:hover {
    color: var(--gold-matte);
    transform: translateY(-1px);
}

.badge {
    background: rgba(197, 160, 89, 0.15);
    color: var(--gold-matte);
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--gold-matte);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--gold-matte);
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--gold-matte);
    padding: 8px 20px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-back:hover {
    background: var(--gold-matte);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-cv-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-matte);
    color: var(--bg-primary);
    text-decoration: none;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-cv-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ============================================
   INFO CONTAINER
   ============================================ */
.info-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 30px;
    flex: 1;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--gold-matte);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(27, 48, 34, 0.05);
}

/* ============================================
   INFO HEADER
   ============================================ */
.info-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.info-avatar {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 1px solid var(--gold-matte);
    background: var(--bg-sage);
}

.info-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.info-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-title p i {
    color: var(--gold-matte);
    margin-right: 5px;
}

.info-divider {
    height: 1px;
    background: var(--gold-matte);
    margin-bottom: 35px;
    opacity: 0.6;
}

/* ============================================
   SECTIONS
   ============================================ */
.info-section {
    margin-bottom: 40px;
}

.info-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section h3 i {
    color: var(--gold-matte);
    font-size: 1.2rem;
}

.info-description {
    background: rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-left: 4px solid var(--gold-matte);
    font-size: 0.95rem;
}

.info-description p {
    margin-bottom: 12px;
}

.info-description p:last-child {
    margin-bottom: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-item {
    background: rgba(255, 255, 255, 0.4);
    padding: 20px;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--gold-matte);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item:hover {
    transform: translateY(-2px);
    border-color: var(--gold-matte);
    background: rgba(255, 255, 255, 0.8);
}

.info-item strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   SKILLS TAGS
   ============================================ */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(197, 160, 89, 0.12);
    color: var(--text-primary);
    border: 1px solid var(--gold-matte);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--gold-matte);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* ============================================
   BUTTONS
   ============================================ */
.info-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.info-buttons a {
    flex: 1;
    min-width: 200px;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 15px 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-download {
    background: var(--gold-matte);
    color: var(--bg-primary);
    border: 1.5px solid var(--gold-matte);
}

.btn-download:hover {
    background: transparent;
    color: var(--gold-matte);
    transform: translateY(-2px);
}

.btn-contact {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
}

.btn-contact:hover {
    background: var(--text-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
}

.social-links p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    color: var(--text-primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--gold-matte);
    transform: scale(1.15);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--text-primary);
    padding: 35px 30px;
    text-align: center;
    border-top: 3px solid var(--gold-matte);
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.6;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .top-bar-content {
        padding: 0 20px;
        flex-direction: column;
    }
    
    #quick-contact {
        gap: 1.2rem;
        justify-content: center;
    }
    
    .btn-back {
        margin-left: 0;
    }
    
    .info-container {
        padding: 0 20px;
        margin: 30px auto;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .info-title h2 {
        font-size: 1.8rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-buttons {
        flex-direction: column;
    }
    
    .info-buttons a {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .info-title h2 {
        font-size: 1.5rem;
    }
    
    .info-avatar {
        width: 120px;
        height: 120px;
    }
    
    .info-section h3 {
        font-size: 1.2rem;
    }
}
