
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #333;
}

.header-space {
    background: url("sua-imagem-de-capa.jpg") center/cover no-repeat;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(5, 5, 80);

    header {
        text-align: center;
        width: 60%;
        color: white;
        text-shadow: 0 0 10px rgba(0,0,0,0.5);
        font-size: 2.5rem;
        font-weight: bold;
    }
}

.container {
    max-width: 80%;
    margin: auto;
    padding: 20px;
}

h2 {
    margin-top: 20px;
    text-align: center;
}

.divider {
    border-radius: 4px;
    height: 5px;
    width: 120px;
    background-color: rgb(5, 5, 80);
    margin: 30px auto;
}

p {
    line-height: 1.6;
    text-align: center;
    font-size: 1.1rem;
}

.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.galeria img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #555;
}

/* Carousel styles */
.carousel {
    max-width: 900px;
    margin: 30px auto;
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Deslocamento para foto2 */
.carousel-slide:nth-child(2) img {
    object-position: center -240px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-button.prev { left: 12px; }
.carousel-button.next { right: 12px; }
.carousel-button:hover { background: rgba(0,0,0,0.65); }
.carousel-button:focus { outline: 2px solid #fff; }

.carousel-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
}

.carousel-indicator.current-slide { background: rgb(5,5,80); }

@media (max-width: 600px) {
    .carousel-slide img { height: 200px; }
    .header-space header { font-size: 1.6rem; width: 90%; }
}