/* =================================
   Configurações Globais e Variáveis
   ================================= */
:root {
    --green: #32a852;
    --orange: #e8772e;
    --brown: #594a3c;
    --cream: #f5f5dc;
    --white: #ffffff;
    --brown2: #3d2500;
    

    --font-display: 'Pacifico', cursive;
    --font-text: 'Poppins', sans-serif;

    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--cream);
    color: var(--brown);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-text);
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 2rem;
    font-weight: normal;
}

.text-center {
    text-align: center;
}

/* =================================
   Header e Navegação
   ================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--header-height);
    background-color: var(--cream);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: background-color 0.3s;
}

.logo img {
    max-height: 45px;
    display: block;
}

.navbar a {
    text-decoration: none;
    color: var( --brown);
    font-weight: 600;
    margin-left: 30px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--orange);
}

.btn-contact {
    background-color: var(--orange);
    color: var(--cream);
    padding: 10px 20px;
    border-radius: 50px;
}


#btn-contact:hover{
    color: var(--white);
    opacity: 0.9;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--brown);
    transition: all 0.3s ease-in-out;
}

/* =================================
   Seção Hero (Início)
   ================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brown2);
    background-image: url(src/Textura-1---Marrom.png);

}

.hero-content {
    z-index: 1;
    padding: 0 20px;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
}

.hero-slogan {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    color: var(--orange);
}

/* =================================
   Seção Pilares
   ================================= */
.pillars {
    padding: 80px 0;
    background-color: var(--cream);
}

.pillars .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.pillar-item h3 {
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* =================================
   Seção Sobre
   ================================= */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
}

.about-content {
    flex: 1.2;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content p {
    line-height: 1.8;
}

/* =================================
   Seção Serviços
   ================================= */
.services {
    padding: 80px 0;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
}

.service-card h4 {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* =================================
   Seção Portfólio
   ================================= */
.portfolio {
    padding: 80px 0;
    background-color: var(--white);
}

/* =================================
   Seção Contato
   ================================= */
.contact {
    padding: 80px 0;
    background-color: var(--brown);
    color: var(--cream);
}

.contact .section-title {
    color: var(--cream);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-family: var(--font-text);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cream);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(245, 245, 220, 0.7);
}

.btn-submit {
    background-color: var(--orange);
    color: var(--cream);
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

/* =================================
   Footer
   ================================= */
.footer {
    background-color: #4a3e32;
    color: var(--cream);
    padding: 40px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links a {
    color: var(--cream);
    text-decoration: none;
    margin-left: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--orange);
    transform: scale(1.05);
}

.social-links a i {
    font-size: 1.6rem;
}

/* =================================
   Animações de Scroll
   ================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================================
   Estilos dos Carrosséis (Swiper)
   ================================= */
.swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px; 
}

/* Estilos para o carrossel de Portfólio */
.portfolio .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 48%;
    height: auto;
}

.portfolio .swiper-slide img {
    display: block;
    width: 100%;
    border-radius: 10px;
    cursor: pointer; /
}

.portfolio .swiper-pagination-bullet-active {
    background-color: var(--orange);
}

/* Estilos para o carrossel de Serviços */
.services .swiper-slide {
    height: auto;
}

.services .service-card {
    height: 100%;
}

.services .swiper-pagination-services .swiper-pagination-bullet-active {
    background-color: var(--orange);
}

/* =================================
   Responsividade (Mobile)
   ================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        max-width: 90%;
    }
    
    .hero-slogan {
        font-size: 1rem;
    }

    .navbar {
        position: absolute;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--cream);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease-in-out;
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        font-size: 1.5rem;
        margin-left: 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-container {
        flex-direction: column;
    }
    
    .portfolio .swiper-slide {
        width: 100%; 
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        display: flex;
    }
    
    .social-links a {
        margin: 0 10px;
    }
}