html {
    scroll-behavior: smooth;
}

/* Reset básico e fonte */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(to right, #000 0%, #000 50%, #004AAD 110%);
    color: white;
    box-sizing: border-box;
    overflow-x: hidden;

}

.menuzinho {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

/* Header responsivo */
.header {
    background: linear-gradient(to right, #000 0%, #000 50%, #004AAD 110%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px 0px 0px;
    position: fixed;
    width: 100%;
    z-index: 50;
}

.gigatech_logo {
    width: 250px;
    padding: 20px;
    height: auto;
}

.options a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.options a:hover {
    border-bottom: 3px solid #ffffff;
    border-radius: 3px;
}

/* Main section */
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero section */
.hero-image {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(img/hero-banner.webp);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 60px;
}

.hero-image-content {
    width: 45vw;
    max-width: 600px;
    height: auto;
    position: absolute;
    left: 7%;
    bottom: 20%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#hero-image-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
}

#hero-image-paragraph {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 600px;
}

.hero-image-button {
    width: 100%;
    max-width: 250px;
    height: 6vh;
    min-height: 50px;
    border-radius: 10px;
    background: linear-gradient(to right, #856DE0 0%, #532edb 50%, #004AAD 200%);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-image-button:hover {
    background: linear-gradient(to right, #856DE0 0%, #532edb 80%, #004AAD 200%);
}

/* Título seção */
.title {
    margin: 50px;
}

/* Serviços */
.services {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.description-services {
    width: 25%;
    min-height: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    /* background-color: #042b5e; */
    /* background: linear-gradient(to right, #191919 0%, #191919 50%, #004AAD 200%); */
}

.description-services h2,
.description-services h3 {
    text-align: center;
}

.description-services ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    width: 100%;
    max-width: 280px;
}

.description-services li {
    border-bottom: 1px solid #333;
    padding: 8px 12px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.blue-button {
    display: inline-block;
    color: white;
    padding: 15px;
    background: linear-gradient(to right, #856DE0 0%, #532edb 50%, #004AAD 200%);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-top: auto;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blue-button:hover {
    background: linear-gradient(to right, #856DE0 0%, #532edb 80%, #004AAD 200%);
}

.cta-servicos{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px;
}

.cta-servicos .blue-button{
    width: 500px;
    text-align: center;
    font-size: large;
}

.about-pages{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 25px;
    margin-bottom: 100px;
}

.page-description{
    display: flex;
    flex-wrap: wrap;
}

.text .blue-button{
    font-size: medium;
}

.text ul{
    list-style: decimal;
    padding-left: 15px;
}

.text li{
    padding: 5px 0;
}

.projects{
    width: 85%;
    max-width: 85%;
    margin: 50px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    /* background-color: red; */
}

.project{
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
}

#fsw-barber img{
    width: 250px;
    height: 100%;
}

.project-images{
    display: flex;
    justify-content: space-evenly;
    width: 50%;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: center;
}

.project-description{
    width: 40%;
}

.project-description button{
    font-size: large;
}

.carrossel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.slide{
    width: 100%;
    min-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

.used-technologies{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background-color: #000;
    padding: 100px;
    border: 1px solid #333;
    border-radius: 15px;
    width: 85%;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #000000 0%, #000 50%, #222 100%);
}

.used-technologies i{
    font-size: 80px;
}

.whatsapp{
    width: 85%;
    background-color: #071B1A;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px;
}

.cta-whatsapp{
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.cta-whatsapp img{
    margin: 0 20px;
}

.whatsapp-button{
    background-color: #01A180;
    display: inline-block;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0 20px;
}

.footer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 50px;
}

.form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.form .input{
    width: 100%;
    max-width: 500px;
    padding: 25px;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #777777;
    box-sizing: border-box;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.form .input:focus{
    outline: none;
    border-bottom: 1px solid ;
}

textarea{
    resize: none;
    overflow: hidden;
}

.form button{
    margin-top: 25px;
    width: 100%;
    max-width: 550px;
    padding: 15px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Overlay que escurece a tela */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none; /* Escondido por padrão */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

/* Loader simples - animação de spinner */
.loader {
  border: 8px solid #f3f3f3; /* cinza claro */
  border-top: 8px solid #3498db; /* azul */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Ícone de sucesso: círculo verde com check */
.success-icon {
  display: none;
  width: 60px;
  height: 60px;
  background-color: #4BB543; /* verde */
  border-radius: 50%;
  color: white;
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mostrar com flex */
.show {
  display: flex !important;
}

/* Tablets e telas médias */
@media (max-width: 1024px) {
    .description-services {
        width: 45%;
    }

    .social-medias{
        flex-direction: row;
    }
}

.footer-rights{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.social-medias{
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Tablets pequenos / celulares grandes */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menuzinho {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
        display: none;
        background: linear-gradient(to right, #000 0%, #000 50%, #004AAD 110%);
        position: absolute;
        top: 50px;
        padding: 25px 0;
    }

    .options.show {
        display: flex;
    }

    .options a {
        color: white;
        margin-left: 25px;
    }

    .hero-image {
        height: 80vh;
    }

    .hero-image-content {
        position: static;
        width: 90%;
        text-align: center;
        align-items: center;
    }

    #hero-image-title {
        font-size: 2rem;
    }

    #hero-image-paragraph {
        font-size: 1rem;
    }

    .hero-image-button {
        width: 100%;
        font-size: 1.1rem;
    }

    .services {
        flex-direction: column;
    }

    .description-services {
        width: 80%;
    }

    .cta-servicos .blue-button{
        width: 300px;
    }

    .about{
        width: 75%;
    }

    .footer{
        justify-content: center;
        padding-bottom: 50px;
    }
    
    .social-medias{
        justify-content: center;
        padding: 0;
    }

    .project{
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .project-images{
        width: 100%;
        gap: 25px;
    }

    .project-description{
        width: 90%;
    }

    .slides{
        width: 100%;
    }

    .carrossel {
        width: 100%;
        max-width: 500px;
    }

    .whatsapp{
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        padding: 20px 0;
        margin-bottom: 0;
    }

    .cta-whatsapp{
        align-items: center;
        justify-content: center;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .gigatech_logo {
        width: 120px;
    }

    #hero-image-title {
        font-size: 1.5rem;
    }

    #hero-image-paragraph {
        font-size: 0.95rem;
    }

    .hero-image-button {
        font-size: 1rem;
        min-height: 45px;
    }

    .options a {
        padding: 8px;
        font-size: 0.95rem;
    }

    .description-services {
        width: 100%;
        padding: 20px;
    }

    .description-services ul {
        max-width: 100%;
    }
}