/* Local Squad Page Styles */

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f4f4f4;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 450px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.hero-text {
  max-width: 612px;
  color: white;
  animation: fade-in 0.5s ease-in;
}

.hero-title {
  font-size: 50px;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 16px;
  color: #e8e8e8;
  margin-bottom: 32px;
}

.explore-btn {
  background-color: #BE930B;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.explore-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Squads Section */
.squads-section {
  background-color: white;
  padding: 30px 20px;
}

.section-title {
  font-size: 26px;
  font-weight: bold;
  color: #1C1C1C;
  text-align: center;
  margin-bottom: 8px;
}

.section-description {
  font-size: 16px;
  color: rgba(28, 28, 28, 0.7);
  text-align: center;
  margin-bottom: 30px;
  word-break: break-word;
}

/* Activities Section */
.activities-section {
  margin-bottom: 30px;
}

.activities-title {
  font-size: 22px;
  font-weight: bold;
  color: #1C1C1C;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.title-dot.ongoing {
  background-color: #BE930B;
}

.title-dot.past {
  background-color: #999999;
}

/* Squads Grid */
.squads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.squad-card {
  display: flex;
  flex-direction: column;
  background-color: #F4F4F4;
  border-radius: 6px;
  padding: 24px;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
}

.squad-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.squad-card.past {
  opacity: 0.9;
}

.squad-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.squad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.squad-icon {
  width: 80px;
  height: 80px;
  background-color: #BE930B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.squad-title {
  font-size: 18px;
  font-weight: bold;
  color: #1C1C1C;
  margin-bottom: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.squad-description {
  font-size: 14px;
  color: rgba(28, 28, 28, 0.7);
  margin-bottom: 16px;
  flex-grow: 1;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.squad-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.squad-location {
  font-size: 14px;
  color: rgba(28, 28, 28, 0.7);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.squad-time {
  font-size: 14px;
  color: rgba(28, 28, 28, 0.7);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-details-btn {
  background-color: #BE930B;
  color: white;
  font-size: 16px;
  font-weight: semibold;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.view-details-btn:hover {
  background-color: #d4a612;
}

/* No Activities */
.no-activities {
  text-align: center;
  padding: 40px 0;
}

.no-activities p {
  color: rgba(28, 28, 28, 0.7);
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .hero-content {
    padding: 0;
  }
  
  .hero-title {
    font-size: 50px;
  }
  
  .squads-section {
    padding: 50px 20px;
  }
  
  .section-title {
    font-size: 36px;
    margin-bottom: 16px;
  }
  
  .section-description {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .activities-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .squads-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .squad-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    justify-content: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .squads-section {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 26px;
    margin-bottom: 8px;
  }
  
  .section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .activities-title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .squads-grid {
    grid-template-columns: 1fr;
  }
  
  .squad-title {
    font-size: 18px;
  }
}
