@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap");
@import url("main.css");
@import url("components/header.css");
@import url("components/footer.css");
@import url("components/buttons.css");
@import url("components/hero.css");
@import url("components/skills.css");
@import url("components/projects.css");
@import url("components/about.css");
@import url("components/contact.css");
@import url("components/admin.css");
@import url("components/chat.css");
@import url("components/scroll-top.css");

.tx-particles {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.tx-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes download {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(50px); opacity: 0; }
}


.iconsocial {
    margin: 0;
    padding: 0;
    width: 50px;
}
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}



/* Ícone animado */
.icon {
    color: white;
    margin-top: 4px; /* mt-2 */
    font-size: 10px;
    display: inline-block;
    align-items: center;
}
.icon-back{
    height: 27px;
    padding: 3px;
    display: flex;
    justify-content: center;
    width: 27px;
    background-color: var(--black-color);
}

/* Animação de pulo */
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


                /* --- Animations & Responsiveness --- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        .reveal.visible { opacity: 1; transform: translateY(0); }
        
              
      @media (max-width: 768px) {

            .section-2 { padding: 4rem 0; }
            .skills-grid-2 { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
        }
        
         .container-2 { width: 90%; max-width: 1100px; margin: 0 auto; }
        /* --- General Section Styling --- */
        .section-2 { padding: 6rem 0; }
        .section-title-2 {
            text-align: center;
            font-family: var(--font-headings);
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        .section-subtitle-2 {
            text-align: center;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto 4rem auto;
            line-height: 1.6;
        }




.chat-window {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 0.6rem;
    width: 300px;
    height: 500px;
    background-color: var(--body-color);
    border: 1px solid var(--border-color-2);
    border-radius: 12px;
    overflow: hidden;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}


/* Responsive Design */
.menu-toggle {
    display: none;
}

@media screen and (min-width: 1150px) {
    :root {
        --biggest-font-size: 4.5rem;
        --h1-font-size: 3rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
    .footerhero {
        left: 14.5%;
    }
}

/* For small devices */
@media screen and (max-width: 350px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* For medium devices */
@media screen and (min-width: 568px) {
    .home-data {
        align-self: flex-end;
    }
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .section {
        padding: 6rem 0 2rem;
    }

    .nav {
        height: calc(3.5rem + 1.5rem);
    }
    .nav-list {
        flex-direction: row;
        column-gap: 2.5rem;
    }
    .nav-toggle {
        display: none;
    }
}
@media (max-width: 800px) {
    .nav-links {
        position: fixed;
        top: 55px; 
        left: 0;
        width: 100%;
        height: 100vh; 
        padding: 20px 0 60px 0;
        z-index: 1000;
        display: none; /* Inicia escondido */
        flex-direction: column;
        justify-content: flex-start; /* Alinha itens ao topo */
        align-items: center;
        background: var(--bg-dark); 
        backdrop-filter: blur(20px); 
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Melhora o scroll em iOS */
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        font-size: 1.3rem; 
        padding: 15px 20px;
        margin: 8px 0; /* Adiciona margem vertical entre os itens do menu */
        border-radius: 8px; /* Arredonda um pouco mais as bordas */
        color: var(--white-color); /* Garante que a cor do texto seja branca */
        text-align: center;
        width: 80%;
        max-width: 300px; 
        transition: background 0.3s ease, color 0.3s ease; 
    }

    .nav-links a::after {
        transform: scale(0); 
        }

.nav-links a:hover,
    .nav-links a:focus {
        background: rgba(255, 255, 255, 0.1); /* Um fundo sutil ao passar o mouse/focar */
        color: var(--accent); /* Cor do texto de destaque */
        transform: scale(1.02); /* Pequeno efeito de zoom */
    }

    .nav-links .active {
        background: var(--accent); /* Cor de destaque para o item ativo */
        color: var(--white-color);
        font-weight: bold; /* Deixa o texto em negrito para o item ativo */
    }


    .date-counter {
        display: flex;
        flex-direction: column; /* Coloca os itens do cronômetro em coluna */
        align-items: center;
        justify-content: center;
        margin-top: 30px; /* Espaço do cronômetro para os links do menu */
        padding: 10px;
        background: rgba(0, 0, 0, 0.2); /* Um fundo sutil para o cronômetro dentro do menu */
        border-radius: 10px;
        width: 80%;
        max-width: 300px;
    }

    .date-counter .icon-clock {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: var(--white-color);
    }



    /* Ajustes para o menu-toggle */
.menu-toggle {
            position: fixed;
            top: 13px;
            right: 20px;
            width: 38px;
            height: 35px;
            z-index: 1000;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            padding: 8px;
            background: transparent;
            border: none;
        }

   .menu-toggle span {
            width: 100%;
            height: 2px;
            background: var(--accent);
            transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
            border-radius: 2px;
            position: relative;
        }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 8px);
        background: var(--white-color); /* Garante que as barras do 'X' fiquem brancas */
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -8px);
        background: var(--white-color); /* Garante que as barras do 'X' fiquem brancas */
    }

    /* Outros ajustes */
    .hero h1 {
        font-size: 2.5em; /* Aumenta um pouco mais o título principal em telas menores */
    }


    .home-social{
  
    }
    .subtitle{
        width: 80%;
    }
    .home-social-icon {
        width: 30px;
        height: 30px; }

    /* Efeito de elevação ao passar o mouse */
    .home-social-icon:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }
    
    /* Ícones internos */
    .home-social-icon i {
        font-size: 1rem;
        transition: color 0.3s ease, transform 0.3s ease;
        z-index: 1;
}
    }


.btn-submit {
  background-color: var(--accent-gold);
  color: var(--card-bg-2);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: #d4af6a;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* Project Details Page */
.project-details {
    padding: 6rem 0;
}

.container-project {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.project-title-details {
    font-family: var(--font-headings);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.project-subtitle-details {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.project-image-details {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color-2);
}

.project-description,
.project-technologies {
    margin-bottom: 3rem;
}

.project-description h2,
.project-technologies h2 {
    font-family: var(--font-headings);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.project-technologies ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-technologies li {
    background-color: var(--card-bg-2);
    border: 1px solid var(--border-color-2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.project-links {
    text-align: center;
}

.btn-project {
    display: inline-block;
    margin: 0 1rem;
    background-color: var(--accent-gold);
    color: var(--card-bg-2);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-project:hover {
    background-color: #d4af6a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}



.contact-button-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-contact {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-gold);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
    font-size: 1.2rem;
}

.btn-contact:hover {
    background-color: #e6b873;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--glow-color);
}

.btn-contact i {
    margin-right: 0.5rem;
}
