/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background 0.3s ease;
}

/* Modo escuro */
body.dark-mode {
    background: linear-gradient(135deg, #2b5876, #4e4376);
    color: #f0f0f0;
}

.container {
    max-width: 600px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .container {
    background-color: rgba(30, 30, 30, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Perfil */
.profile {
    margin-bottom: 30px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.profile h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #444;
    transition: color 0.3s ease;
}

.profile p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.dark-mode .profile h1 {
    color: #f0f0f0;
}

body.dark-mode .profile p {
    color: #ccc;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 1;
}

body.dark-mode .link-card {
    background-color: #2a2a2a;
    color: #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
}

body.dark-mode .link-card:hover {
    background-color: #3a3a3a;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
}

.link-card i {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.link-card span {
    font-size: 16px;
}

/* Ícones específicos */
.fa-linkedin {
    color: #0077b5;
}

.fa-envelope {
    color: #d44638;
}

.fa-instagram {
    color: #e1306c;
}

.fa-github {
    color: #333;
}

.fa-globe {
    color: #4285f4;
}

/* Footer */
footer {
    margin-top: 20px;
    color: #777;
    font-size: 14px;
    transition: color 0.3s ease;
}

body.dark-mode footer {
    color: #aaa;
}

/* Botão de alternar tema */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle .fa-sun {
    display: none;
    color: #ff9800;
}

.theme-toggle .fa-moon {
    display: block;
    color: #5e35b1;
}

body.dark-mode .theme-toggle {
    background-color: #333;
}

body.dark-mode .theme-toggle .fa-sun {
    display: block;
}

body.dark-mode .theme-toggle .fa-moon {
    display: none;
}

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .profile h1 {
        font-size: 24px;
    }
    
    .link-card {
        padding: 12px 15px;
    }
    
    .link-card i {
        font-size: 20px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
}