/* ==========================================================================
   ARQUIVO CSS UNIFICADO PARA O PORTFÓLIO
   ========================================================================== */

/* --- 1. IMPORTAÇÕES E ESTILOS GLOBAIS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset Universal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    list-style: none;
}


.text-center {
    text-align: center;
}

body {
    background-color: black;
    color: #fff;
    line-height: 1.6;
    /* overflow-x: hidden; garante que não haverá rolagem horizontal */
    overflow-x: hidden;
}

a {
    color: #fff;
    transition: color 0.3s ease;
}

a:hover {
    color: #2ecc71;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}


/* --- 2. COMPONENTES REUTILIZÁVEIS (HEADER, BOTÕES, FOOTER) --- */

/* Cabeçalho Padrão */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    width: 100%;
}

.cabecalho-link {
    display: flex;
    gap: 3rem;
}

.cabecalho-link a {
    font-size: 14px;
    font-weight: 300;
}

/* Botão Padrão */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #2ecc71;
    border-radius: 15px;
    background: transparent;
    color: #2ecc71;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s ease;
}

.btn:hover {
    background-color: #2ecc71;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

/* Rodapé Padrão */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background-color: #1a1a1a;
}

.page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Aumentei um pouco o espaço entre a imagem e o texto */
    margin-bottom: 2rem;
}

/* --- 3. ESTILOS ESPECÍFICOS DE CADA PÁGINA --- */

/* Título de Página Padrão */
.page-title {
  font-size: 2.5rem; /* Tamanho do título */
  color: #2ecc71;   /* Cor verde padrão */
  text-align: center; /* Centraliza o texto */
  margin-bottom: 2rem; /* Adiciona um espaço abaixo */
}

/* --- PÁGINA PRINCIPAL (Home) --- */
.home-background {
    background: black;
    width: 100%;
    min-height: 100vh;
}

.container-text {
    padding-top: 100px;
}

.text h1 {
    color: #fff;
    font-size: 2.5rem;
}

.text h1 span {
    color: #2ecc71;
}

.redes-sociais a {
    color: #2ecc71;
    margin-right: 15px;
    font-size: 24px;
}

#cursor {
    margin-left: 5px;
    animation: blink-caret 0.75s infinite;
}

/* --- PÁGINA SOBRE --- */
.sobre-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    padding: 2rem;
    animation: fadeIn 1s ease forwards;
}

.sobre-container h1 {
    color: #2ecc71;
    animation: slideInLeft 1s ease forwards;
}

.profile-container {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2ecc71;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.sobre-container p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    animation: slideInRight 1s ease forwards;
}

/* --- PÁGINA PROJETOS (Carrossel) --- */
body.no-scroll {
    overflow: hidden;
}

.projetos-titulo {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #2ecc71;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 20%;
  margin: auto;
}

.carousel__slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel__slider__item {
  flex: 0 0 100%;
  padding: 20px;
  text-align: center;
  border: 2px solid #2ecc71;
  background-color: #111;
  border-radius: 10px;
}

.carousel__slider__item img {
  max-width: 80%;
  height: auto;
  margin-bottom: 1rem;
}

.carousel__prev, .carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(142, 156, 148, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.carousel__prev { left: 10px; }
.carousel__next { right: 10px; }

/* --- PÁGINA CONTATO --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}

.contact-form input[type="text"], .contact-form input[type="email"] {
    height: 50px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* --- Estilo para os Ícones de Redes Sociais --- */

.social-icons {
    text-align: center; /* 1. Centraliza a div dos ícones */
    margin-top: 2rem;   /* 2. Adiciona um espaço acima deles */
}

.social-icons a {
    font-size: 28px;      /* 3. Aumenta o tamanho dos ícones */
    color: #fff;          /* 4. Define a cor padrão (branco) */
    margin: 0 15px;       /* 5. Cria um espaço entre cada ícone */
    transition: all 0.3s ease; /* 6. Suaviza as animações */
    display: inline-block; /* Garante que as transformações funcionem bem */
}

.social-icons a:hover {
    color: #2ecc71;            /* 7. Muda a cor para verde ao passar o mouse */
    transform: translateY(-5px); /* 8. Faz o ícone "subir" um pouco */
}

/* --- PÁGINA CURRÍCULO --- */
.curriculo-page header,
.curriculo-page footer {
    background-color: #2ecc71;
}

.curriculo-page h1,
.curriculo-page footer {
    color: black;
}

.curriculo-page main {
    background-color: #f0f0f0;
    color: #333;
    padding: 20px;
}

/* --- PÁGINA AGRADECIMENTO --- */
.agradecimento-container {
    max-width: 800px;
    margin: 100px auto;
    text-align: center;
    background-color: #fff;
    color: #333;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


/* --- 4. ANIMAÇÕES (@keyframes) --- */
@keyframes blink-caret {
    from, to { opacity: 1 }
    50% { opacity: 0 }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* --- 5. MEDIA QUERIES (Responsividade) --- */
@media (max-width: 768px) {
    .cabecalho-link {
        display: none; /* Ou transformar em menu hamburger */
    }
    
    .container-text {
        padding-top: 50px;
        text-align: center;
    }

    .text h1 {
        font-size: 2rem;
    }
}

/* Media Query para Impressão (do currículo) */
@media print {
    body {
        background-color: #fff;
        color: #000;
    }
    header, footer, .btn {
        display: none;
    }
    main {
        padding: 0;
    }
}
