/* Animations and transitions */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Vibrant color palette */
:root {
  --primary-gradient: linear-gradient(135deg, #0075FF 0%, #00A3FF 100%);
  --secondary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
  --accent-blue: #0075FF;
  --accent-teal: #00D4C8;
  --accent-orange: #FF6B00;
  --accent-purple: #9D6FFF;
  --accent-green: #00C875;
  --section-padding: 4rem 1.5rem;
  --section-padding-mobile: 2.5rem 1rem;
}

/* 10km Run Promo Section Styles */
.ten-km-promo-section {
  padding: var(--section-padding);
  background-color: var(--light);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f8ff 100%);
}

/* Section Header */
.section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
  width: 100%;
  padding: 0 1rem;
}

.ten-km-promo-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--primary-gradient);
  color: white;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: fit-content;
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.25);
  margin: 0 auto 1rem;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ten-km-promo-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.ten-km-promo-title {
  font-size: 2.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--dark);
  margin: 0.5rem 0;
  line-height: 1.2;
  background: linear-gradient(to right, #0066cc, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.ten-km-promo-tagline {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 0.5rem auto 0;
  max-width: 700px;
}

/* Main Content Layout */
.ten-km-promo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Content Card Styles */
.promo-content-card {
  position: relative;
  background-color: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.ten-km-promo-description {
  font-size: var(--font-size-lg);
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

/* Highlight items */
.ten-km-promo-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--gray-800);
  font-weight: 500;
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--accent-blue);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.highlight-item:nth-child(2) .highlight-icon {
  background-color: rgba(0, 212, 200, 0.1);
  color: var(--accent-teal);
}

.highlight-item:nth-child(3) .highlight-icon {
  background-color: rgba(255, 107, 0, 0.1);
  color: var(--accent-orange);
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.1);
}

/* Action buttons */
.ten-km-promo-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-gradient {
  background: var(--primary-gradient);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn-gradient:hover::before {
  left: 100%;
}

.ten-km-promo-actions .btn {
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.ten-km-promo-actions .btn-primary {
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.25);
}

.ten-km-promo-actions .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 123, 255, 0.3);
}

.ten-km-promo-actions .btn-outline-primary {
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  background: rgba(0, 123, 255, 0.05);
}

.ten-km-promo-actions .btn-outline-primary:hover {
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--accent-blue);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.15);
}

/* Enhanced Map Container Styles */
.ten-km-map-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 500px;
  background-color: white;
  transition: box-shadow 0.3s ease, transform 0.5s ease;
  transform: perspective(1000px) rotateY(-5deg);
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.ten-km-map-container:hover {
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
  transform: perspective(1000px) rotateY(0deg);
}

/* Map ribbon */
.map-ribbon {
  position: absolute;
  top: 30px;
  right: -30px;
  background: var(--accent-orange);
  color: white;
  padding: 7px 30px;
  font-size: 0.85rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 5px 10px rgba(255, 107, 0, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.interactive-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.interactive-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  transition: all 0.4s ease;
}

/* Route markers */
.route-marker {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  font-size: 0.9rem;
  animation: float 3s ease-in-out infinite;
  pointer-events: none;
}

.start-marker {
  top: 80px;
  right: 30px;
  animation-delay: 0s;
}

.end-marker {
  bottom: 100px;
  left: 30px;
  animation-delay: 1s;
}

.marker-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.start-marker .marker-icon {
  background: linear-gradient(135deg, #00C875 0%, #00E88F 100%);
}

.end-marker .marker-icon {
  background: linear-gradient(135deg, #FF6B00 0%, #FF9E4F 100%);
}

/* Map Info Toggle Button */
.map-info-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.map-info-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Map Info Panel */
.map-info-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 300px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  z-index: 5;
  overflow: hidden;
  transition: all 0.3s ease;
  transform-origin: top left;
  border-left: 4px solid var(--accent-blue);
}

.map-info-panel.collapsed {
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
}

.map-route-info {
  padding: 1.2rem;
}

.route-info-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
}

.route-info-icon i {
  font-size: 1.2rem;
}

.map-route-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.5rem;
}

.map-route-info p {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 0 0 1rem;
  line-height: 1.5;
}

/* Route features in panel */
.route-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.route-feature {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.route-feature i {
  color: var(--accent-blue);
}

/* Map action buttons */
.map-actions {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 10;
  padding: 0 1rem;
}

.map-link, .map-details-btn {
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  color: var(--gray-800);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.map-link {
  background-color: white;
  color: var(--accent-blue);
}

.map-details-btn {
  background: var(--primary-gradient);
  color: white;
}

.map-link:hover, .map-details-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Event highlights cards */
.event-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.highlight-card {
  background-color: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.highlight-card-icon.blue {
  background: linear-gradient(135deg, #007BFF 0%, #4DA8FF 100%);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.25);
}

.highlight-card-icon.teal {
  background: linear-gradient(135deg, #00B8A9 0%, #4FFBEA 100%);
  box-shadow: 0 10px 20px rgba(0, 184, 169, 0.25);
}

.highlight-card-icon.orange {
  background: linear-gradient(135deg, #FF8C00 0%, #FFBE4D 100%);
  box-shadow: 0 10px 20px rgba(255, 140, 0, 0.25);
}

.highlight-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 0.75rem;
}

.highlight-card p {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* Additional Information Section */
.additional-info-section {
  background-color: #f8f9fa;
  padding: 6rem 0 4rem;
  margin-top: 4rem;
  width: 100%;
  position: relative;
}

.info-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-99%);
}

.info-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.info-section-header h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  background: linear-gradient(to right, #0066cc, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.info-section-header p {
  font-size: 1.2rem;
  color: var(--gray-600);
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.info-column {
  background-color: white;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.info-column h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
}

.info-column h4 i {
  color: var(--accent-blue);
  font-size: 1.5rem;
}

.info-column p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.info-column ul {
  padding-left: 1.75rem;
  color: var(--gray-700);
}

.info-column li {
  margin-bottom: 0.9rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}

.info-column li::marker {
  color: var(--accent-blue);
}

/* Enhanced modal styling */
.modal-content {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
  background: var(--primary-gradient);
  color: white;
  border-bottom: none;
  padding: 1.5rem;
}

.modal-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
}

.modal-header .close {
  color: white;
  opacity: 0.8;
  text-shadow: none;
  transition: all 0.2s ease;
}

.modal-header .close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

.course-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.course-stat {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--light);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.course-stat:hover {
  background-color: white;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  background: linear-gradient(to right, #0066cc, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.course-description h6,
.course-tips h6 {
  color: var(--gray-800);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  position: relative;
  padding-left: 1rem;
  font-weight: 700;
}

.course-description h6:before,
.course-tips h6:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.course-description p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.course-tips ul {
  padding-left: 1.5rem;
  color: var(--gray-700);
}

.course-tips li {
  margin-bottom: 0.75rem;
  position: relative;
  font-size: 1.05rem;
}

.course-tips li::marker {
  color: var(--accent-blue);
}

.modal-footer {
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem;
}

.modal-footer .btn-gradient {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive styles */
@media (max-width: 1199px) {
  .ten-km-promo-wrapper,
  .event-highlights,
  .info-columns {
    max-width: 90%;
  }
  
  .ten-km-promo-title {
    font-size: 2.5rem;
  }
  
  .info-section-header h3 {
    font-size: 2.2rem;
  }
}

@media (max-width: 991px) {
  .ten-km-promo-section {
    padding: var(--section-padding-mobile);
  }
  
  .ten-km-promo-title {
    font-size: 2.25rem;
  }
  
  .ten-km-promo-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .ten-km-map-container {
    min-height: 450px;
    transform: perspective(1000px) rotateY(0deg);
  }
  
  .info-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .start-marker {
    top: 70px;
    right: 20px;
  }
  
  .end-marker {
    bottom: 80px;
    left: 20px;
  }
  
  .map-ribbon {
    right: -40px;
    padding: 5px 40px;
    font-size: 0.8rem;
  }
}

@media (max-width: 767px) {
  .ten-km-promo-section {
    padding: 3rem 1rem 2rem;
    width: 100vw;
    max-width: 100vw;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .ten-km-promo-title {
    font-size: 1.75rem;
  }
  
  .ten-km-promo-tagline {
    font-size: 1.1rem;
  }
  
  .ten-km-promo-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .ten-km-promo-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .ten-km-map-container {
    min-height: 350px;
  }
  
  .map-actions {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }
  
  .map-link, .map-details-btn {
    width: 100%;
    justify-content: center;
  }
  
  .event-highlights,
  .info-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .map-info-panel {
    max-width: calc(100% - 40px);
  }
  
  .info-section-header h3 {
    font-size: 1.8rem;
  }
  
  .info-section-header p {
    font-size: 1rem;
  }
  
  .additional-info-section {
    padding: 4rem 0 3rem;
  }
  
  .end-marker {
    display: none;
  }
}

@media (max-width: 480px) {
  .ten-km-promo-section {
    padding: 2rem 1rem 1.5rem;
  }
  
  .ten-km-promo-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .promo-content-card {
    padding: 1.5rem;
  }
  
  .info-column {
    padding: 1.5rem;
  }
  
  .info-column h4 {
    font-size: 1.2rem;
  }
  
  .start-marker {
    top: auto;
    right: auto;
    bottom: 80px;
    left: 20px;
  }
  
  .map-ribbon {
    top: 20px;
    right: -35px;
    padding: 5px 35px;
    font-size: 0.7rem;
  }
} 