
/* Global Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    overflow-x: hidden; 
    background-color: #f8f8f8; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
}


* {
    max-width: 100vw; 
}

/* Estilos da NavBar */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #2c2c2c; 
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}


nav {
    background-color: #333; 
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    transition: max-height 0.5s ease-in-out;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

.logo {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #c6ccd2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}



.logo:hover {
    color: #9da0a2;
    transform: scale(1.05);
}



/* Menu Hamburguer */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon .bar {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.menu-icon.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    nav ul.active {
        max-height: 500px;
        opacity: 1;
        transition: max-height 0.6s ease, opacity 0.5s ease;
    }

    .menu-icon {
        display: flex;
    }

    .logo {
        font-size: 20px;
        margin: 0 20px;
    }

    nav ul li {
        text-align: center;
        width: 100%;
        padding: 15px 0;
    }
}


/* Estilo para o botão de login */

.login-btn {
    padding: 10px 20px;
    background-color: #3e443e;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}


/* Seção Home */
.section-home {
    height: 60vh; 
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/loja.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.section-home h1 {
    font-size: 3em; 
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-out;
}

.section-home p {
    font-size: 1.3em; 
    line-height: 1.5; 
    max-width: 700px; 
    margin: 0 auto;
    animation: fadeIn 2s ease-out 0.5s;
}

/* Animação de fadeIn */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .section-home {
        height: 50vh; 
    }

    .section-home h1 {
        font-size: 2.2em;
    }

    .section-home p {
        font-size: 1.1em;
    }
    .contact_form {
        padding: 20px;
    }
}

/* Seção Sobre a Empresa */

.about-section {
    background-color: #f8f8f8; 
    padding: 60px 20px;
}

.about-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px; 
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-text .btn {
    background-color: #3e26ca;
    padding: 12px 24px;
    border-radius: 30px;
    color: white;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.about-text .btn:hover {
    background-color: #2a1d94;
}

.about-image {
    flex: 1; 
    max-width: 400px; 
    margin-left: 40px; 
}

.about-image img {
    width: 100%; 
    height: auto; 
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column; 
        text-align: center;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image {
        margin: 20px 0 0 0; 
        max-width: 100%; 
    }
}

/* Seção de Produtos */

.products-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.product-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.product-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: calc(100% * 6 / 3); 
}

.product-slide {
    flex: 1 0 33.33%; 
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-button {
    display: inline-block;
    background-color: #3e26ca; /* Nova cor primária */
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-weight: bold; /* Destaque no texto */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Sombra */
}

.product-button:hover {
    background-color: #2a1d94; /* Cor de destaque */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Sombra mais pronunciada */
}


@media (max-width: 480px) {
    .product-carousel-track {
        display: flex;
        transform: translateX(0); 
    }
    .product-slide {
        flex: 1 0 100%; 
        max-width: 100%; 
    }

    .product-carousel {
        overflow-x: scroll; 
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch; 
    }

    .product-slide {
        scroll-snap-align: start; 
    }
}


/* Seção de Serviços */

.container_service {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    padding: 50px;
    background-color: #f8f8f8;
    gap: 60px; 
}
.sec_servicos {
    padding: 40px;
    background-color: #f8f8f8;
    text-align: center;
}

.service_card {
    width: 100%;
    max-width: 350px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
    overflow: hidden; 
}

.service_card:hover {
    transform: translateY(-8px) rotate(0.5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

.product-image, .service_card img {
    object-fit: cover; 
    height: 200px; 
    border-radius: 8px; 
}

.service-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #3e26ca;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    margin-top: 20px;
}

.service-button:hover {
    background-color: #2a1d94; 
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4); 
    transform: translateY(-3px); 
    color: white;
}

@media (max-width: 768px) {
    .container_service {
        padding: 30px 15px;
        gap: 15px;
    }

    .service_card {
        padding: 20px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .container_service {
        padding: 20px 10px;
    }

    .service_card {
        max-width: 100%;
        padding: 20px;
    }

    .service-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 375px) {
    .container_service {
        padding: 15px;
    }

    .service_card {
        padding: 15px;
    }

    .service-button {
        font-size: 13px;
        padding: 8px 16px;
    }
}


/* Seção de Contacto */

.contact_container {
    background-color: #e0e0e0;
    padding: 40px 20px;
    margin: 20px auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
    width: 100%;
    box-sizing: border-box;
}

.contact_form {
    width: 100%;
    max-width: 500px;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.contact_form:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Títulos e textos */
.contact_form h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.contact_form p {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

/* Campos de entrada */
.input-box {
    margin-bottom: 20px;
    width: 100%;
}

.input-box label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.input-box input[type="text"], 
.input-box input[type="email"], 
.input-box input[type="tel"], 
.input-box textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.input-box input[type="text"]:focus, 
.input-box input[type="email"]:focus, 
.input-box input[type="tel"]:focus, 
.input-box textarea:focus {
    background-color: #fff;
    border-color: #007bff;
    outline: none;
}

/* Estilo do checkbox */
.checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.checkbox input {
    margin-right: 10px;
}

.checkbox a {
    color: #007bff;
    text-decoration: none;
}

.checkbox a:hover {
    text-decoration: underline;
}

/* Botão de envio */
.button input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color:  #3e26ca;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button input[type="submit"]:hover {
    background-color: #2a1d94;
    transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 768px) {
    .contact_form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .contact_form {
        padding: 20px;
    }

    .contact_form h2 {
        font-size: 20px;
    }

    .contact_form p {
        font-size: 14px;
    }

    .input-box input[type="text"], 
    .input-box input[type="email"], 
    .input-box textarea {
        font-size: 14px;
        padding: 12px;
    }

    .button input[type="submit"] {
        font-size: 16px;
        padding: 12px;
    }
}


/* Marcas */ 

.brand-carousel-fila {
    width: 100%;
    overflow: hidden; 
    background-color: #f8f8f8; 
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-track {
    display: flex;
    animation: scrollFila 30s linear infinite;
}

.carousel-item {
    flex: 0 0 auto;
    padding: 10px;
}

.carousel-item img {
    max-width: 120px;
    max-height: 60px;
    filter: grayscale(100%); 
    transition: filter 0.4s, transform 0.4s;
}

.carousel-item:hover img {
    filter: none; 
    transform: scale(1.1); 
}

@keyframes scrollFila {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        max-width: 80px;
        max-height: 40px;
    }
}

/* Estilo do modal (popup escondido inicialmente) */

.privacy-popup {
    display: none; 
    position: fixed;
    z-index: 100; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
}

.popup-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-close {
    color: #333;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.popup-close:hover, .popup-close:focus {
    color: #4a00b3;
}

.popup-content h2 {
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
    color: #4a00b3;
}

.popup-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .popup-content {
        width: 80%;
    }
}



  /* footer */
.site-footer {
    background-color: #333;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-logo {
    flex: 1;
    text-align: left;
    margin: 10px;
}

.footer-logo-img {
    width: 120px;
    margin-bottom: 10px;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    margin: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact p,
.footer-social a {
    color: #ffffff;
    text-decoration: none;
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-social a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #ff7e5f; 
}

.footer-bottom {
    background-color: #222;
    color: #aaaaaa;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.horario-icon {
    width: 20px; 
    height: auto;
}

.popup {
    display: none; /* Esconde o modal por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente */
    justify-content: center;
    align-items: center;
}
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

/* Estilo do container de mapa */
.maps-container {
    position: relative;
    padding-bottom: 40%; 
    height: 0;
    overflow: hidden;
    border-radius: 12px; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.maps-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-item {
        font-size: 14px; 
    }

    .social-media a img {
        width: 24px; 
        height: 24px;
    }
}

.cta-button {
    margin-top: 50px; 
}

.cta-button .btn-primary {
    background-color: gray; 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.cta-button .btn-primary:hover {
    background-color: gray; /* Cor de hover */
}


