/* ========================================
   BAND MEMBERS PAGE CSS
   Styles specific to band members pages
   ======================================== */

/* === Member Photo Styling === */
.member-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.5rem rgba(8, 136, 156, 0.15);
  transition: transform 0.7s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s;
  animation: floatY 2.5s ease-in-out infinite alternate;
  cursor: pointer;
  border: 4px solid #fff;
  background: #f8f9fa;
}

.member-photo:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 1.5rem 2.5rem rgba(8, 136, 156, 0.25);
  z-index: 2;
}

/* === Member Card === */
.member-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(8, 136, 156, 0.10);
  padding: 1.5rem 1rem 1rem 1rem;
  transition: box-shadow 0.3s;
}

.member-card:hover {
  box-shadow: 0 1.5rem 2.5rem rgba(8, 136, 156, 0.18);
}

/* ========================================
   DASHBOARD PAGE CSS
   Styles for events dashboard/gallery
   ======================================== */

/* === Dashboard Hero with Video Background === */
.dashboard-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* === Events Slideshow Background === */
.events-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow-image.active {
  opacity: 1;
}

.dashboard-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 46, 0.75) 50%, rgba(15, 52, 96, 0.7) 100%);
  z-index: 1;
}

.dashboard-content {
  position: relative;
  z-index: 2;
}

.dashboard-hero h1,
.dashboard-hero p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* === Events Page Enhanced Text Styling === */
.events-title {
  color: #ffffff !important;
  text-shadow: 
    0 0 20px rgba(13, 202, 240, 0.8),
    0 0 40px rgba(13, 202, 240, 0.6),
    3px 3px 12px rgba(0, 0, 0, 0.9),
    -1px -1px 8px rgba(255, 255, 255, 0.3);
  animation: titleGlow 3s ease-in-out infinite alternate;
  letter-spacing: 2px;
}

.events-subtitle {
  color: #ffd580 !important;
  text-shadow: 
    0 0 15px rgba(255, 213, 128, 0.7),
    2px 2px 10px rgba(0, 0, 0, 0.9),
    -1px -1px 6px rgba(255, 255, 255, 0.2);
  font-weight: 600;
  letter-spacing: 1px;
}

.events-tagline {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.events-badge {
  background: linear-gradient(135deg, #0dcaf0 0%, #007bff 100%);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 
    0 4px 15px rgba(13, 202, 240, 0.4),
    0 0 20px rgba(13, 202, 240, 0.3);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.events-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 6px 20px rgba(13, 202, 240, 0.6),
    0 0 30px rgba(13, 202, 240, 0.5);
}

@keyframes titleGlow {
  0% {
    text-shadow: 
      0 0 20px rgba(13, 202, 240, 0.6),
      0 0 40px rgba(13, 202, 240, 0.4),
      3px 3px 12px rgba(0, 0, 0, 0.9);
  }
  100% {
    text-shadow: 
      0 0 30px rgba(13, 202, 240, 1),
      0 0 60px rgba(13, 202, 240, 0.8),
      3px 3px 12px rgba(0, 0, 0, 0.9),
      0 0 80px rgba(255, 255, 255, 0.4);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Event Card Hover Effects === */
.event-card .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.event-card img {
  transition: transform 0.4s ease;
}

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

/* === Event Card Animations === */
.event-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.event-card.in-view {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease forwards;
}

/* === Smooth Scroll === */
html {
  scroll-behavior: smooth;
}

/* ========================================
   SOCIAL FEED PAGE CSS
   Styles for social media embeds
   ======================================== */

/* === Social Media Iframe === */
.social-iframe {
  border: none;
  overflow: hidden;
}

/* ========================================
   GALLERY PAGE CSS
   Styles for photo gallery and Facebook feed
   ======================================== */

/* === Gallery Section === */
.gallery-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 0;
  position: relative;
}

/* === Gallery Header === */
.gallery-header {
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

/* === Gallery Slideshow Container === */
.gallery-slideshow-container {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  position: relative;
}

.gallery-slideshow-container .carousel {
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  box-shadow: none;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.gallery-slide-img {
  height: 100vh;
  object-fit: cover;
  width: 100%;
  object-position: center;
}

.carousel-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2rem 2rem;
  display: block !important;
}

.carousel-caption h5 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
  margin-bottom: 1rem;
}

.carousel-caption p {
  font-size: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.carousel-indicators {
  bottom: 3rem;
  z-index: 15;
}

.carousel-indicators button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.6);
}

.carousel-indicators button.active {
  background-color: rgba(255, 255, 255, 1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 15;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* === Individual Gallery Slide Backgrounds (Landscape Photos Only) === */
.gallery-slide-1 {
  background-image: url('../assets/images/slide1.jpg');
  animation: zoomIn 3s ease-in-out;
}

.gallery-slide-2 {
  background-image: url('../assets/images/slide2.jpg');
  animation: slideInRight 1s ease-out;
}

.gallery-slide-3 {
  background-image: url('../assets/images/slide3.jpg');
  animation: slideInLeft 1s ease-out;
}

.gallery-slide-4 {
  background-image: url('../assets/images/concert.jpg');
  animation: fadeInScale 1.5s ease-in-out;
}

.gallery-slide-5 {
  background-image: url('../assets/images/outreach.jpg');
  animation: slideInUp 1s ease-out;
}

.gallery-slide-6 {
  background-image: url('../assets/images/rehearsal.jpg');
  animation: rotateIn 1.2s ease-out;
}

.gallery-slide-7 {
  background-image: url('../assets/images/Ariseprac.jpg');
  animation: slideInDown 1s ease-out;
}

/* === Gallery Transition Animations === */
@keyframes zoomIn {
  from {
    transform: scale(1.3);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoomOut {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    transform: rotate(-10deg) scale(0.9);
    opacity: 0;
  }
  to {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

@keyframes flipInX {
  from {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
  to {
    transform: perspective(400px) rotateX(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* === Static Gallery Grid === */
.static-gallery {
  padding-top: 3rem;
}

.static-gallery h3 {
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* === Gallery Items === */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* === Gallery Poster Items (Smaller) === */
.gallery-item-poster {
  background: #1a1a2e;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item-poster img {
  height: 250px;
  object-fit: contain;
  background: transparent;
  width: 100%;
}

.gallery-item-poster:hover img {
  transform: scale(1.05);
}

/* === Gallery Overlay === */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.overlay-content h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.95rem;
}

/* === Responsive Gallery Styles === */
@media (max-width: 768px) {
  .gallery-header h1 {
    font-size: 2rem;
  }
  
  .gallery-header p {
    font-size: 1rem;
  }
  
  .carousel-caption h5 {
    font-size: 2rem;
  }
  
  .carousel-caption p {
    font-size: 1.1rem;
  }
  
  .carousel-caption {
    padding: 3rem 1.5rem 1.5rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .gallery-header {
    top: 1rem;
  }
  
  .gallery-header h1 {
    font-size: 1.5rem;
  }
  
  .gallery-header p {
    font-size: 0.9rem;
  }
  
  .carousel-caption {
    padding: 2rem 1rem 1rem;
  }
  
  .carousel-caption h5 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.95rem;
  }
  
  .carousel-indicators {
    bottom: 2rem;
  }
  
  .carousel-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 5px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .overlay-content h5 {
    font-size: 1rem;
  }
  
  .overlay-content p {
    font-size: 0.85rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 15%;
  }
}
