/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho */
header {
    background-color: #000;
    color: #c5b445;
    padding: 20px 0;
    border-bottom: 2px solid #c5b445;
    position: relative;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #c5b445;
}

.menu-desktop ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu-desktop ul li a {
    color: #c5b445;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu-desktop ul li a:hover {
    color: #fff;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #c5b445;
    font-size: 1.5em;
    cursor: pointer;
}

.menu-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background-color: #1a1a1a;
    transition: left 0.3s ease;
    z-index: 1000;
}

.menu-mobile.active {
    left: 0;
}

.menu-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 60px;
}

.menu-mobile ul li a {
    display: block;
    padding: 15px 20px;
    color: #c5b445;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

.menu-mobile ul li a:hover {
    background-color: #333;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Seção Hero (Galeria de Imagens) */
.hero {
    padding: 10px 0; /* Reduz o padding superior e inferior */
    background-color: #1a1a1a;
    position: relative;
}

.gallery {
    display: flex;
    overflow-x: hidden; /* Remove a barra de rolagem horizontal */
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 20px;
    scroll-behavior: smooth;
    max-width: 1200px; /* Limita a largura máxima da galeria */
    margin: 0 auto; /* Centraliza a galeria */
}

.gallery-item {
    flex: 0 0 calc(100% - 40px);
    scroll-snap-align: start;
    border-radius: 15px; /* Bordas arredondadas */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3; /* Proporção 16:9 */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000; /* Fundo para espaços vazios */
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 15px; /* Bordas arredondadas */
}

.gallery-item.placeholder {
    background-color: #fff;
    border: 2px dashed #c5b445;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5b445;
    font-size: 1.2em;
    text-align: center;
}

.gallery-item.placeholder::before {
   
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

/* Controles da Galeria */
.gallery-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 30px;
}

.gallery-arrow {
    background: none;
    border: none;
    color: #c5b445;
    font-size: 2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gallery-arrow:hover {
    color: #fff;
}

.gallery-counter {
    color: #c5b445;
    font-size: 1.2em;
}

/* Responsividade para a galeria */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 calc(100% - 20px);
    }
}
/* Responsividade para o carrossel */
/* Responsividade para o carrossel */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 50%; /* Mostra 2 imagens por vez em dispositivos móveis */
    }
}

/* Responsividade para o carrossel */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 50%; /* Mostra 2 imagens por vez em dispositivos móveis */
    }
}

/* Seção Sobre */
.sobre {
    padding: 50px 0;
    background-color: #1a1a1a;
}

.sobre h2 {
    color: #c5b445;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.sobre-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.advogado-card {
    display: flex;
    align-items: center;
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advogado-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.advogado-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.advogado-info {
    flex: 1;
}

.advogado-info h3 {
    color: #c5b445;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.advogado-info p {
    font-size: 1em;
    line-height: 1.6;
    color: #fff;
}

/* Responsividade para a seção Sobre */
@media (max-width: 768px) {
    .advogado-card {
        flex-direction: column;
        text-align: center;
    }

    .advogado-card img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Seção Serviços */
.servicos {
    padding: 50px 0;
    background-color: #000;
}

.servicos h2 {
    color: #c5b445;
    font-size: 2em;
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.service-item i {
    font-size: 2em;
    color: #c5b445;
    margin-bottom: 10px;
}

.service-item h3 {
    color: #c5b445;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #fff;
}

/* Seção Contato */
.contato {
    padding: 50px 0;
    background-color: #1a1a1a;
}

.contato h2 {
    color: #c5b445;
    font-size: 2em;
    margin-bottom: 30px;
}

.contato form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contato form input, .contato form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #c5b445;
    background-color: #000;
    color: #fff;
    font-size: 1em;
}

.contato form button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #c5b445;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.contato form button:hover {
    background-color: #ffd700;
}

/* Botão do zapzap */
.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button i {
    margin-right: 10px;
}

/* Seção Localização */
.localizacao {
    padding: 50px 0;
    background-color: #000;
}

.localizacao h2 {
    color: #c5b445;
    font-size: 2em;
    margin-bottom: 20px;
}

.localizacao-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.endereco {
    flex: 1;
    text-align: left;
}

.endereco h3 {
    color: #c5b445;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.endereco p {
    font-size: 1em;
    line-height: 1.6;
    color: #fff;
}

.mapa {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mapa iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Rodapé */
footer {
    background-color: #000;
    color: #c5b445;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #c5b445;
}

.social-links a {
    color: #c5b445;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c5b445;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-desktop {
        display: none;
    }

    .localizacao-content {
        flex-direction: column;
    }

    .endereco, .mapa {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .carousel-item img {
        height: 200px;
    }
}
nav.menu-mobile {
    transition: left 0.3s ease;
}
html {
    scroll-behavior: smooth;
}