/* Estilo Geral */

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #1e1e1e;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
}

/* Cabeçalho */
header {
    background-color: #121212;
    padding: 20px 40px;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-idiomas {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav {
    display: flex;
    
}

.idiomas {
    display: flex;
    gap: 10px;
}

.bandeira {
    width: 24px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.bandeira:hover {
    transform: scale(1.1);
}

/* Logótipo */
.logo {
    font-size: 24px;
    font-weight: 700;
    color: #00bcd4;
}

/* Navegação */
nav a {
    color: #e0e0e0;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active{
    color: #00bcd4;
}
.navbar_row a{
    color: #e0e0e0;
}
nav a, .menu-toggle, .menu-idiomas a {
    color: #ffffff !important;
}

.menu-toggle:hover {
    color: #00bcd4;
}

.menu-idiomas a:hover {
    color: #00bcd4;
}


/* Área Principal */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    /* width: 100%; */
}

/* Rodapé */
footer {
    background-color: #121212;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #999;
}

/* Botões */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #00bcd4;
    color: #121212;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

a.btn {
    margin: 15px;
}
.btn:hover {
    background-color: #0097a7;
}

/* Títulos */
h1, h2 {
    color: #00bcd4;
}

/* HOME */
.home-section {
    text-align: center;
    padding: 40px 20px;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 4px solid #00bcd4;
    margin-bottom: 20px;
}

.home-text h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.home-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* SOBRE MIM */
.sobre-section {
    
    width: 100%;
    padding: 80px 20px;
    text-align: center;
}

.sobre-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.sobre-card {
    background-color: #121212;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.2);
    max-width: 1200px;
    margin: auto;
    text-align: left;
}

.sobre-card h3 {
    margin-top: 40px;
    color: #00bcd4;
}

.sobre-card p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.skills-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.skills-list li {
    margin-bottom: 10px;
    font-size: 18px;
}

.skills-list i {
    margin-right: 10px;
    color: #00bcd4;
}


/* PERFIL */
.perfil-section {
    padding: 80px 20px;
    text-align: center;
}

.perfil-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #00bcd4;
}

.perfil-caixa {
    background-color: #121212 !important;
    padding: 40px 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.2) !important;
    max-width: 800px !important;
    margin: auto !important;
    text-align: left !important;
}

.perfil-caixa h3 {
    margin-top: 40px;
    color: #00bcd4;
}

.perfil-caixa ul {
    padding-left: 20px;
    margin-top: 10px;
}

.perfil-caixa li {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
}


/* PORTEFÓLIO */
.portfolio-section {
    padding: 80px 20px;
    text-align: center;
    
}

.portfolio-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.portfolio-card {
    background-color: #121212;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
}

.portfolio-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.portfolio-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff;
}

.portfolio-card p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}
  

/* CONTACTO */
.contacto-section {
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contacto-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contacto-section p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #cccccc;
}

.contacto-form {
    width: 100%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    align-items: center; /* Centraliza os elementos filhos */
}

.contacto-form .form-group {
    width: 100%;
}

.contacto-form button {
    width: 100%;
    max-width: 200px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    background-color: #00bcd4;
    color: #000;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: all 0.2s ease;
    align-self: center;
}

.contacto-form button:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 #000;
}


.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    top: 14px;
    left: 15px;
    color: #00bcd4;
}


input, textarea {
    width: 100%;
    padding: 14px 14px 14px 40px;
    background-color: #121212;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 16px;
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: #777;
}

input:focus, textarea:focus {
    border-color: #00bcd4;
}

/* === RESPONSIVO === */
@media all and (width < 768px) {
  .logo {
        font-size: 10px;
    }
    
  .caixa {
    width: 90%;
    margin: auto;
    padding: 1rem;
  }

  .form-contacto input,
  .form-contacto textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
  }

  .form-contacto {
    display: flex;
    flex-direction: column;
  }
    
}


@media all and (width < 480px) {
  .sobre-card,
  .perfil-caixa {
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .home-img {
    width: 100px!important;
    height: 100px!important;
  }

  h1, h2 {
    font-size: 24px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  input, textarea {
    font-size: 14px;
  }

  .contacto-form {
    max-width: 100%;
    padding: 0 10px;
  }
}

