/* Fun Stuff Page Styles */

/* Ensure mobile menu toggle is visible */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1002 !important;
    background: rgba(44, 85, 48, 0.3) !important;
    border-radius: 4px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    cursor: pointer !important;
    border: 2px solid red !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5) !important;
  }
  
  .mobile-menu-toggle .hamburger-line {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: var(--primary-color) !important;
    margin: 2px 0 !important;
    transition: all 0.3s ease !important;
  }
  
  /* Ensure header is properly positioned */
  .main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }
  
  .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
}

/* Hero Section */
.fun-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 5rem 0;
  margin-top: var(--header-height);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.fun-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/team.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.fun-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.fun-hero p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #f9eed9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Styles */
.featured-content,
.music-section,
.team-section {
  padding: 4rem 0;
}

.featured-content {
  background: var(--light-background);
}

.music-section {
  background: white;
}

.team-section {
  background: var(--light-background);
}

/* Section Headers */
.featured-content h2,
.music-section h2,
.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Content Cards */
.content-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.card-tag {
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--light-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.card-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Spotify Section */
.spotify-card {
  background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
  border-radius: 20px;
  padding: 3rem;
  color: white;
  box-shadow: var(--box-shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.spotify-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.spotify-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.spotify-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.playlist-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.spotify-embed {
  border-radius: 12px;
  overflow: hidden;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.team-member {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow-md);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.member-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-color);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.member-info p {
  color: var(--light-text);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .fun-hero h1 {
    font-size: 2.5rem;
  }
  
  .fun-hero p {
    font-size: 1.1rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .spotify-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .spotify-card {
    padding: 2rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fun-hero {
    padding: 3rem 0;
  }
  
  .fun-hero h1 {
    font-size: 2rem;
  }
  
  .content-card {
    margin: 0 1rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .spotify-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.stagger-item {
  animation-delay: calc(var(--stagger-index, 0) * 0.1s);
}

/* Focus States for Accessibility */
.card-btn:focus,
.stat:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Loading States */
.content-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Enhanced Hover Effects */
.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.content-card:hover::before {
  opacity: 0.05;
}
