body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #161A1E;
}

.header-scrolled {
    background-color: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.swiper-container {
    width: 100%;
    height: 80vh;
    /* Altura aumentada para melhor visualização */
}

.swiper-container .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Gradiente sobre a imagem */
.swiper-container .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.swiper-container img {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
}

/* --- ESTILO REFINADO DAS SETAS DO CARROSSEL (ESTILIZANDO O NATIVO) --- */
.swiper-button-next,
.swiper-button-prev {
    /* Posicionamento e Tamanho */
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);

    /* Aparência */
    border-radius: 9999px;
    /* Círculo perfeito */
    color: #ffffff;
    /* Cor da seta nativa para o laranja do site */

    /* Efeitos e Transições */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Ajusta o tamanho do ícone da seta nativa */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    /* Seta menor */
    font-weight: 800;
    /* Deixa a seta mais "grossa" */
}

/* Mostra as setas quando o mouse está sobre o carrossel */
.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
    opacity: 1;
    /* Opacidade total ao aparecer */
    visibility: visible;
}

/* Efeito de hover na própria seta */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.05);
}

.swiper-pagination-bullet-active {
    background: #F35B28 !important;
}

/* Estilo da legenda */
.photo-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    color: white;
    text-align: left;
}

.photo-caption h4 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.photo-caption p {
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .photo-caption h4 {
        font-size: 2.25rem;
    }
}

/* --- Início: Estilos para Menu Hambúrguer Animado --- */
.menu-button {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 1s ease;
}

.menu-line {
    display: block;
    width: 24px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: background-color 0.5s ease;
}

.menu-line::before,
.menu-line::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    border-radius: 2px;
    position: absolute;
    transition: 1s;
}

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

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

/* Animação do Estado Ativo */
.menu-button.active {
    transform: rotate(360deg);
    border-radius: 50%;
}

.menu-button.active .menu-line {
    background: transparent;
}

.menu-button.active .menu-line::before {
    top: 0;
    transform: rotate(45deg);
    background: #F35B28;
}

.menu-button.active .menu-line::after {
    top: 0;
    transform: rotate(-45deg);
    background: #F35B28;
}

/* --- Fim: Estilos para Menu Hambúrguer Animado --- */

/* --- Início: Animação do Menu Mobile --- */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* --- Fim: Animação do Menu Mobile --- */

/* Dropdown Styles */
.dropdown-menu {
    min-width: 280px;
    /* Largura mínima do dropdown */
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    max-height: 240px;
    /* Altura máxima para ativar o scroll */
    overflow-y: auto;
    /* Adiciona scroll quando necessário */
}

.group:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown-menu a:hover {
    color: #000000;
    background-color: #F3F4F6;
    /* bg-gray-100 */
}

/* Estilo para o item selecionado no dropdown */
.dropdown-menu a.selected-project {
    background-color: #FEF2EE;
    /* Laranja bem claro */
    color: #F35B28;
    font-weight: 700;
}

.dropdown-menu a.selected-project span {
    color: #F35B28 !important;
}

/* Custom Scrollbar for Dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}