/* Container principal */
.hero-section {
  background: linear-gradient(135deg, #0f2027, #2d3342, #1d2230); /* fundo degradê escuro */
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

/* Área de conteúdo */
.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* Título e imagem lado a lado */
.hero-title-img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem; /* espaço entre título e imagem */
  flex-wrap: wrap;
}

.hero-title-img h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.hero-title-img h1 span {
  color: #f9b233; /* amarelo mel */
}

/* Moldura hexagonal */
.hexagon {
  width: 180px;
  height: 200px;  
  /* background: #f9b233; */
  clip-path: polygon(
    50% 0%, 93% 25%, 93% 75%, 
    50% 100%, 7% 75%, 7% 25%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hexagon img {
  width: 90%;
  height: auto;
  object-fit: contain;
}

/* Subtítulo */
.hero-subtitle {
  font-size: 1.2rem;
  margin: 2rem auto;
  max-width: 700px;
  line-height: 1.6;
  color: #ddd;
}

/* Botões */
.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  
}

.btn-learn {
  text-decoration: none;
  background: #f9b233;
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-learn:hover {
  background: #ffc857;
}

.btn-donate {
  background: transparent;
  color: #00e676;
  border: 2px solid #00e676;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-donate:hover {
  background: #00e676;
  color: #000;
}

/* Subtitulo especies */
#div-subtitle{
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 2rem;

}

#subtitle-especies{
  color:#f9b233;
}
/* Estilizando os cards*/
.card-group {
  display: flex;
  margin-left: 0.8rem;  
  margin-right: 0.8rem;
  flex-wrap: wrap;
    
  gap: 0.8rem;
  margin-bottom: 50px;
}

/* Container dos cards */
.card {
    margin-top: 25px;    
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Imagem do card */
.card-img-top {    
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Corpo do card */
.card-body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 249, 240, 0.95) 100%);
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    
    
}

/* Título do card */
.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
    border-left: 4px solid #f39c12;
    padding-left: 12px;
}

/* Texto do card */
.card-text {
    color: #34495e;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.card-text:last-child {
    margin-bottom: 0;
}

/* Detalhe decorativo superior */
.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
}

/* Responsividade */
@media (max-width: 768px) {
    .card-img-top {
        height: 220px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}

