/* Event Details Page Specific Styles */

/* Event Detail Header */
.event-detail-header {
  height: 400px;
}

.event-type-badge {
  display: inline-block;
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

/* Event Details Section */
.event-details-section {
  padding: 80px 0;
  background: var(--dark-bg);
}

.event-details-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
}

/* Main Content */
.event-main-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.1);
  border-radius: 25px;
  padding: 40px;
}

.event-featured-image {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 35px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.event-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: var(--dark-bg);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Event Header Info */
.event-header-info h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 25px;
  font-weight: 800;
}

.event-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.quick-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.meta-icon {
  font-size: 20px;
}

/* Event Description */
.event-description {
  margin-bottom: 45px;
}

.event-description h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
}

.event-description p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 16px;
}

.event-description strong {
  color: var(--primary-color);
  font-weight: 700;
}

.event-description ul {
  margin-left: 20px;
}

.event-description ul li {
  line-height: 1.7;
}

/* Task Completed Section */
.task-completed-section {
  margin-bottom: 45px;
  padding: 35px;
  background: rgba(255, 193, 7, 0.05);
  border-left: 4px solid var(--primary-color);
  border-radius: 15px;
}

.task-completed-section h3 {
  color: var(--primary-color);
  font-size: 26px;
  margin-bottom: 25px;
  font-weight: 700;
}

.task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-list li {
  padding: 12px 0 12px 35px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 12px;
}

.task-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 20px;
  width: 28px;
  height: 28px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Event Gallery Section */
.event-gallery-section {
  margin-bottom: 45px;
}

.event-gallery-section h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Event Impact Section */
.event-impact-section {
  margin-bottom: 45px;
}

.event-impact-section h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 700;
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-stat {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.impact-stat:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.impact-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.impact-number {
  color: var(--primary-color);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.impact-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* Share Event Section */
.share-event-section {
  padding-top: 35px;
  border-top: 1px solid rgba(255, 193, 7, 0.2);
}

.share-event-section h4 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: rgba(59, 89, 152, 0.2);
  border: 2px solid rgba(59, 89, 152, 0.5);
  color: #3b5998;
}

.share-btn.twitter {
  background: rgba(29, 161, 242, 0.2);
  border: 2px solid rgba(29, 161, 242, 0.5);
  color: #1da1f2;
}

.share-btn.linkedin {
  background: rgba(0, 119, 181, 0.2);
  border: 2px solid rgba(0, 119, 181, 0.5);
  color: #0077b5;
}

.share-btn.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  border: 2px solid rgba(37, 211, 102, 0.5);
  color: #25d366;
}

.share-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Sidebar */
.event-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
  top: 100px;
  position: sticky;
  height: fit-content;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 20px;
  padding: 30px;
}

.sidebar-card h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 700;
}

/* Event Info Card */
.info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  gap: 15px;
  align-items: start;
}

.info-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.info-content h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Map Card */
.map-container {
  position: relative;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-container:hover .map-overlay {
  opacity: 1;
}

.view-map-btn {
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.map-address {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Organizer Card */
.organizer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.organizer-logo {
  width: 60px;
  height: 60px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.organizer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.organizer-details h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
}

.organizer-details p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 0;
}

.organizer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-color);
}

/* CTA Card */
.cta-card {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.15) 0%,
    rgba(255, 213, 79, 0.1) 100%
  );
  border-color: var(--primary-color);
  text-align: center;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.sidebar-cta-btn {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: var(--dark-bg);
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.sidebar-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
}

/* Related Events Section */
.related-events-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.related-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.related-event-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-event-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(255, 193, 7, 0.2);
}

.related-event-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-event-card:hover .related-event-image img {
  transform: scale(1.1);
}

.related-event-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.related-event-content {
  padding: 25px;
}

.related-event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.related-event-content h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.explore-btn {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.explore-btn:hover {
  gap: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .event-details-layout {
    grid-template-columns: 1fr 350px;
    gap: 40px;
  }

  .impact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .event-details-layout {
    grid-template-columns: 1fr;
  }
  
  .event-details-section {
    padding: 20px 0px;
  }

  .event-sidebar {
    order: -1;
    position: static;
  }

  .event-main-content,
  .sidebar-card {
    padding: 25px;
  }

  .event-featured-image {
    height: 350px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .event-detail-header {
    height: 300px;
    margin-top: 70px;
  }

  .event-main-content {
    padding: 20px;
  }

  .event-header-info h2 {
    font-size: 28px;
  }

  .event-quick-meta {
    flex-direction: column;
    gap: 15px;
  }

  .task-completed-section {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 200px;
  }

  .impact-stats-grid {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-btn {
    justify-content: center;
  }
}
