/* Estilos gerais */
:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --dark: #292F36;
    --light: #F7FFF7;
    --accent: #FFE66D;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--primary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    position: relative;
    padding: 1rem 0;
    text-align: center;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pet-paws {
    position: absolute;
    opacity: 0.2;
    z-index: 0;
}

.logo-img {
    height: 80px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
}

nav a {
    padding: 0.5rem 1rem;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
}

nav a:hover {
    color: var(--primary);
    background-color: rgba(255, 107, 107, 0.1);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,235,173,0.2) 0%, rgba(255,215,215,0.2) 100%);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Botões */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0.5rem;
}

.btn:hover {
    background-color: #e05555;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #3dbeb6;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 2rem;
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.highlight-box {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.highlight-box ul {
    padding-left: 1.5rem;
}

.highlight-box li {
    margin-bottom: 0.5rem;
}

.donation-box {
    background-color: var(--accent);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Página de notícias */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.noticia-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;

    /* Altura mínima padronizada */
    min-height: 450px;

    /* Flex para distribuir conteúdo */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.noticia-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.noticia-imagem {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px;
}

.noticia-conteudo {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-conteudo h3 {
    margin-top: 0;
    color: var(--primary);
}

.noticia-data {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.noticia-resumo {
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: rgba(255,255,255,0.8);
}

.social-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Utilitários */
.text-center {
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
    }
}

/* Glider.js (carrossel) */
.glider {
    margin: 0 auto;
}

.glider-prev, .glider-next {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.glider-prev {
    left: -30px;
}

.glider-next {
    right: -30px;
}

.glider-dots {
    text-align: center;
    margin-top: 1rem;
}

.glider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.glider-dot.active {
    background: var(--primary);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-news-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
}

.featured-news-carousel::-webkit-scrollbar {
    display: none;
}

.featured-news-item {
    flex: 0 0 300px;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.noticia-imagem {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.featured-news-item h3 a {
    color: var(--primary);
}

.featured-news-item h3 a:hover {
    color: var(--secondary);
}
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Sempre 3 colunas */
  gap: 20px;
  margin: 2rem 0;
}

/* Card das notícias */
.noticia-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;

  /* Altura e largura fixas */
  height: 450px; /* Altura fixa, ajuste se quiser */
  width: 100%; /* Largura ocupa a coluna */
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.noticia-imagem {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
}

.noticia-conteudo {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.noticia-conteudo h3 {
  margin-top: 0;
  color: var(--primary);
}

.noticia-data {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.noticia-resumo {
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

/* Responsividade: reduz para 2 colunas em telas menores */
@media (max-width: 900px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsividade para celular: 1 coluna */
@media (max-width: 600px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }
}

