@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@600;800&display=swap');

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

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(191, 160, 113, 0.8), transparent);
    margin: 80px auto;
    width: 0%; 
    opacity: 0; 
    max-width: 1000px;
    transition: width 1.2s ease, opacity 1.2s ease; 
}

hr.active {
    width: 85%;
    opacity: 1; 
}



h1, h2, h3 { font-family: 'Playfair Display', serif; color: #ffffff; }

.section h2:not(#saudacao) {
    font-size: 2.5rem; 
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

header {
    background: rgba(26, 26, 26, 0.85); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(191, 160, 113, 0.2); 
    padding: 20px 0;
}

#navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navbar ul li a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 30px; 
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

#home {
    padding-top: 120px !important; 
}

.section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-img {
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 1px solid #bfa071;
    margin-bottom: 20px;
    object-fit: cover;
}

#projetos {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.filtros {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filtros button {
    display: inline-block;
    border: 1px solid #bfa071;
    color: #bfa071;
    padding: 10px 25px;
    border-radius: 30px;      
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.filtros button:hover {
    background: rgba(191, 160, 113, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(191, 160, 113, 0.2);
}

.filtros button.active {
    background: #bfa071;
    color: #121212;
    font-weight: bold;
}

.grid-projetos {
    display: flex;      
    flex-wrap: wrap;     
    justify-content: center; 
    gap: 40px;         
    margin-top: 50px;
    width: 100%;
}

.card {
    background: #1a1a1a;
    width: 350px;       
    border: 1px solid rgba(191, 160, 113, 0.2);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: left;   
}


.card img, 
.card video {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #bfa071;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}


.card-content {
    padding: 25px; 
    display: flex;
    flex-direction: column;
    gap: 8px; 
    text-align: left;
}

.card-content span {
    font-size: 0.75rem;
    color: #bfa071; 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin: 5px 0;
    line-height: 1.2;
}

.card-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.6;
}




.hard-skills-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 20px;
}


.skill-column {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(191, 160, 113, 0.15);
    border-radius: 20px;
    padding: 30px 20px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.skill-column:hover {
    transform: translateY(-10px); 
    border-color: #bfa071;
    background: rgba(191, 160, 113, 0.05); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(191, 160, 113, 0.1);
}

.skill-column h3 {
    color: #bfa071;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(191, 160, 113, 0.2);
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}


.hard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    width: 100%;
    transition: 0.3s;
}

.hard-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem; 
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}


.flag-stack {
    position: relative;
    width: 50px; 
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.lang-flag {
    position: absolute;
    width: 35px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: none !important;
    background: transparent !important;
    filter: saturate(1.7); 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flag-top { z-index: 2; transform: translateX(-5px) rotate(-5deg); }
.flag-back { z-index: 1; transform: translateX(5px) rotate(5deg); opacity: 0.6; }


.hard-item:hover .flag-top { transform: translateX(-12px) rotate(-10deg) scale(1.1); }
.hard-item:hover .flag-back { transform: translateX(12px) rotate(10deg) scale(1.1); opacity: 1; }


.single-flag {
    position: absolute !important;
    transform: translate(0) rotate(0) !important;
}


.colored-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s;
}

.hard-item:hover .colored-icon {
    transform: scale(1.2);
}

.inverted-icon { filter: invert(1) brightness(1.5) !important; }





#skills {
    text-align: center;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 15px;
    max-width: 800px;
    margin: 40px auto 0;
}

.skill-badge {
    border: 1px solid #bfa071;
    color: #bfa071;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.skill-badge:hover {
    background: #bfa071;
    color: #121212;
}


input { width: 100%; padding: 12px; margin-bottom: 10px; background: #1a1a1a; border: 1px solid #333; color: white; border-radius: 4px; }
button[type="submit"] { width: 100%; padding: 12px; background: #bfa071; border: none; font-weight: bold; cursor: pointer; }

.soft-skills-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(191, 160, 113, 0.1);
    border-radius: 15px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.soft-skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.soft-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 150px; 
}

.soft-item i {
    font-size: 1.8rem;
    color: #bfa071; 
    opacity: 0.8;
    transition: 0.3s;
}

.soft-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}


.soft-item:hover i {
    transform: scale(1.2);
    opacity: 1;
    color: #ffffff;
}

.soft-skills-box:hover {
    border-color: rgba(191, 160, 113, 0.3);
    background: rgba(191, 160, 113, 0.03);
}

.social-links-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}


.social-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}


.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(191, 160, 113, 0.3); 
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px; 
    margin-bottom: 12px; 
    transition: all 0.3s ease;
}

.icon-box i {
    font-size: 1.5rem;
    color: #bfa071;
}


.social-item span {
    font-size: 0.75rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}


.social-item:hover .icon-box {
    background: #bfa071;
    border-color: #bfa071;
    box-shadow: 0 0 20px rgba(191, 160, 113, 0.4);
}

.social-item:hover .icon-box i {
    color: #121212; 
}

.social-item:hover span {
    color: #ffffff;
}

.social-item:hover {
    transform: translateY(-5px);
}

.main-footer {
    padding: 60px 20px;
    border-top: 1px solid rgba(191, 160, 113, 0.1); 
    text-align: center;
    background: #0a0a0a; 
}

.footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
    margin: 5px 0;
}

.footer-content .created-by {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.footer-content .created-by span {
    color: #bfa071; 
    font-weight: 600;
}


.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    gap: 50px;
}

.hero-text {
    flex: 1;
    text-align: left;
    z-index: 10;
}

.hero-text h1 {
    font-size: 4.5rem; 
    line-height: 1.1;
    margin: 20px 0;
}

.last-name {
    display: block;
    color: #bfa071; 
}

.hero-bio {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 500px;
    margin-bottom: 30px;
    border-left: 2px solid #bfa071;
    padding-left: 20px;
}

.hero-image-wrapper {
    flex: 1.2;
    position: relative;
    height: 80vh;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(0.8) contrast(1.1); 
    mask-image: linear-gradient(to left, black 70%, transparent 100%); 
    -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
}

.btn-discovery {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #bfa071;
    color: #bfa071;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    transition: 0.5s;
    margin-top: 20px;
}

.btn-discovery:hover {
    background: #bfa071;
    color: #121212;
    box-shadow: 0 0 30px rgba(191, 160, 113, 0.4);
}

@media (max-width: 992px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-image-wrapper { height: 50vh; width: 100%; }
    .hero-bio { margin: 20px auto; border-left: none; border-top: 2px solid #bfa071; padding: 20px 0; }
    .hero-img { mask-image: linear-gradient(to top, black 70%, transparent 100%); }
}