/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
  color: white;
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(247, 37, 133, 0.15) 0%, transparent 50%);
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

/* Seção de Bolsas */
.bolsa-section {
  margin-top: 60px;
  padding: 0 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.section-title {
  font-size: 22px;
  font-weight: 500;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

/* Grid de Bolsas */
.bolsa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

/* Cards de Bolsas */
.bolsa-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid #f5f5f5;
}

.bolsa-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.bolsa-img-container {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.bolsa-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bolsa-card:hover .bolsa-img {
  transform: scale(1.03);
}

/* Modal Styles */
.modal-bolsa {
  --cor-primaria: #6a4c93;
  --cor-secundaria: #3a0ca3;
  --cor-texto: #333;
  --cor-fundo: #fff;
  --cor-borda: rgba(0,0,0,0.1);
}

.modal-bolsa .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  max-width: 800px;
  margin: 0 auto;
}

.modal-bolsa .modal-header {
  background-color: var(--cor-primaria);
  color: white;
  border-bottom: none;
  padding: 1rem 1.5rem;
  border-radius: 12px 12px 0 0;
}

.modal-bolsa .modal-body {
  padding: 1.5rem;
  color: var(--cor-texto);
}

.modal-img-container {
  padding: 0;
  margin: -1rem -1rem 1rem -1rem;
}

.modal-bolsa-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-height: 400px;
}

.modal-bolsa-details {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
}

.modal-bolsa-details h6 {
  color: var(--cor-secundaria);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Responsividade */
@media (max-width: 992px) {
  .modal-bolsa .modal-content {
    max-width: 95%;
  }
  
  .modal-bolsa-img {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .bolsa-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .modal-bolsa .modal-header {
    padding: 0.75rem 1rem;
  }
  
  .modal-bolsa .modal-body {
    padding: 1rem;
  }
  
  .modal-bolsa-img {
    max-height: 200px;
  }
}

@media (max-width: 576px) {
  .bolsa-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-bolsa-img {
    max-height: 180px;
  }

  .modal-bolsa .list-group-item strong {
    min-width: 110px;
    display: block;
    margin-bottom: 5px;
  }
}

/* Componentes Complementares */
.bolsa-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(46, 204, 113, 0.9);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.btn-visitar {
  background-color: transparent;
  color: #3498db;
  border: 1px solid #3498db;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 12px;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-visitar:hover {
  background-color: #3498db;
  color: white;
}

.no-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #f9f9f9;
  font-size: 32px;
  color: #e0e0e0;
}