/* Estilos Gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #333;
    line-height: 1.6;
}

.container-logo,
.container-other {
    width: 100%; /* Ocupa a largura total em mobile */
    padding: 0 15px;
    box-sizing: border-box;
}

.container-other {
    color: #000000; /* Pode ser ajustado se o fundo for escuro e o texto precisar ser visível */
    text-align: center; /* Centraliza o conteúdo do container-other em mobile */
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 15px; /* Adicionado padding lateral para mobile */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Em mobile, empilha os itens verticalmente */
    align-items: center; /* Centraliza itens horizontalmente em mobile */
    text-align: center;
}

.navbar-brand {
    background-color: #ffffff; /* Pode ser removido se o fundo da navbar for suficiente */
    color: #000000;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px; /* Espaço abaixo do brand em mobile */
}

/* Conteúdo Principal */
.content {
    background-color: #000000;
    padding: 30px 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px auto;
    max-width: 90%;
}

.content h2 {
    margin-top: 0;
    color: #ffd000;
    font-size: 24px;
    text-align: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.input-group input[type="text"] {
    width: 90%;
    max-width: 300px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    margin-bottom: 10px;
}

.input-group button {
    width: 90%;
    max-width: 300px;
    padding: 12px 20px;
    background-color: #ffd000;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.input-group button:hover {
    background-color: #f8e698;
}

.error-message {
    color: #dc3545;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
}

/* Slideshow */
.slideshow {
    overflow: hidden;
    margin-top: 20px;
}

.slideshow .img-wrapper {
    display: none; /* Mantido para ser ativado via JS ou outra classe 'active' */
    height: 40vh; /* Altura ajustada para mobile */
    width: 100%;
    display: flex; /* Usar flexbox para centralizar a imagem */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    overflow: hidden; /* Garante que nada vaze */
    position: relative; /* Added for proper object-fit behavior */
}

.slideshow .img-wrapper img {
    /* Removed max-width and height: auto here for more control */
    width: 100%; /* Ensure image takes full width of its wrapper */
    height: 100%; /* Ensure image takes full height of its wrapper */
    object-fit: contain; /* Reduz a imagem para que caiba completamente dentro do contêiner em mobile */
    display: block;
    position: absolute; /* Added for proper object-fit behavior */
    top: 0;
    left: 0;
}


.slideshow .dots {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 15px 0;
}

.slideshow .dots > .dot {
    background: #fff;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    margin: 0 5px;
    flex-grow: 0;
    cursor: pointer;
}

.slideshow .dots > .dot.active {
    background: #ffd000;
}

/* --- Media Queries para Telas Maiores --- */

@media (min-width: 768px) {
    /* Ajustes para tablets e desktops */
    .navbar {
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center; 
        padding: 15px 50px; 
    }

    .navbar-brand {
        margin-bottom: 0; 
        flex-shrink: 0; 
    }

    .container-logo {
        padding: 0; 
    }

    .container-other {
        padding: 0; 
    }

    .content {
        padding: 40px;
        padding-top: 6%;
        padding-bottom: 6%;
        max-width: 800px;
    }

    .content h2 {
        font-size: 28px;
    }

    .input-group {
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
    }

    .input-group input[type="text"] {
        width: 300px;
        border-radius: 4px 0 0 4px;
        margin-bottom: 0;
    }

    .input-group button {
        width: auto;
        border-radius: 0 4px 4px 0;
    }

    .slideshow .img-wrapper {
        height: 55vh;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .slideshow .img-wrapper img {
        height: 100%;
        object-fit: cover; /* Changed to cover for larger screens as per original intent */
        width: 100%;
    }

    .slideshow .dots {
        max-width: 600px;
        margin: auto;
        padding: 0;
    }

    .slideshow .dots > .dot {
        height: 5px;
        width: auto;
        margin: -1.4em 3vw;
        flex-grow: 1;
    }
}