body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.alinhamento {
    margin-left: 100px !important;
    margin-right: 100px !important;
}

header {
    background: #ffffff;
    color: #070707;
    padding: 30px 20px;
    text-align: center;
    margin-top: -100px;
    margin-left: 50px;
}

img {
    width: 120px;
    margin-left: 10px;
    margin-top: 10px;
}

main {
    padding: 20px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #dd6f08;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* === BANNER === */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: auto;
    max-height: 600px; /* Pode ajustar esse valor conforme desejar */
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}


.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4 }
    to { opacity: 1 }
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    user-select: none;
    transition: 0.6s ease;
}

.next { right: 0; }

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: rgb(247, 132, 0);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

/* === POUSADAS === */
.produtos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}

.produto {
    width: 20%;
    min-width: 250px; /* Largura mínima para evitar que fiquem muito pequenos */
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza todos os itens horizontalmente */
}

.produto:hover {
    transform: scale(1.06);
}

/* Estilo para a logo da pousada */
.produto img:first-child {
    width: 120px; /* Tamanho fixo para todas as logos */
    height: 120px; /* Altura fixa para manter proporção */
    object-fit: contain; /* Garante que a imagem mantenha proporção */
    margin-bottom: 10px;
}

/* Estilo para a imagem de introdução */
.produto .rotação {
    width: 100%; /* Ocupa toda a largura do card */
    height: 180px; /* Altura fixa para todas as imagens */
    object-fit: cover; /* Preenche o espaço mantendo proporção */
    border: 10px solid white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    margin: 10px 0;
    border-radius: 10px;
    transform: rotate(-8deg);
}

.produto button {
    width: 80%;
    margin-top: 10px;
}

/* Remove as margens específicas das classes de rotação */
.rotação, .rotação2, .rotação3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.modo-escuro .produto {
    background-color: #333;
    color: white;
    font-weight: bold;
}

body.modo-escuro .produto:hover {
    transform: scale(1.06);
}


p {
    font-size: 10px;
    color: black;
}

a {
    color:orange;
}

body.modo-escuro p {
    color:white;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.form-container {
    flex: 1;
    padding: 20px;
}

h2 {
    color: black;
    font-family: cursive;
}

h3 {
    margin-left: 20px;
    font-family: fantasy;
    color: #dd6f08;
    font-size: 30px;
    margin-bottom: -5px;
}

button {
    width: 80px;
    height: 30px;
    background-color: #eb3d12;
    color: white;
    font-size: 14px;
    font-family: fantasy;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.9);
    padding: 5px;
}

/* === MODO ESCURO === */
body.modo-escuro {
    background-color: #333;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

body.modo-escuro a,
body.modo-escuro h2 {
    color: white;
}

body.modo-escuro button[type="submit"] {
    background-color: #333;
    color: white;
}

body.modo-escuro .modal-content {
    background-color: #333;
    color: white;
}

body.modo-escuro h3 {
    text-shadow: 2px 2px 5px white;
}

/* === RESPONSIVIDADE === */
@media screen and (max-width: 1024px) {
    .produto {
        width: 45%;
    }

    .modal-content {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .image-container, .form-container {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    header {
        margin-top: -50px;
        margin-left: 10px;
    }

    .produto {
        width: 90%;
    }

    h3 {
        font-size: 24px;
        margin-left: 10px;
    }

    button {
        width: 100%;
        height: 40px;
    }

    .senha-container input {
        width: 80%;
    }

    .alinhamento {
        margin: 0 10px !important;
    }
}

@media screen and (max-width: 480px) and (max-height: 825px) {
    h2, h3 {
        font-size: 20px;
    }

    .produto {
        width: 100%;
    }

    .modal-content {
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    .mySlides img {
        max-height: 300px;
    }

    .prev, .next {
        font-size: 14px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .mySlides img {
        max-height: 200px;
    }

    .prev, .next {
        font-size: 12px;
        padding: 8px;
    }
}


.img_logo {
    transition: transform 0.3s ease-in-out;
}

.img_logo:hover {
    transform:scale(1.07);
}

.rotação, .rotação2, .rotação3 {
  width: 350px;          /* tamanho ideal para desktop */
  max-width: 100%;       /* garante que em telas menores, a imagem não ultrapasse o contêiner */
  height: auto;
  border: 10px solid white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
  margin: 0 15px 22px 15px;
  border-radius: 10px;
  margin-top: 10px;
}

.rotação { transform: rotate(-6deg); }
.rotação2 { transform: rotate(-10deg); margin-left: -65px; }
.rotação3 { transform: rotate(8deg); }

.rotação:hover,
.rotação2:hover,
.rotação3:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .rotação, .rotação2, .rotação3 {
    width: 100%;        /* ocupa toda a largura disponível */
    margin-left: 0;
    transform: none;    /* remove rotação se quiser simplicidade no mobile */
  }
}

.mapa {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

.mapa2 {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
    display: block;
}