/* ====== Event Page Styles ====== */
.event-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  background: url('assets/eventarea/opt-4.webp') center/cover no-repeat;
  margin-bottom: 60px;
}

.event-hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.event-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.breadcrumb {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}
.breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--white);
}

/* Hero CTA Button */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 30px;
  background-color: var(--accent);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  /*box-shadow: 0 4px 12px rgba(200, 0, 83, 0.3);  --accent color */
}

.hero-cta-btn:hover {
  background-color: #a00044; /* Darker shade of --accent */
  transform: translateY(-2px);
 /* box-shadow: 0 6px 16px rgba(200, 0, 83, 0.4); */
}

.hero-cta-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}


/* Event Intro */
.event-intro {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--gray);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.event-intro h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Event Cards - Improved spacing */
.event-spaces {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: center;
}
.event-card:nth-child(even) {
  direction: rtl;
}

.event-card-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  transform: translateZ(0); /* Hardware acceleration */
}
.event-img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

}

.event-card-content {
  direction: ltr;
  padding: 20px;
}
.event-card h2 {
  color: var(--gold);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.event-specs {
  display: flex;
  gap: 30px;
  margin: 25px 0;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.spec-item img {
  width: 24px;
  height: 24px;
}

.event-features {
  columns: 2;
  column-gap: 30px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.event-features li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  break-inside: avoid;
}
.event-features li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .event-card {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .event-card:nth-child(even) {
    direction: ltr;
  }
  .event-features {
    columns: 1;
  }
}
/* Image Hover Effects */
.event-card:hover .event-img {
  transform: scale(1.03);
}

.event-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover .event-card-image::after {
  opacity: 1;
}

/* Disable overlay on touch devices */
@media (hover: none) {
  .event-card-image::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .event-hero {
    height: 50vh;
  }
  .event-intro {
    padding: 60px 20px;
  }
  .event-intro h2 {
    font-size: 1.3rem;
  }

  .intro-text {
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  color: var(--text-dark);
}


  .event-specs {
    flex-direction: column;
    gap: 15px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-cta-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

