/* Import Google Fonts used in the project */
@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Chewy&family=Cabin:wght@400;700&display=swap');

.texto-menor {
    font-size: 20px;
    color: #818181;
    line-height: 20px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}

.texto-maior{
    font-size: 45px;
    color: #00C5B7;
    line-height: 45px;
    text-align: center;
    /* Chewy loaded from Google Fonts above; fallback to cursive */
    font-family: 'Chewy', cursive;
    margin-bottom: 10px;
}

.banner-full {
    /* Make the image fully responsive and avoid cropping */
    display: block;
    width: 100%;
    border: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw); padding: 0; }

.banner-wrapper{
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    overflow: hidden;
}

.banner-wrapper img.banner-full{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 70vh;
}

.banner-full-bg{
    width: 100vw;
    height: 300px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.br-button {
    font-size: 24px;
    font-family: 'Bubblegum Sans', cursive;
    margin: 0 8px;
    font-weight: bold;
    color: #4B1C0E;
    background: transparent;
    border: 2px solid transparent;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
}

.br-button.active {
    background: #f0f0f0;
    border-color: #e0cfc6;
}

#galeria-pets {
    padding: 0 12px; /* small side padding so images don't touch viewport edges */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 361px);
    justify-content: center; /* center the grid when container wider */
    gap: 8px; /* small gap between items */
    width: 100%;
    box-sizing: border-box;
}

.gallery-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px; /* espaçamento entre os cards */
  justify-items: center;
}

.gallery-item2 {
  width: 100%;
  max-width: 200px;
  text-align: center;
}

.gallery-item2 img.thumb {
  width: 100%;
  height: auto;
  border: 1px solid #ccc; /* borda leve */
  border-radius: 8px;      /* cantos arredondados */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* sombra suave */
}



/* mobile / small screens: 2 columns */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    .gallery-grid img.thumb {
        width: 100%;
        height: 180px; /* slightly smaller on mobile */
    }
    .pet-name {
        font-size: 18px;
    }
    .banner-full-bg {
        width: 100vw;
        height: 300px;
    }
    .gallery-grid2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap:8px;
    }
}

@media (max-width: 420px) {
    .gallery-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* fixed thumbnail size on desktop */
.gallery-grid img.thumb {
    width: 291px;
    height: 287px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.gallery-item {
    text-align: center;
    line-height: 1;
    margin: 20px;
}

.gallery-item2 img.thumb {
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.gallery-item2 {
    text-align: center;
    line-height: 1;
    margin: 0;
}

.pet-name {
    display: block;
    width: 100%;
    text-align: center;
    color: #4B1C0E;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 24px;
    margin-top: 8px;
}

.img-secretaria {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Layout para imagem + texto lado a lado */
.gallery-grid_info {
    display: flex;
    align-items: center;       /* alinha verticalmente imagem e texto */
    justify-content: center;   /* centraliza o bloco dentro do container */
    gap: 24px;                 /* espaço entre imagem e texto */
    padding: 16px;
    box-sizing: border-box;
    flex-wrap: wrap;           /* permite empilhar em telas pequenas */
}

.gallery-grid_info .img-secretaria,
.gallery-grid_info #img-info {
    width: 705px;              /* largura fixa quando houver espaço */
    max-width: 100%;          /* não ultrapassa o container em telas pequenas */
    height: auto;
    border-radius: 12px;
    display: block;
}

.gallery-grid_info p {
    flex: 1 1 300px;           /* ocupa o espaço restante, mas tem tamanho mínimo */
    font-size: 17px;
    font-family: Cabin, sans-serif;
    line-height: 1.6;
    color: #5C6265;
}

/* Em telas menores, empilhamos imagem e texto e centralizamos o conteúdo */
@media (max-width: 768px) {
    .gallery-grid_info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .gallery-grid_info p {
        text-align: center;
        padding: 12px 8px 0 8px;
    }
}

#img-info {
    object-fit: cover;
    border-radius: 12px;
}

/*Para mobile: */

.texto-maior-subtitulo{
    font-size: 4em;
    color: #00C5B7;
    line-height: 45px;
    text-align: center;
    /* Chewy loaded from Google Fonts above; fallback to cursive */
    font-family: 'Chewy', cursive;
    margin-bottom: 30px;
}

.br-button.active {
  background-color: #00C5B7; /* cor de destaque */
  color: #fff;
  border-color: #00A993;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.br-button.mobile:focus { outline: none; }
