.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.header .photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: drop-shadow(15px 15px 15px var(--black-color));
}

.header .title {
    font-family: var(--secondary-font);
    text-align: center;
    text-shadow: 5px 0 5px var(--black-color);   
    white-space: nowrap;
}

.information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    background: none;
}

.change-theme {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
}

.change-theme img {
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--violet-color);
}

.change-theme img:hover {
    transform: scale(1.1) rotate(180deg);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.information p {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
    width: 100%;
    max-width: 420px;
    padding: 0.18rem 0.5rem;
    gap: 0.35rem;
}


.information p::before {
    content: '';
    display: inline-block;
    width: 1.15rem;
    height: 1.15rem;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 0.55rem;
    flex-shrink: 0;
}

.information .job::before {
    background-image: url('../images/icons/job.svg');
}

.information .location::before {
    background-image: url('../images/icons/location.svg');
}

.information .email::before {
    background-image: url('../images/icons/email.svg');
}

.information .phone::before {
    background-image: url('../images/icons/phone.svg');
}

/* Clickable email and phone styles */
.information .phone a,
.information .email a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10;
    margin: -0.25rem -0.5rem;
    flex: 1;
}

.information .phone a:hover,
.information .email a:hover {
    color: var(--violet-color);
    background: rgba(85, 86, 158, 0.1);
    transform: translateX(3px);
}

body.light-mode .information .phone a:hover,
body.light-mode .information .email a:hover {
    background: rgba(85, 86, 158, 0.15);
}

.information .phone a:focus,
.information .email a:focus {
    outline: 2px solid var(--violet-color);
    outline-offset: 2px;
}

/* Subtle animation for clickable indication */
.information .phone a::after,
.information .email a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--violet-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.information .phone a:hover::after,
.information .email a:hover::after {
    width: 100%;
}

/* Add small external link indicators */
.information .phone a::before,
.information .email a::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--violet-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.information .phone a:hover::before,
.information .email a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Mobile improvements for touch targets */
@media (max-width: 768px) {
    .information .phone a,
    .information .email a {
        padding: 0.5rem;
        margin: -0.25rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .information .phone a::before,
    .information .email a::before {
        width: 10px;
        height: 10px;
        top: -3px;
        right: -3px;
    }
}

.header__buttons {
    margin-top: 20px;
    margin-left: 5px;
    display: flex;  
    flex-direction: row;
    align-content: center;
    gap: 10px;
}

.header__buttons button:hover {
    transform: scale(1.2);
    transition: 0.5s;
}

.brazil-icon {
    width: 35px;
}
.usa-icon {
    width: 45px;
}

#btnPT, #btnEN {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

/* Mobile responsiveness improvements */
@media only screen and (max-width: 480px) {
    .header {
        padding: 1rem 0.5rem;
    }
    
    .header .photo {
        width: 120px;
        height: 120px;
    }
    
    .header .title {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .information {
        align-items: center;
        gap: 0.7rem;
        padding: 0.5rem 0;
    }
    .information {
        align-items: flex-start;
        gap: 0.35rem;
        padding: 0.3rem 0.5rem 0.3rem 0.5rem;
        width: 100%;
        max-width: 98vw;
        box-sizing: border-box;
        justify-content: flex-start;
        background: none;
    }
    
    .change-theme {
        padding: 0.5rem;
    }
    
    .change-theme img {
        width: 28px;
        height: 28px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
    .header .photo {
        width: 150px;
        height: 150px;
    }
    
    .header .title {
        font-size: 1.8rem;
    }
    .information {
        align-items: center;
        gap: 0.8rem;
        padding: 0.5rem 0;
    }
       .information p {
        font-size: 0.98rem;
        margin: 0.1rem 0;
        padding: 0.12rem 0.5rem;
        width: 100%;
        max-width: 98vw;
        box-sizing: border-box;
        justify-content: flex-start;
        gap: 0.25rem;
    }
}

@media only screen and (min-width: 768px) {
    .header {
        display: grid;
        grid-template-areas:
            "photo title"
            "photo information"
        ;
    }

    .header .photo {
        grid-area: photo;
        margin: 0 auto;
    }

    .header .title {
        grid-area: title;
        text-align: start;
        max-width: 210px;
    }

    .header .information {
        grid-area: information;
    }
    
}

