/* PADRÃO PARA TODA PÁGINA */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;  
}
/* CORPO DA PÁGINA */
body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}
/* MENU (NAVBAR) */
nav {
    position: fixed;
    width: 100%;
    background: #1e1e2f;
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    top: 0;
    z-index: 1000;
}
/* LOGO */
.logo {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}
/* MENU (LISTA) */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
/* LINKS DO MENU*/
nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.35;
}
/* EFEITO HOVER */
nav a:hover{
    color: #00bcd4;
}
/* SEÇÕES */
section {
    padding: 100px 20px;
    text-align: center;
}
/* SEÇÃO INÍCIO */
.inicio {
    position: relative;
    height: 100vh;
    padding: 0;
    background: #000;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
/* SOBRE (IMAGEM) */
.sobre img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0;
}

/* CONTAINER SOBRE - LAYOUT FLEX */
.sobre-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 30px auto 0;
}

/* CONTEÚDO DA FOTO E TEXTO */
.sobre-content {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* VÍDEO */
.sobre-video {
    flex: 1;
    min-width: 250px;
}

.sobre-video iframe {
    width: 100%;
    max-width: 400px;
    height: 225px;
    border-radius: 10px;
}

/* TÍTULO SOBRE */
.sobre h2 {
    margin-bottom: 30px;
}

.habilidades li {
    background: #00bcd4;
    color: white;
    display: inline-block;
    margin: 6px;
    padding: 10px 15px;
    border-radius: 20px;
}

/* CONTATO */
.contato p {
    margin: 5px;
}

/* RODAPÉ */
footer {
    background: #1e1e2f;
    color: white;
    padding: 15px;
    text-align: center;
}

/* PROJETOS */
.projetos {
    background: #e8dcc7; 
}

/* GRID (organização dos cards */
.grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* CARD */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,1);
    transition: 0.3s;
}

/* EFEITO HOVER */
.card:hover {
    transform: translateY(-10px);
}

/* TÍTULO DO CARD */
.card h3 {
    margin-bottom: 10px;
    color: #383838;
}

/* TEXTO */
.card p {
    margin-bottom: 15px;
}

/* LINK */
.card a {
    text-decoration: none;
    color: white;
    background: #00bcd4;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
}
/* EFEITO HOVER NO LINK */

.card a:hover{
    background: #0197a7;
}
/* CARROSSEL */
.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carrossel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
}

.carrossel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    top: 0;
    left: 0;
    object-position: center;
   
}
/* IMAGEM ATIVA */
.carrossel img.ativa {
    opacity: 1;
}
/* CONTEINER POR CIMA */
.conteudo {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* SLIDES */
.slides img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 3;
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.65);
}
/* INDICADORES DE NAVEGAÇÃO */
.indicadores {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
}
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background: #9e9e97;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.ativo, .dot:hover {
    background: #7ff0ce;
}

/* TEXTO E VÍDEO DO SOBRE */
.sobre-container .texto {
    max-width: 500px;
    flex: 1;
    min-width: 300px;
}

.sobre-container .video {
    flex: 1;
    min-width: 300px;
}

.video iframe, .video video {
    width: 400px;
    height: 225px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.video iframe:hover, .video video:hover {
    transform: scale(1.03);
}


    /* FORMULÁRIO DE CONTATO */
    .form-contato {
       max-width: 400px;
         margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
}  

/*INPUTS E TEXTAREA */
.form-contato input, .form-contato textarea {
    padding: 10px;
    border: 1px solid #00bcd4;
    border-radius: 5px;
    font-size: 16px;

}

/*TEXTAREA */
.form-contato textarea {
    height: 100px;
    resize: none;
}

/* BOTÃO DE ENVIO */
.form-contato button {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    
}

/* EFEITO HOVER NO BOTÃO */
.form-contato button:hover {
    background: #0197a7;
}

/*HABILIDADES*/
.habilidades {
    background: #e6e3e3;
}

/*CONTAINER HABILIDADES*/
.habilidades-container {
    max-width: 500px;
    margin: auto;
    text-align: left;
}

/*CADA HABILIDADE*/
.habilidade {
    margin-bottom: 20px;
}

/*HABILIDADE TEXTO*/
.habilidade p {
    margin-bottom: 5px;
    font-weight: bold;
}

/*HABILIDADE BARRA*/
.barra {
    width: 100%;
    height: 10px;
    background: #9e9e97;
    border-radius: 10px;
    overflow: hidden;
}

/*BARRA DE PROGRESSO*/
.progresso {
    height: 100%;
    background: linear-gradient(to right, #0197a7, #116ee7);
    width: 0;
    transition: 1s;
}

/* MENU RESPONSIVO PARA CELULAR */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
    }

    .logo {
        font-size: 18px;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    nav a {
        font-size: 14px;
    }

    section {
        padding-top: 130px;
    }
}