/* ==================== */
/* RESET E BASE GERAL   */
/* ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #0a1b33;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==================== */
/* HEADER E MENU        */
/* ==================== */
header {
  background: #0b223f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1.tech-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #4fe0c6;
  text-align: center;
  flex: 1;
}

#menu-toggle {
  font-size: 26px;
  background: none;
  border: none;
  color: #4fe0c6;
  cursor: pointer;
  position: absolute;
  left: 20px;
}

.auth-buttons .auth-btn {
  background: #4fe0c6;
  color: #000;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background 0.3s;
}

.auth-buttons .auth-btn:hover {
  background: #3cbfa8;
}

/* ==================== */
/* MENU LATERAL         */
/* ==================== */
.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #0f2a44;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  z-index: 1001;
}

.side-menu.open {
  left: 0;
}

.side-menu button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  align-self: flex-end;
  margin-bottom: 1rem;
  cursor: pointer;
}

.side-menu a {
  color: #fff;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.side-menu a:hover,
.side-menu a.active {
  color: #00d4ff;
}

/* ==================== */
/* CARROSSEL            */
/* ==================== */
.carousel {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin: 15px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  min-width: 100vw;
}

.carousel-track > a {
  flex: 0 0 100vw;
  max-width: 100vw;
}

.carousel img {
  width: 100vw;
  max-width: 100%;
  height: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.carousel-indicators div {
  width: 8px;
  height: 8px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-indicators .active {
  background: #4fe0c6;
}

/* ==================== */
/* SEÇÃO PRINCIPAL      */
/* ==================== */
.container {
  padding: 15px;
}

#home h1 {
  font-size: 1.4rem;
  color: #4fe0c6;
  text-align: center;
  margin-bottom: 15px;
}

.work-item {
  background: #13294b;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  max-width: 100%;
  margin: 0 auto;
}

.work-item p,
.work-item li {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.work-item strong {
  color: #4fe0c6;
}

/* ==================== */
/* RESPONSIVIDADE       */
/* ==================== */

/* Tablets */
@media (min-width: 600px) {
  header h1.tech-title {
    font-size: 1.5rem;
  }

  .auth-buttons .auth-btn {
    font-size: 1rem;
    padding: 7px 16px;
  }

  .work-item {
    max-width: 700px;
  }

  .carousel {
    max-width: 90vw;
  }
  .carousel-track {
    min-width: 90vw;
  }
  .carousel-track > a {
    flex: 0 0 90vw;
    max-width: 90vw;
  }
  .carousel img {
    width: 90vw;
    max-width: 100%;
  }
}

/* Desktops */
@media (min-width: 992px) {
  header h1.tech-title {
    font-size: 1.8rem;
  }

  .work-item {
    max-width: 900px;
    padding: 25px;
  }

  #home h1 {
    font-size: 1.8rem;
  }

  .carousel-btn {
    font-size: 28px;
    padding: 8px 14px;
  }

  .carousel-indicators div {
    width: 10px;
    height: 10px;
  }

  .carousel {
    max-width: 800px;
  }
  .carousel-track {
    min-width: 800px;
  }
  .carousel-track > a {
    flex: 0 0 800px;
    max-width: 800px;
  }
  .carousel img {
    width: 800px;
    max-width: 100%;
  }
}
