/* Team page specific styles */
.hero-centered-team{
  padding:40px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); /* same blue as other sections */
  margin-top: 160px;
  margin-right: 60px;
  margin-left: 60px;
  margin-bottom: 60px;
}
.team-gallery{
  padding:30px 15px;
  background: linear-gradient(135deg, rgb(26, 26, 46) 0%, rgb(22, 33, 62) 100%); /* blue gradient */
  max-width:900px;
  margin:0 auto;
  border-radius:12px;
}
.hero-centered-team .team-gallery{
  background:transparent; /* gallery sits inside hero */
}
.team-title{
  text-align:center;
  font-size:28px;
  color:#f4c430;
  margin-bottom:40px;
}
.team-gallery .gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:6px; /* tighter spacing */
    
}
.team-gallery h2{
  margin-top:20px;
  margin-bottom:4px;
  font-size:22px;
  color:#f4c430; /* yellow text */
  text-align: center;
}
.album-caption{
  margin:0 0 12px;
  font-size:14px;
  color:#f4c430; /* yellow caption */
  text-align: center;
}
.album-card{
  background: linear-gradient(135deg, rgba(20,30,48,0.9), rgba(15,25,40,0.95));
  padding:15px;
  border-radius:12px;
  border:1px solid rgba(0,212,255,0.2);
  box-shadow:0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  margin-bottom:20px;
}
.album-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 48px rgba(0,0,0,0.45), 0 0 25px rgba(0,212,255,0.4);
  border-color: rgba(0,212,255,0.6);
}.team-gallery .gallery-item{
  position:relative;
}
/* preview overlay */
.team-gallery .more-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  color:#fff;
  font-size:2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  pointer-events:none; /* clicks pass to image */
}
/* hidden images used for navigation */
.team-gallery .hidden-img{display:none!important;}
.team-gallery .gallery-item img{
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:12px;
  border:2px solid rgba(0,212,255,0.25);
  cursor:zoom-in;
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.team-gallery .gallery-item img:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,212,255,0.35);
  filter: brightness(1.06);
  border-color: rgba(0,212,255,0.8);
}
.team-gallery .caption{
  margin-top:6px;
  font-size:13px;
  text-align:center;
}

/* caption shown beneath the enlarged image */
.modal-caption{
  margin-top:12px;
  color:#fff;
  font-size:16px;
  text-align:center;
  max-width:90%;
}

/* simple pagination buttons */
.team-pagination .btn{
  display:inline-block;
  padding:8px 16px;
  background:linear-gradient(135deg, #f4c430 0%, #ffb700 100%);
  color:#000;
  border:none;
  border-radius:4px;
  text-decoration:none;
  font-weight:600;
  transition:transform 0.2s, box-shadow 0.2s;
}
.team-pagination .btn:hover:not(.disabled){
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
}
.team-pagination .btn.disabled{
  opacity:0.5;
  cursor:default;
}


/* modal arrow positioning - all devices */
.image-modal .nav-arrow {
  width:40px !important;
  height:40px !important;
  line-height:40px !important;
  font-size:1.8rem !important;
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
}
.image-modal .nav-prev {
  left:10px !important;
  right: !important;
}
.image-modal .nav-next {
  right: -20px !important;
  left:auto !important;
}

@media (max-width: 480px) {
  .hero-centered-team {
    margin: 80px 20px 40px; /* reduce margins on mobile */
    margin-top: 70px;
    padding: 30px 15px;
    
  }
    .team-gallery h2 {
    font-size: 18px;
    text-align: center;
}.album-caption{
 text-align: center;
  margin:0 0 12px;
    font-size:14px;
}
  .team-gallery {
      
    max-width:100%;
    padding:20px 10px;
  }
  .team-gallery .gallery-grid {
    grid-template-columns:1fr; /* single column on mobile */
    gap:12px; /* more spacing for single column */
  }
}

@media (max-width: 480px) {
  .team-gallery .gallery-grid {
    gap:8px;
  }
}

@media (min-width: 1200px) {
  .team-gallery {
    max-width:1000px;
  }
}

@media (min-width: 1600px) {
  .team-gallery {
    max-width:1200px;
  }
}

@media (min-width: 720px) {
  .team-gallery .gallery-grid {
    gap:8px;
  }
}