@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400..800;1,400..800&display=swap');

/* ---------------------------------------------------------------------------
   FONTES COMPRADAS — Acorn (Typeverything) e GT Standard (Grilli Type).
   As duas são licenciadas: os arquivos não vêm de CDN, precisam ser comprados
   e hospedados aqui. Quando tiver os .woff2:
     1. crie a pasta  fonts/  na raiz do projeto
     2. jogue os arquivos lá com estes nomes
     3. descomente os dois blocos abaixo
   Até isso acontecer, a Montserrat assume via fallback nas variáveis.

@font-face {
    font-family: 'Acorn';
    src: url('../fonts/acorn-bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'GT Standard';
    src: url('../fonts/gt-standard-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
--------------------------------------------------------------------------- */

@keyframes shimmer {
    0% {
        background-position: 150% center;
    }
    100% {
        background-position: -50% center;
    }
}


/* O movimento da foto vem daqui: as bordas se deformando devagar. */
@keyframes borderRadiusChange {
    0% {
        border-radius: 42.5% 34% 25.5% 51% / 42.5% 25.5% 51% 34%;
    }
    50% {
        border-radius: 25.5% 42.5% 51% 34% / 34% 42.5% 25.5% 42.5%;
    }
    100% {
        border-radius: 42.5% 34% 25.5% 51% / 42.5% 25.5% 51% 34%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

:root {
    --main-color: #374B32;
    --secondary-color: #4CA035;
    --tertiary-color: #3d5e35;
    --inverse-color: orange;
    --text1-color: white;
    --text2-color: #171717;
    --text3-color: #555;
    --background: white;
    --header: white;
    --gradient: linear-gradient(90deg, #47753B 0%, #8BC34A 100%);
    --blur: blur(5px);
    --font-display: 'Acorn', 'Montserrat', sans-serif;
    --font-text: 'GT Standard', 'Montserrat', sans-serif;
    --accent-yellow: #F2C94C;
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-soft-hover: 0 14px 32px rgba(0, 0, 0, 0.14), 0 4px 10px rgba(0, 0, 0, 0.07);
    --radius-card: 20px;
}

* {
    /* Tudo em caixa baixa: aplicado no site inteiro, inclusive nomes próprios
       e siglas (java, pucpr, whatsapp) — é a estética escolhida. */
    text-transform: lowercase;
    font-family: var(--font-text);
    font-weight: 500;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Sem scroll-behavior aqui de propósito: a animação dos links do menu é feita
   no JS (initSmoothAnchors, 420ms). Se o nativo ficasse ligado, os dois
   disputariam a mesma rolagem. */

html, body {
    overflow-x: hidden !important;
}

body::-webkit-scrollbar {
    width: 12px;
    background: #ffffff00;
}

body::-webkit-scrollbar-thumb {
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: var(--text3-color);
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 88, 88, 0.459);
}

body {
    display: flex;
    background-color: var(--background);
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
    height: 100%;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: max-content;
    max-width: 94vw;
    padding: 10px 24px;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease,
                box-shadow 0.35s ease;
}

/* O header não muda de forma nem de lugar: o raio fica sempre em 20px e só o
   fundo, o blur e a sombra entram ao sair do topo. */
header.is-stuck {
    background-color: rgba(255, 255, 255, 0.119);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    object-fit: cover;
    transition: transform 0.5s, color 0.5s;
}

header .logo img:hover {
    transform: rotate(360deg);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    display: flex;
    list-style: none;
    white-space: nowrap;
}

header nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.3s, color 0.3s;
}

header .fa-brands {
    font-size: 1.8rem;
    margin-right: 10px;
    transition: transform 0.5s, color 0.5s;
}

header .fa-brands:hover, nav ul li:hover {
    transform: scale(1.1);
    color: var(--main-color);
}

section .text-center {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
}

.section-label {
    display: block;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.75);
}

/* Acorn (display) fica na saudação, no nome e nos títulos de seção. */
.hello-container #greeting-text span,
.hello-container h1#name,
.section-title {
    font-family: var(--font-display);
}

.section-title {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text2-color);
    margin-bottom: 40px;
}

/* Segue a mesma caixa de 1200px do título, pra encostar na mesma borda esquerda. */
.section-intro {
    width: 100%;
    max-width: 1200px;
    margin: -24px auto 40px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text3-color);
}

.projects-container .section-intro {
    color: rgba(255, 255, 255, 0.85);
}

/* Nota de rodapé da seção: mesma caixa de 1200px, mas discreta. */
.section-note {
    width: 100%;
    max-width: 1200px;
    margin: 28px auto 0;
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.wave svg {
    display: block;
    width: 100%;
    height: auto;
}


.hello-container {
    overflow: visible;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 100px;
}

/* O padding-bottom cancela o margin-top de 100px do <main>, senão o bloco
   fica centralizado no hero mas 60px abaixo do centro da tela. */
.hello-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 100px);
    padding-bottom: 100px;
    color: var(--text2-color);
}

.hello-container .text-center {
    width: 100%;
    align-items: flex-start;
    text-align: left;
}

#hero-tagline {
    max-width: 38ch;
    margin-top: 22px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text3-color);
}

.hero-star {
    position: absolute;
    display: block;
    pointer-events: none;
    z-index: 0;
    /* O transform aqui e' do parallax do mouse; o brilho fica no svg de dentro
       pra as duas animações não disputarem a mesma propriedade. */
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-star svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: var(--secondary-color);
    animation: twinkle 4.5s ease-in-out infinite;
}

/* Uma em cada ponta da diagonal: acima da direita do nome e abaixo da esquerda. */
.hero-star--one {
    top: -28%;
    right: -4%;
    width: 52px;
    height: 52px;
}

.hero-star--one svg {
    animation-delay: -0.6s;
}

.hero-star--two {
    bottom: -26%;
    left: -5%;
    width: 38px;
    height: 38px;
}

.hero-star--two svg {
    animation-delay: -2.2s;
    fill: var(--main-color);
}

@keyframes twinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 0.5;
    }
}

/* A saudação virou parte do título: sem caixa, mesma família, só menor e mais
   leve que o nome. O ponto final é o único acento de cor. */
.hello-container #hello-text {
    margin-right: 12px;
    white-space: nowrap;
}

.hello-container #hello-text em {
    font-style: normal;
    color: var(--secondary-color);
}

.hello-container span {
    font-size: clamp(1.3rem, 3vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--text3-color);
}

.hello-container #im-text {
    white-space: nowrap;
}

.hello-container #greeting-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 8px;
}

/* As estrelas se ancoram aqui, e não no .text-center: aquele é ancestral da
   .wave, e posicioná-lo fazia a onda encolher pra largura do hero. */
/* fit-content: assim a caixa abraça o texto do nome e as estrelas caem junto
   das pontas dele, e não nos cantos do container inteiro. */
.hello-container #name-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-top: 10px;
    transition: margin-top 0.3s;
    animation: float 5s infinite;
}

.hello-container h1#name {
    position: relative;
    z-index: 1;
    text-align: left;
    color: var(--text2-color);
    font-size: clamp(3.2rem, 11vw, 8rem);
    font-weight: 800;
    letter-spacing: -3px;
    transition: 0.7s;
    line-height: 1;
    margin-top: 5px;
    cursor: pointer;
    background-color: var(--main-color);
    background-image: linear-gradient(105deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.9) 50%, transparent 60%, transparent 100%);
    background-size: 200%;
    background-position: 150% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2.6s ease-in-out infinite;
}

.projects-container .btn i {
    transition: transform 0.3s;
}

.projects-container .btn:hover i {
    transform: translateX(5px);
}

/* Mesma caixa das outras seções, pra borda esquerda do hero bater com elas. */
.hello-container .hello-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.presentation-container {
    display: flex;
    width: 100%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: var(--text1-color);
}

.presentation-container .text-center {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.presentation-container .photo {
    position: relative;
    flex-shrink: 0;
    margin-right: 40px;
    line-height: 0;
}

.presentation-container img {
    height: 380px;
    width: 380px;
    object-fit: cover;
    animation: borderRadiusChange 10s infinite;
    transition: transform 0.4s;
    cursor: pointer;
    box-shadow: var(--shadow-soft-hover);
}

.presentation-container img:hover {
    transform: scale(1.03);
}

.presentation-container .text-me {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
}

.presentation-container .text-me #about-me {
    font-size: 2rem;
    font-weight: 700;
    transition: font-size 0.3s;
}


#text-aboutme {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

#text-aboutme p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

#text-aboutme strong {
    font-weight: 700;
    color: var(--text1-color);
}


.presentation-container #curriculobutton {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 10px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    width: 200px;
    margin-top: 30px;
    transition: background-color 0.5s, transform 0.5s;
}

.presentation-container #curriculobutton:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.04);
}

/* A lista fica dentro da seção verde, então herda o texto claro dela. */
.curiosities-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    text-align: left;
}

.curiosities-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.curiosities-list li + li {
    margin-top: 12px;
}

.experience-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 60px 20px;
    color: var(--text2-color);
}

.experience-content {
    width: 100%;
    text-align: left;
}

.experience-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.experience-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.experience-period {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.experience-place {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text3-color);
}

.experience-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.company-mark {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.experience-brand h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text2-color);
}

.experience-role {
    display: block;
    color: var(--text3-color);
    font-size: 0.9rem;
}

.experience-summary {
    width: 100%;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    text-align: left;
    color: var(--text3-color);
    margin-bottom: 30px;
}

.experience-stage {
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    transition: height 0.5s ease;
}

.experience-track {
    display: flex;
    align-items: flex-start;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-slide {
    flex: 0 0 100%;
    width: 100%;
    padding-bottom: 4px;
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

.experience-slide.is-active {
    opacity: 1;
}

.slide-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 18px;
}

.slide-projects {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-projects li + li {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #ececec;
}

.slide-projects h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text2-color);
    margin-bottom: 8px;
}

.slide-projects p {
    line-height: 1.7;
    color: var(--text3-color);
}

.experience-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.experience-dots {
    display: flex;
    gap: 10px;
}

.experience-dot {
    width: 32px;
    height: 3px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: #dcdcdc;
    cursor: pointer;
    transition: background-color 0.3s, width 0.3s;
}

.experience-dot.is-active {
    width: 52px;
    background: var(--main-color);
}

.experience-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text3-color);
    cursor: pointer;
    transition: color 0.3s;
}

.experience-next:hover {
    color: var(--main-color);
}

.experience-next i {
    transition: transform 0.3s;
}

.experience-next:hover i {
    transform: translateX(4px);
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-tags span {
    display: inline-block;
    background: transparent;
    border: 1px solid #ddd;
    color: var(--text3-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: .25s;
}

.experience-tags span:hover {
    background: var(--text2-color);
    border-color: var(--text2-color);
    color: var(--text1-color);
    transform: scale(1.05);
}

.projects-container {
    background: var(--gradient);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 40px 48px;
    width: 100%;
}

.projects-container .section-title {
    color: var(--text1-color);
}

.projects-container .project-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 0 28px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.projects-container .project-index {
    position: absolute;
    top: 50%;
    font-size: clamp(4.5rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -6px;
    color: rgba(255, 255, 255, 0.22);
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.projects-container .project-content:nth-child(odd) .project-index {
    left: 45%;
    transform: translate(-30%, -50%);
}

.projects-container .project-content:nth-child(even) .project-index {
    right: 45%;
    transform: translate(30%, -50%);
}

.projects-container .project-content + .project-content {

    margin-top: 28px;
}

.projects-container .project-image {
    position: relative;
    z-index: 2;
    width: 45%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: transparent;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.projects-container .project-image.is-portrait {
    background: #12210f;
}

.projects-container .project-image.is-portrait img,
.projects-container .project-image.is-portrait .carousel-slide img {
    object-fit: contain;
}

.projects-container .project-image .carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
}

.projects-container .project-image .carousel-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.projects-container .project-image .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projects-container .carousel-prev,
.projects-container .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
}

.projects-container .carousel-prev { left: 12px; }
.projects-container .carousel-next { right: 12px; }

.projects-container .carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 6;
}

.projects-container .carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    padding: 0;
}

.projects-container .carousel-dot.active {
    background: var(--text1-color);
}

.projects-container .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.projects-container .project-image:hover img {
    filter: brightness(0.92);
    transform: scale(1.02);
}

.projects-container .project-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.projects-container .project-image:hover .overlay {
    opacity: 1;
}

.projects-container .project-image .icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: var(--text1-color);
    font-size: 1.1rem;
}

.projects-container .project-description {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    max-width: 55%;
    text-align: right;
    align-items: flex-end;
    color: var(--text1-color);
}

.projects-container .project-content--no-image .project-description {
    max-width: 100%;
    text-align: center;
    align-items: center;
}

.projects-container .project-description h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0;
    color: var(--text1-color);
}

.projects-container .project-description p {
    margin: 0;
    line-height: 1.6;
    color: var(--text1-color);
}

.projects-container .project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.projects-container .btn {
    margin-top: 8px;
}

.projects-container .styled-hr {
    display: block;
    width: 70%;
    height: 12px;
    margin: 32px auto 0;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    opacity: 1 !important;
}

.projects-container .project-tags span {
    display: inline-block;
    background: #eef1e8;
    border: 1px solid transparent;
    color: var(--tertiary-color);
    padding: 5px 12px;
    margin: 4px 8px 4px 0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

.projects-container .project-tags span:hover {
    background: var(--main-color);
    color: var(--text1-color);
    transform: scale(1.08);
}

.projects-container .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 12px 24px;
    background: var(--text2-color);
    color: var(--text1-color);
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.3s;
}

.projects-container .btn:hover {
    background: var(--main-color);
    color: var(--text1-color);
    transform: scale(1.05);
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: var(--text2-color);
    position: relative;
    background-size: cover;
}

.contact-container {
    display: grid;
    padding: 40px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    width: 50%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    background-size: cover;
}

.contact-container h2 {
    font-size: 1.5rem;
    color: var(--text3-color);
    text-align: center;
    margin-bottom: 1rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1;
    grid-row: span 2;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-card);
    background-color: var(--text1-color);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s, transform 0.3s;
}

.form-section:hover {
    box-shadow: var(--shadow-soft-hover);
    transform: translateY(-2px);
}

.form-section input, .form-section textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
}

.form-section button {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.navigation, .social-icons {
    background-color: var(--text1-color);
    width: 100%;
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s, transform 0.3s;
}

.navigation:hover, .social-icons:hover {
    box-shadow: var(--shadow-soft-hover);
    transform: translateY(-2px);
}

.form-section button:hover {
    background-color: var(--main-color);
    transform: scale(1.03);
}

.navigation {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
}

.navigation h2 {
    font-size: 1.5rem;
    color: var(--text3-color);
    margin-bottom: 1rem;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation ul li {
    margin: 0.5rem 0;
}

.navigation ul li a {
    text-decoration: none;
    color: var(--text3-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 2;
    text-align: center;
}

.social-icons-elements {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons-section h2 {
    font-size: 1.5rem;
    color: var(--text3-color);
    margin-bottom: 1rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--main-color);
    transform: scale(1.08);
}

#hello {
    scroll-margin-top: 80px;
}

#about {
    scroll-margin-top: 100px;
}

#tech {
    scroll-margin-top: 220px;
}

#projects {
    scroll-margin-top: 90px;
}

#contact-id {
    scroll-margin-top: 90px;
}

.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: var(--text2-color);
    background-size: cover;
}

.faq-section .text-center {
    padding: 40px;
}

.faq-section .faq-question p {
    font-size: 1.05rem;
    color: var(--text2-color);
    margin: 0;
    text-align: left;
}

.faq-item {
    margin-bottom: 12px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s, transform 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-soft-hover);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: 20px 24px;
    color: var(--text2-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #f4f6f1;
}

.faq-toggle {
    background-color: var(--main-color);
    color: white;
    border-radius: 50%;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
}

.faq-question:hover .faq-toggle {
    background-color: var(--secondary-color);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 1rem;
    color: var(--text3-color);
    padding: 0 24px;
    transition: all 0.5s ease-in-out;
}

.faq-answer.active {
    max-height: 600px;
    padding: 10px 24px 20px;
}

.fa-chevron-down, .fa-chevron-up {
    font-size: 1rem;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--main-color);
    transform: scale(1.1);
}

@media (max-width: 1280px) {
    section .text-center {
        width: 100%;
    }

    .hello-container .text-center {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hello-container #hello-text {
        font-size: 1.5rem;
    }

    .hello-container #name-text {
        display: flex;
        justify-content: center;
        width: 300px;
    }

    .presentation-container img {
        height: 220px;
        width: 220px;
    }

    .presentation-container .photo {
        margin-right: 0;
        margin-bottom: 24px;
    }

    .presentation-container .text-center {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .presentation-container #curriculobutton {
        margin-top: 20px;
    }

    .hello-container .hello-banner {
        width: 92%;
        margin: 20px auto;
    }

    main {
        margin-top: 0;
    }

    .projects-container .project-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .projects-container .project-index {
        display: none;
    }

    .projects-container .project-description {
        order: 1;
    }

    .projects-container .project-image {
        order: 2;
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .projects-container .project-image.is-portrait {
        aspect-ratio: 4 / 5;
    }

    .projects-container .project-description {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .projects-container .btn {
        width: 100%;
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        width: 80%;
        padding: 20px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-meta {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 1040px) {
    .nav-bar {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1650px) {
    .presentation-container #curriculobutton {
        margin-top: 20px;
    }

    .presentation-container img {
        height: 360px;
        width: 360px;
    }
}

@media (min-width: 768px) and (max-width: 1300px) {
    .presentation-container .text-center {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .presentation-container img {
        height: 300px;
        width: 300px;
    }
}
