/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   CORES
========================= */
:root {
    --preto: #1c1c1c;
    --cinza: #c0c0c0;
    --bege: #d0b1b5;
    --lilas: #dcadad;
}

/* =========================
   BODY
========================= */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f6f6;
    color: var(--preto);
    line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid var(--cinza);
    position: sticky;
    top: 0;
    background: rgb(239, 225, 225);
    z-index: 1000;
}

.site-title {
    font-size: 36px;      /* PORTFÓLIO maior */
    font-weight: 600;
    letter-spacing: 2px;
    color: #1c1c1c;
}

.menu a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--preto);
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: var(--lilas);
    transition: 0.3s;
    border-radius: 10px;
}

.menu a:hover::after {
    width: 100%;
}

/* =========================
   SEÇÕES
========================= */
section {
    padding: 90px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* =========================
   INÍCIO
========================= */
.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

/* =========================
   SOBRE
========================= */
#sobre {
    background-image: url('../img/ft56.jpg');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: white;
}

#sobre::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

#sobre h2,
#sobre p {
    position: relative;
    z-index: 2;
}

.sobre-texto {
    max-width: 700px;
    margin: auto;
}

/* =========================
   GALERIA
========================= */
.galeria {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.trabalho {
    border: 1px solid var(--cinza);
    padding: 20px;
    max-width: 300px;
    transition: 0.3s;
}

.trabalho:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(199,182,216,0.4);
}

.trabalho img {
    width: 100%;
    height: auto;
    object-fit: contain;  /* mantém proporção */
    margin-bottom: 15px;
}


/* =========================
   CARROSSEL CENTRALIZADO - QUADRADO E FLUTUANTE
========================= */
.carousels-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 60px auto;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 0;
    width: 200px;
    background: var(--bege);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.carousel-track {
    display: flex;
    gap: 20px;               /* espaço entre slides */
    transition: transform 0.5s ease-in-out;
}

/* Cada slide quadrado com sombra e flutuação */
.slide {
    flex: 0 0 200px;         /* largura fixa */
    background: #fff;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 30px rgba(0,0,0,0.25);
}

/* Imagens quadradas */
.slide img {
    width: 100%;
    height: 200px;           /* altura fixa para manter quadrado */
    object-fit: cover;
    display: block;
}

/* Legenda embaixo */
.slide figcaption {
    background: rgba(28,28,28,0.7);
    color: #fff;
    padding: 12px;
    font-size: 0.95em;
    letter-spacing: 0.5px;
}

/* Botões do carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(28,28,28,0.7);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--lilas);
}

.prev { left: 10px; }
.next { right: 10px; }

/* RESPONSIVO */
@media (max-width: 768px) {
    .carousel {
        width: 180px;
    }

    .carousel-track {
        gap: 15px;
        justify-content: center;
    }

    .slide {
        flex: 0 0 180px;      /* slides menores no mobile */
    }

    .slide img {
        height: 180px;        /* mantém proporção quadrada */
    }
}


.carousel-btn:hover {
    background: var(--lilas);
}

.prev { left: 10px; }
.next { right: 10px; }


/* COMPETÊNCIAS */
#competencias {
    background-color: #fff;
    padding: 60px 10%;
}

#competencias h2 {
    margin-bottom: 30px;
}

.skill {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: bold;
}

.percent {
    color: #666;
    font-size: 14px;
}

.barra {
    width: 100%;
    height: 14px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.nivel {
    height: 100%;
    border-radius: 10px;
}

/* níveis */
.design {
    width: 85%;
    background: linear-gradient(90deg, #111, #f6b097);
}

.foto {
    width: 80%;
    background: linear-gradient(90deg, #222, #b78484);
}

.multimidia {
    width: 75%;
    background: linear-gradient(90deg, #333, #e19595);
}

.html {
    width: 70%;
    background: linear-gradient(90deg, #444, #dba3a3);
}

/* FOOTER/conctos */
.footer {
    background-color:rgb(239, 225, 225);
    color: #1c1c1c;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

#contactos h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

#contactos p {
    font-size: 18px;
    color: #1c1c1c;
}

 
.social-icons i {
    font-size: 30px;
    color: black;
    margin: 0 10px;
}






