/* ===========================================
   OLIMPOSGAZAB SECTIONS OVERVIEW STYLES
   =========================================== */

/* Sections Overview Section */
.sections-overview {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 25%, #2a0a2a 50%, #1a0a1a 75%, #0a0a0a 100%);
  background-size: 400% 400%;
  animation: sectionsBackgroundFlow 30s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.sections-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 0, 170, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(170, 0, 255, 0.1) 0%, transparent 50%);
  animation: sectionsGlow 25s ease-in-out infinite;
  pointer-events: none;
}

.sections-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Sections Header */
.sections-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: sectionsHeaderFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sections-title {
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #ff00aa 50%, #ff6600 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(255, 0, 170, 0.3);
  animation: sectionsTitleGlow 4s ease-in-out infinite alternate;
}

.sections-description {
  font-size: 1.3rem;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  animation: sectionsDescriptionSlide 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sections Grid */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  animation: sectionsGridFadeIn 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Card */
.section-card {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 170, 0.3);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 0, 170, 0.05) 0%, rgba(255, 102, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.section-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 0, 170, 0.6);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 0, 170, 0.2);
}

.section-card:hover::before {
  opacity: 1;
}

/* Section Icon */
.section-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff00aa 0%, #ff6600 100%);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(255, 0, 170, 0.3);
  flex-shrink: 0;
  animation: sectionIconFloat 3s ease-in-out infinite;
}

.section-card:hover .section-icon {
  animation: sectionIconPulse 0.6s ease-in-out;
}

/* Section Content */
.section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #ff00aa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.section-link {
  color: #ff00aa;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.section-link:hover {
  color: #ff6600;
  transform: translateX(5px);
}

.section-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.section-link:hover::after {
  transform: translateX(3px);
}

/* Special styling for different sections */
.section-card:nth-child(1) .section-icon {
  background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
}

.section-card:nth-child(2) .section-icon {
  background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
}

.section-card:nth-child(3) .section-icon {
  background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

.section-card:nth-child(4) .section-icon {
  background: linear-gradient(135deg, #2196f3 0%, #03a9f4 100%);
}

.section-card:nth-child(5) .section-icon {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.section-card:nth-child(6) .section-icon {
  background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
}

.section-card:nth-child(7) .section-icon {
  background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
}

/* Animations */
@keyframes sectionsBackgroundFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes sectionsGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

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

@keyframes sectionsTitleGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(255, 0, 170, 0.3); }
  50% { text-shadow: 0 0 50px rgba(255, 0, 170, 0.6); }
}

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

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

@keyframes sectionIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes sectionIconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sections-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .sections-title {
    font-size: 2.6rem;
  }
  
  .section-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .sections-title {
    font-size: 2.2rem;
  }
  
  .sections-description {
    font-size: 1.1rem;
  }
  
  .sections-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .section-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .section-icon {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .section-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .sections-container {
    padding: 0 1rem;
  }
  
  .sections-title {
    font-size: 1.8rem;
  }
  
  .section-card {
    padding: 1rem;
  }
  
  .section-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .section-description {
    font-size: 0.9rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .sections-overview,
  .sections-overview::before,
  .sections-title,
  .section-icon {
    animation: none;
  }
  
  .section-card:hover {
    transform: none;
  }
}
