* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #E8E2D8;
    background-size: contain;
    background-position: center;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 10px;
}

.titulo {
    display: inline-block;
    background-color: #071d3a;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 18px;
}

.texto {
    display: inline-block;
    background-color: #000000;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
}

h1 {
    text-align: center;
    color: #fff;
    background: url('https://lh3.googleusercontent.com/proxy/r65p1Zl1he2C6P5gMzl0HzTBILfRLj6UhlPGIIsUCguNTlEsXp37MVKdsZ-NbgYO563b2AZA5s1SQq_yfCXGCpXrh-vNM3KGvn9MmLpcUXUdagumfbSDIDErKwqF4n6f-jy1o0zct88um_20tyDPgNqi81hi36mjnCEZVg') center/cover no-repeat;
    padding: 40px 20px;
    font-size: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    margin: 15px 0;
    border-radius: 15px;
    background-color: #fff;
    color: #1b1b1b;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.card.blue { background-color: #dbe9f9; color: #1b3a5a; }
.card.yellow { background-color: #fff3d9; color: #8c6239; }
.card.brown { background-color: #fff3d9; color: #583f25; }
.card.red { background-color: #fcd9d9; color: #a83232; }
.card.green { background-color: #d9e8d9; color: #3a5a3a; }
.card.lightblue { background-color: #dbe9f9; color: #1b3a5a; }
.card.lightyellow { background-color: #fff3d9; color: #8c6239; }

.card i {
    font-size: 44px;
    margin-right: 6px;
}

.card-content {
    flex: 1;
    font-size: 18px;
    min-width: 250px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.location-icon {
    font-size: 20px;
    margin-left: 5px;
}

/* Imagens */
.icon-right {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 5px;
    border-radius: 5px;
    object-fit: contain;
}

/* Imagens redondas*/
.icon-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 1024px) {
    .card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .card-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 20px;
        padding: 30px 10px;
    }
    .titulo {
        font-size: 16px;
    }
    .card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .card i {
        font-size: 36px;
    }
    .card-title {
        font-size: 18px;
    }
    .icon-right {
        width: 100%;
        max-width: 100%;
    }
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgba(0,0,0,0.8); 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

#caption {
    margin: auto;
    text-align: center;
    color: #fff;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.menu-categorias {
  text-align: center;
  margin: 20px 0;
}

.menu-btn {
  background-color: #fff;
  border: 2px solid #071d3a;
  color: #071d3a;
  padding: 8px 15px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}

.menu-btn:hover {
  background-color: #071d3a;
  color: #fff;
}

.menu-btn.active {
  background-color: #071d3a;
  color: #fff;
}

.categoria {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.material-icons {
  font-size: 40px;
  color: inherit;
  vertical-align: middle;
  margin-right: 10px;
}

/* Carrossel dentro dos cards */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.carousel-images {
  display: flex;
  transition: transform 0.4s ease-in-out;
  justify-content: center;
  align-items: center;
}

.carousel-images img {
  width: auto;           /* largura automática */
  max-width: 100%;       /* nunca ultrapassa a largura do carrossel */
  height: auto;          /* mantém proporção original */
  max-height: 250px;     /* ajusta à altura máxima do card */
  display: none;
}

.carousel-images img.active {
  display: block;
}

/* Setas */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 5px 8px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.carousel button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel .prev {
  left: 8px;
}

.carousel .next {
  right: 8px;
}