/* ============================================
   BOCHI CILACAP - ABOUT PAGE STYLES
   ============================================ */

/* Dark mode for background sections */
body.dark-mode section[style*="background-color: #f5f5f5"] {
  background-color: #2a2a2a !important;
}

/* Table Styles */
.table {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .table {
  color: #e0e0e0;
  background-color: #2a2a2a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
  background-color: #333;
}

body.dark-mode .table-bordered {
  border-color: #444;
}

body.dark-mode .table-bordered th,
body.dark-mode .table-bordered td {
  border-color: #444;
}

body.dark-mode .table-dark {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.table thead th {
  background-color: #6ab547;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 15px 10px;
  border: none;
}

body.dark-mode .table thead th {
  background-color: #5a9f37;
}

.table tbody td {
  padding: 12px 10px;
  vertical-align: middle;
  transition: background-color 0.3s ease;
}

.table tbody tr:hover {
  background-color: rgba(106, 181, 71, 0.1);
}

body.dark-mode .table tbody tr:hover {
  background-color: rgba(139, 195, 74, 0.15);
}

/* Team member hover effects */
.team_member {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  border-radius: 12px;
  margin-bottom: 30px;
}

.team_member img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}

.team_member:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.dark-mode .team_member:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.team_member:hover img {
  transform: scale(1.1);
}

.team_member_hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  border-radius: 12px;
}

.team_member:hover .team_member_hover {
  opacity: 1;
}

.team_member_info {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.team_member:hover .team_member_info {
  transform: translateY(0);
}

.team_member_name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.team_member_job {
  font-size: 14px;
  color: #8bc34a;
  text-transform: lowercase;
  font-style: italic;
}

/* Benefits section hover */
.benefits_2_single {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.benefits_2_single:hover {
  transform: translateY(-8px);
  background-color: rgba(106, 181, 71, 0.05);
}

body.dark-mode .benefits_2_single:hover {
  background-color: rgba(139, 195, 74, 0.1);
}

.benefits_2_single i {
  font-size: 48px;
  color: #6ab547;
  margin-bottom: 20px;
  display: block;
  transition: all 0.4s ease;
}

body.dark-mode .benefits_2_single i {
  color: #8bc34a;
}

.benefits_2_single:hover i {
  transform: scale(1.2) rotate(10deg);
}

.benefits_2_single .title {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
  color: #333;
  transition: color 0.3s ease;
}

body.dark-mode .benefits_2_single .title {
  color: #e0e0e0;
}

.benefits_2_single:hover .title {
  color: #6ab547;
}

body.dark-mode .benefits_2_single:hover .title {
  color: #8bc34a;
}

/* Hero Section Responsive */
@media (max-width: 991px) {
  .site-hero_2 .big-title {
    font-size: 32px !important;
  }
  .site-hero_2 .small-title {
    font-size: 13px !important;
  }
}

@media (max-width: 768px) {
  .site-hero_2 .big-title {
    font-size: 26px !important;
  }
  .site-hero_2 .small-title {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .site-hero_2 .big-title {
    font-size: 20px !important;
  }
  .site-hero_2 .small-title {
    font-size: 11px !important;
  }
}
