body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    text-align: center;
    border: none;
    background-color: white !important;
    border-bottom: none !important; /* Remove qualquer linha de separação */
}

/* Logo maior e mais espaçada */
.navbar-brand img {
    height: 90px; /* Aumentei o tamanho da logo */
    margin-right: 40px; /* Aumentei a distância entre logo e itens do menu */
}

/* Centralizar navbar e aumentar espaçamento entre itens */
.navbar-nav {
    text-align: center;
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 40px; /* Aumentei o espaçamento entre os itens */
}

/* Ajuste para evitar sobreposição da navbar */
.header {
    margin-top: 200px; /* Empurra a imagem um pouco para baixo */
}

.header .capa {
    width: 100%;
    max-width: 1200px; /* Mantém o tamanho grande da imagem */
    display: block;
    margin: 0 auto;
}

/* Ajuste para margens laterais */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Estilização das imagens */
/* .image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
} */

/* .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
} */

/* Estilo do botão do WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 1000;
}

.whatsapp-button img {
    width: 70px;
    height: 70px;
}

/* Trabalhos Recentes */
#trabalhos {
    text-align: center;
}

#trabalhos h2 {
    font-size: 24px;
    font-weight: bold;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* Trabalhos Recentes - Efeito Hover */
.image-container {
    position: relative;
    overflow: hidden;
}

/*Portifólio*/
/* Imagem com efeito de zoom e transparência */
.image-container img {
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ao passar o mouse, aplica opacidade apenas na IMAGEM */
.image-container:hover img {
    transform: scale(1.05);
    opacity: 0.4;
}

/* Criando o triângulo "VEJA MAIS" no canto superior esquerdo */
.triangulo {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 50px solid black;
    border-top: 50px solid black;
    border-right: 50px solid transparent;
    border-bottom: 50px solid transparent;
    display: none; /* Oculta por padrão */
    z-index: 2; /* Sobrepondo a imagem */
}

/* Texto dentro do triângulo - Agora CENTRALIZADO */
.triangulo span {
    position: absolute;
    top: -20px; /* Ajuste para centralizar */
    left: -45px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-45deg);
    white-space: nowrap;
    text-align: center;
    z-index: 3; /* Garante que o texto também fique sobre a imagem */
}

/* Exibir triângulo e texto apenas no hover */
.image-container:hover .triangulo {
    display: block;
}

/* Garante que o TRIÂNGULO e o TEXTO fiquem SEM OPACIDADE */
.triangulo,
.triangulo span {
    opacity: 1 !important;
}

.photo-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.photo-container img {
    transition: transform 0.3s ease;
}

.photo-container:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.photo-container:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay::after {
    content: "\1F50D"; /* Unicode da lupa */
    font-size: 48px;
    color: white;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox.show {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Botão fechar (X) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1060;
}

.lightbox-close:hover {
    color: white;
}

/* Setas */
.lightbox-nav {
    position: absolute;
    top: 50%;
    background: none;
    border: none;
    font-size: 40px;
    color: #ddd;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.3s ease;
    z-index: 1060;
    user-select: none;
}

.lightbox-nav:hover {
    color: white;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}


/* Ajuste da Navbar no Mobile */
@media (max-width: 991px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .navbar-brand img {
        height: 60px; /* Logo menor no mobile */
    }

    /* Ícone do menu burger */
    .navbar-toggler {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        border: none !important;
        background: transparent !important;
    }

    /* Transformação do ícone do menu */
    .menu-icon {
        width: 30px;
        height: 3px;
        background: black;
        display: block;
        position: relative;
        transition: all 0.3s ease;
    }

    .menu-icon::before, .menu-icon::after {
        content: '';
        width: 30px;
        height: 3px;
        background: black;
        position: absolute;
        transition: all 0.3s ease;
    }

    .menu-icon::before {
        top: -8px;
    }

    .menu-icon::after {
        top: 8px;
    }

    .navbar-toggler.active .menu-icon {
        background: transparent;
    }

    .navbar-toggler.active .menu-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navbar-toggler.active .menu-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Ajuste da foto de capa */
    .header .capa {
        width: 90%;
        height: 100%;
        display: block;
        margin: 0 auto;
        object-fit: cover;
        margin-top: -100px; /* Reduzi a margem superior */
    }

    /* Ajuste para margens laterais */
    .container {
        max-width: 250px;
        margin: 0 auto;
        padding: 0 15px;
    }
}

/* Ajuste do WhatsApp no Mobile */
@media (max-width: 768px) {
    .whatsapp-button img {
        width: 50px;
        height: 50px;
    }
}

/* Ajuste da foto de capa no mobile */
@media (max-width: 768px) {
    .header .capa {
        margin-top: -100px; /* Reduz ainda mais no mobile */
    }
}

/* Ajuste das imagens de amostra no Portfólio */
.image-container img {
    width: 100%;
    height: 400px; /* Mantendo proporção da foto de capa */
    object-fit: cover; /* Garante o corte adequado */
}

/* Ajuste para tablets */
@media (max-width: 991px) {
    .image-container img {
        height: 350px; /* Reduz a altura um pouco em telas médias */
    }
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .image-container img {
        height: 180px !important;
    }
}


@media (max-width: 768px) {
    #portfolio-completo h2 {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 768px) {
    .ajuste-navbar {
        height: 80px !important;
    }

    #portfolio-completo h2 {
        margin-bottom: 10px !important;
    }
}