/* Club Detail Page - Minimalist Design */
.club-detail-page {
    padding: 40px 0 80px;
    background: #ffffff;
}

.club-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Back Button */
.club-back-button-wrapper {
  margin-bottom: 30px;
}

.club-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  color: #094c75;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.club-back-button:hover {
  background: #f0f7ff;
  border-color: #094c75;
  color: #094c75;
  transform: translateX(-3px);
  box-shadow: 0 4px 8px rgba(9, 76, 117, 0.15);
  text-decoration: none;
}

.club-back-button i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.club-back-button:hover i {
  transform: translateX(-3px);
}

/* Page Header */
.club-page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.club-header-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.club-logo {
  flex-shrink: 0;
}

.club-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.club-logo-img:hover {
  transform: scale(1.05);
}

.club-info {
  flex: 1;
}

.club-page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f3f7a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.club-short-name {
  font-size: 16px;
  color: #6c757d;
  font-style: italic;
  margin: 0;
}

/* Cover Section */
.club-cover-section {
  margin-bottom: 40px;
}

.club-cover-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.club-cover-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Slider Container */
.slider-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
  background: transparent;
}

.club-slider {
  position: relative;
}

    .club-slider .item {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        min-height: 400px;
        height: auto;
    }

.club-slider .item img {
  width: 1000px;
  height: 500px;
  object-fit: contain;
  object-position: center center;
  margin: auto;
}

.club-slider .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 15px;
}

.club-slider .owl-nav button.owl-prev,
.club-slider .owl-nav button.owl-next {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #094c75 !important;
  border-radius: 50% !important;
  width: 45px;
  height: 45px;
  font-size: 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.club-slider .owl-nav button.owl-prev:hover,
.club-slider .owl-nav button.owl-next:hover {
  background: #094c75 !important;
  color: #ffffff !important;
  transform: scale(1.1);
}

.club-slider .owl-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.club-slider .owl-dots .owl-dot span {
  background: #1f3f7a !important;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.club-slider .owl-dots .owl-dot.active span {
  background: #ffffff !important;
  width: 12px;
  height: 12px;
  box-shadow: 0 2px 8px rgba(31, 63, 122, 0.4), 0 0 0 2px rgba(31, 63, 122, 0.2);
  border: 2px solid #1f3f7a;
}

/* Section Styles */
.club-section {
  margin-bottom: 40px;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.club-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f3f7a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.club-section-title i {
  color: #094c75;
  font-size: 22px;
}

.gallery-count {
  font-size: 16px;
  font-weight: 400;
  color: #6c757d;
  margin-left: 8px;
}

.club-section-content {
  color: #4a4a4a;
  line-height: 1.8;
  font-size: 16px;
}

.club-description {
  color: #4a4a4a;
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Gallery Grid */
.club-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.club-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f0f0f0;
}

.club-gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.club-gallery-item a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.club-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.club-gallery-item:hover img {
  transform: scale(1.1);
}

.club-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(9, 76, 117, 0.85) 0%, rgba(9, 76, 117, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.club-gallery-item:hover .club-gallery-overlay {
  opacity: 1;
}

.club-gallery-overlay i {
  color: #ffffff;
  font-size: 32px;
}

/* Sidebar */
.club-sidebar {
  position: sticky;
  top: 20px;
}

.club-info-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.club-info-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f3f7a;
  padding: 20px 24px;
  margin: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.club-info-card-title i {
  color: #094c75;
  font-size: 18px;
}

.members-count {
  font-size: 16px;
  font-weight: 400;
  color: #6c757d;
  margin-left: 4px;
}

.club-info-card-content {
  padding: 24px;
}

.club-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.club-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.club-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f7ff;
  border-radius: 8px;
  color: #094c75;
  font-size: 18px;
}

.club-info-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.club-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.club-info-value {
  font-size: 15px;
  color: #094c75;
  line-height: 1.6;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.club-info-value:hover {
  color: #1f3f7a;
  text-decoration: underline;
}

/* Social Links */
.club-social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.club-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 14px;
}

.club-social-link:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #ffffff;
}

.club-social-link i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.club-social-facebook {
  background: #3b5998;
}

.club-social-twitter {
  background: #1da1f2;
}

.club-social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.club-social-youtube {
  background: #ff0000;
}

/* Members List */
.club-members-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.club-member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.club-member-item:hover {
  background: #f0f7ff;
}

.club-member-avatar {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4fc3f7, #29b6f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.club-member-info {
  flex: 1;
}

.club-member-info h4 {
  margin: 0 0 4px 0;
  color: #2a2a2a;
  font-size: 15px;
  font-weight: 600;
}

.club-member-type {
  color: #6c757d;
  font-size: 13px;
}

.club-empty-message {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
  text-align: center;
  padding: 20px 0;
}

/* Members Toggle */
.club-members-more {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.club-members-toggle-wrapper {
  margin-top: 16px;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.club-members-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f0f7ff;
  color: #094c75;
  border: 1px solid #d0e7ff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  outline: none;
}

.club-members-toggle-btn:hover {
  background: #094c75;
  color: #ffffff;
  border-color: #094c75;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(9, 76, 117, 0.2);
}

.club-members-toggle-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.club-members-toggle-btn:hover i {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
  .club-page-title {
    font-size: 30px;
  }

  .club-sidebar {
    position: static;
    margin-top: 40px;
  }

  .club-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .club-detail-page {
    padding: 20px 0 60px;
  }

  .club-back-button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .club-header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .club-logo-img {
    width: 80px;
    height: 80px;
  }

  .club-page-title {
    font-size: 26px;
  }

  .club-section {
    padding: 20px;
  }

  .club-section-title {
    font-size: 20px;
  }

  .club-info-card-title {
    font-size: 18px;
    padding: 16px 20px;
  }

  .club-info-card-content {
    padding: 20px;
  }

  .club-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .club-slider .owl-nav button.owl-prev,
  .club-slider .owl-nav button.owl-next {
    width: 35px;
    height: 35px;
    font-size: 16px !important;
  }
  
  .club-slider .item {
    min-height: 300px;
  }
  
  .club-slider .item img {
    max-height: 400px;
  }

  .slider-container {
    border-radius: 8px;
  }

  .club-cover-image {
    border-radius: 8px;
  }
}
