/* Importação de Fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Bebas+Neue&display=swap');

/* Estilos Globais */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff5722;
    --text-color: #f0f0f0;
}

body {
    /* ... outros estilos ... */
        overflow-x: hidden;
        /* Garante que não haja barra de rolagem horizontal */
    background-color: #000;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

/* Header e Navegação */
/* Header principal */
.main-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    /* Garante que o padding não adicione largura extra */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

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

/* Container da navegação */
.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    /* Permite que os itens se quebrem em várias linhas */
    justify-content: flex-end;
    /* Alinha os itens à direita */
    margin: 0;
    padding: 0;
}

/* Estilos para os links de navegação */
.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 0.6rem;
    /* Reduz o espaçamento lateral para evitar cortes */
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

/* --- Responsividade do Menu --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Novo ajuste para o mobile */
    .nav-links li a {
        font-size: 1.5rem;
        /* Aumenta o tamanho da fonte para ser mais fácil de clicar */
        padding: 1rem;
    }
}

/* Seções de Conteúdo */
.content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('assets/img/hero_background.jpg') no-repeat center center/cover;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 4em;
}

.hero-content p {
    font-size: 1.2em;
}

/* Botões de CTA */
.cta-buttons {
    display: flex;
    /* Define o container como flexível */
    gap: 20px;
    /* Cria um espaçamento entre os botões */
    margin-top: 20px;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: white;
    margin-right: 15px;
}

.secondary-btn {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}

/* Seção Sobre */
.about-section {
    background: var(--primary-color);
    border-radius: 10px;
}

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

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 2;
}

.instagram-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Galeria de Artes */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.art-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.art-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.art-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.art-item:hover .overlay {
    transform: translateY(0);
}

/* Rodapé */
.main-footer {
    background: var(--primary-color);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .about-flex-container {
        flex-direction: column;
    }
}

/* --- Menu Fixo e Animação de Rolagem --- */
html {
    scroll-behavior: smooth;
    /* Habilita a rolagem suave em todo o site */
}

.main-header {
    background: rgba(0, 0, 0, 0.8);
    /* Fundo semi-transparente para o menu */
    padding: 1rem 2rem;
    position: fixed;
    /* O menu agora é fixo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
    /* Efeito de desfoque moderno */
    -webkit-backdrop-filter: blur(5px);
}

/* --- Estilos para a Página de Contato --- */
.contact-section {
    min-height: calc(100vh - 100px);
    /* Ajusta a altura para que o conteúdo preencha a tela */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
}

.contact-subtitle {
    text-align: center;
    max-width: 500px;
    margin-bottom: 40px;
}

.contact-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 350px;
}

.contact-button {
    text-align: center;
    padding: 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
}

.instagram-button {
    background-color: #E1306C;
    color: white;
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* --- Rodapé Otimizado --- */
.main-footer {
    background: #1a1a1a;
    text-align: center;
    padding: 15px;
    /* Reduz a altura */
    margin-top: 50px;
}

/* Estilos para o Lightbox (Modal) */
.lightbox {
    display: none;
    /* ESSENCIAL: Oculta o modal por padrão */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Centraliza o conteúdo com flexbox quando visível */
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover {
    color: #bbb;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #f1f1f1;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px;
    transition: 0.3s;
}

.nav-btn:hover {
    color: #bbb;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.lightbox-info {
    color: white;
    text-align: center;
    max-width: 80%;
    padding: 10px 20px;
}

#lightbox-title {
    margin: 0 0 5px;
    font-size: 1.5em;
}

#lightbox-description {
    margin: 0;
    font-size: 1em;
}

@media (max-width: 768px) {
    .lightbox-content {
        padding: 10px;
    }

    .nav-btn {
        font-size: 30px;
        padding: 10px;
    }

    #lightbox-title {
        font-size: 1.2em;
    }

    #lightbox-description {
        font-size: 0.9em;
    }
}

/* --- Responsividade para a Seção Hero --- */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh; /* Ajusta a altura em telas menores */
    }

    .hero-content {
        max-width: 90%;
        text-align: center; /* Centraliza o texto para melhor leitura */
        padding: 0 15px; /* Adiciona espaçamento interno */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Diminui o tamanho da fonte para caber na tela */
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column; /* Empilha os botões um sobre o outro */
        gap: 15px; /* Cria um espaçamento entre os botões */
        width: 100%;
        max-width: 300px; /* Limita a largura dos botões */
    }

    .cta-button {
        width: 100%; /* Garante que os botões ocupem a largura total */
        padding: 12px 0; /* Ajusta o padding para melhor toque */
    }

    /* Ajuste do menu de navegação em telas menores */
    .navbar {
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* Ajusta a posição para ficar abaixo do cabeçalho */
        right: 0;
        width: 100%;
        height: auto;
        padding: 20px 0;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .hamburger {
        display: block; /* Garante que o ícone do hambúrguer apareça */
        z-index: 100;
    }

    .logo {
        position: relative;
        z-index: 101;
    }

    /* Ajuste para a galeria de arte */
    .gallery {
        grid-template-columns: 1fr; /* Muda para uma única coluna em telas pequenas */
    }
}
/* --- Responsividade para Celular (Media Query) --- */
@media (max-width: 768px) {

    /* Ajustes na navegação (hambúrguer) */
    .navbar {
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        height: auto;
        padding: 20px 0;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .hamburger {
        display: block;
        z-index: 100;
    }

    .logo {
        position: relative;
        z-index: 101;
    }

    /* Ajustes na Seção Hero (Texto e Botões) */
    .hero-section {
        height: 80vh;
        /* Alinha o conteúdo na parte inferior da tela */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        padding-bottom: 30px;
        /* Espaço para o conteúdo não grudar no rodapé */
    }

    .hero-content {
        max-width: 90%;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        /* Agora esta regra irá funcionar */
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-button {
        width: 100%;
        padding: 12px 0;
    }
    /* Ajuste para a galeria de arte */
    .gallery {
        grid-template-columns: 1fr;
    }

    /* Ajustes para a seção 'Sobre' */
    .about-flex-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-bottom: 20px;
    }
}

/* Estilos para o zoom na imagem do modal */
#lightbox-image.zoomable {
    cursor: zoom-in;
}

/* Estilo para a lupa quando a imagem está normal */
#lightbox-image {
    cursor: zoom-in;
}

/* Estilo para a mãozinha quando a imagem está com zoom */
#lightbox-image.zoomed {
    cursor: grab;
    /* REMOVA A LINHA ABAIXO */
    /* transform: scale(2); */
}