/* ============================================
   Estilos da Página de Secretaria
   ============================================ */

/* Card do Secretário */
.secretary-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.secretary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.secretary-photo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.secretary-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.secretary-photo-wrapper {
  cursor: pointer;
}

.secretary-photo-wrapper .photo-zoom-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(13, 110, 253, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.secretary-photo-wrapper:hover .photo-zoom-icon {
  opacity: 1;
}

.cursor-pointer {
  cursor: pointer;
}

.secretary-info h3 {
  color: var(--primary-color);
}

/* Lista de Contato do Secretário */
.secretary-contact-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.secretary-contact-list li:last-child {
  border-bottom: none;
}

.secretary-contact-list .contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.secretary-contact-list .contact-icon i {
  font-size: 1rem;
}

.secretary-contact-list a {
  color: var(--primary-color);
  transition: color 0.2s ease;
}

.secretary-contact-list a:hover {
  color: #0056b3;
}

/* Seção Sobre */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 12px 12px 0;
}

.about-section .lead {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Cabeçalho de Seção */
.section-header {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color, #0dcaf0));
  border-radius: 2px;
}

/* Card de Link */
.link-card {
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: white;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.link-card .card-body {
  display: flex;
  align-items: center;
  gap: 15px;
}

.link-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Item de Documento */
.document-item {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.document-item:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
}

.document-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards de Conselhos */
.conselho-card-sm {
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
}

.conselho-card-sm:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.conselho-icon-sm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conselho-logo-sm {
  max-width: 45px;
  max-height: 45px;
  object-fit: contain;
}

/* Cards de Setores */
.sector-card {
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
}

.sector-card .sector-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sector-card:hover .sector-icon {
  transform: rotate(5deg) scale(1.1);
  transition: transform 0.3s ease;
}

/* Modal dos Setores */
.sector-modal-icon {
  width: 60px;
  height: 60px;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.sector-description {
  line-height: 1.8;
  color: #6c757d;
}

.sector-modal-contact li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
}

.sector-modal-contact a {
  color: #495057;
  text-decoration: none;
}

.sector-modal-contact a:hover {
  color: var(--bs-primary, #0d6efd);
  text-decoration: underline;
}

.sector-modal-contact i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Modal da Foto */
#secretaryPhotoModal .modal-content {
  background: rgba(0, 0, 0, 0.95) !important;
}

#secretaryPhotoModal .btn-close {
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
  padding: 0.75rem;
  border-radius: 50%;
}

#secretaryPhotoModal .btn-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Informações de Contato - Lista */
.contact-info-list li {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.contact-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.contact-list-icon {
  width: 45px;
  height: 45px;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Redes Sociais - Grid */
.social-media-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-media-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 10px;
  background: #f8f9fa;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-media-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.social-media-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  color: white;
}

.social-media-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-media-icon.facebook {
  background: #1877f2;
}

.social-media-icon.youtube {
  background: #ff0000;
}

.social-media-icon.linkedin {
  background: #0077b5;
}

.social-media-item:hover .social-media-icon {
  transform: scale(1.1) rotate(5deg);
}

.social-media-info {
  flex-grow: 1;
}

.social-media-info span {
  color: #495057;
}

.social-media-item:hover .social-media-info span {
  color: var(--primary-color);
}

/* Responsivo */
@media (max-width: 768px) {
  .secretary-photo {
    width: 200px;
    height: 200px;
  }
  
  .secretary-contact-list .contact-icon {
    width: 35px;
    height: 35px;
  }
  
  .section-header {
    font-size: 1.25rem;
  }
  
  .secretary-photo-wrapper .photo-zoom-icon {
    width: 35px;
    height: 35px;
    bottom: 10px;
    right: 10px;
  }
  
  .contact-list-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-media-icon {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .secretary-photo {
    width: 180px;
    height: 180px;
  }
  
  .social-media-item {
    padding: 0.75rem;
  }
  
  .social-media-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-right: 0.75rem;
  }
}
