/* Estilo Geral */
body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    margin: 0;
    background: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/fundo.jpg') no-repeat center center fixed;
    background-size: cover;
}

header {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
}

header img {
    max-height: 80px;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2.5em;
    margin: 10px 0;
}

header p {
    font-size: 1.2em;
    margin: 5px 0;
}

nav {
    margin-top: 15px;
}

nav a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.1em;
}

nav a:hover {
    color: #fff;
}

.container {
    padding: 20px;
    max-width: 1200px; /* Define uma largura máxima */
    margin: 0 auto;    /* Centraliza o container */
}

section {
    margin-bottom: 40px;
    padding-top: 100px; /* Para compensar o cabeçalho fixo */
    margin-top: -100px;
    max-width: 800px; /* Define uma largura máxima para os textos */
    margin-left: auto;
    margin-right: auto;
    text-align: justify; /* Justifica o texto para melhor leitura */
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

ul {
    padding-left: 20px;
    line-height: 1.8;
}

footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    margin-top: 20px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* Responsividade */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    nav a {
        font-size: 0.9em;
    }
}

/* Estilo do Carrossel */
.aluguel-carrossel {
    position: relative;
    width: 100%; /* Define tamanho do carrocel */
    margin-top: 20px;
}

.carrossel-container {
    overflow: hidden; /* Oculta as imagens fora da área visível */
    width: 50%; /* Define a largura do carrossel */
    position: relative;
}

.carrossel-imagens {
    display: flex; /* Exibe as imagens lado a lado */
    transition: transform 0.5s ease-in-out; /* Adiciona uma transição suave */
    width: 100%; /* Garante que as imagens ocupem a largura total */
}

.carrossel-imagem {
    flex: 0 0 100%; /* Cada imagem ocupa 100% da largura visível */
    max-width: 100%;
}


button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover, button.next:hover {
    background: rgba(0, 0, 0, 0.8);
}
