/* ==========================================================================
   EVENT.CSS — Modern Tourist Events & Culture Styling
   ========================================================================== */

/* Main Container */
.event-main {
  width: 90%;
  max-width: 1240px;
  margin: 40px auto 60px;
}

/* ── HERO / FEATURED SECTION (SLIDER + SIDEBAR) ── */
.event-home {
  display: flex;
  gap: 30px;
  width: 100%;
  margin-bottom: 50px;
  align-items: stretch;
}

/* Drift-box Custom Element Styling */
drift-box {
  width: 65%;
  height: 480px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
  background: var(--secondary);
}

.drift-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.drift-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drift-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #ffffff;
}

.drift-slide-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.slide-badge.accent {
  background: var(--accent);
  border-color: var(--accent);
}

.drift-slide-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.drift-slide-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 90%;
}

/* ── SIDEBAR HIGHLIGHTS LIST ── */
.event-sidebar {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid #00000020;
  border-radius: 20px;
  padding: 2%;
  height: fit-content;
}

.event-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1%;
  padding-bottom: 3%;
  border-bottom: 2px solid var(--accent-lit);
}

.event-sidebar-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
}

.event-sidebar-header span {
  font-size: 15px;
  font-weight: 700;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-lit);
  padding: 4px 10px;
  border-radius: 12px;
}

.event-sidebar-header svg{
  width: 14px;
  /* display: block; */
}

.event-list {
  display: flex;
  flex-direction: column;
  /* gap: 14px; */
  padding: 0;
  margin: 0;
  list-style: none;
}

.event-list li {
  display: flex;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  align-items: center;
}

.event-list li:hover {
  background: var(--sec-lit);
  border-color: rgba(255, 0, 0, 0.15);
  transform: translateX(4px);
}

.event-list li img {
  width: 85px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.event-list-info h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-li-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #666;
}

.event-li-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── BLOG WIDGET IN SIDEBAR ── */
.sidebar-blog-widget {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-mini-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--secondary);
  transition: background 0.3s ease;
  align-items: center;
}

.blog-mini-item:hover {
  background: var(--accent-lit);
}

.blog-mini-item img {
  width: 70px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.blog-mini-content h6 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-mini-content span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* ── LOCATION FILTER CHIPS ── */
.event-filter-section {
  margin-bottom: 30px;
}

.filter-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #777;
  margin-bottom: 12px;
}

.category-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  background: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.08);
}

.chip.active {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ── MAIN EVENT GRID ── */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  width: 100%;
}

.event-block {
  /* display: flex;
  flex-direction: column; */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.event-block:hover {
  transform: translateY(-8px);
}

.event-img-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--sec-lit);
    border-radius: 15px;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-block:hover .event-img-wrap img {
  transform: scale(1.05);
  border-radius: 10px;
}

.event-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-txt-block {
  padding: 4%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--sec-lit);
  border-radius: 10px;
  margin-top: 5%;
  height: min-content;
}

.event-info {
  display: flex;
  /* flex-direction: column; */
  gap: 20px;
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
  padding-bottom: 12px;
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.06); */
}

.event-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.event-icons {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.event-block .title {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 10px;
  /* line-height: 1.3; */
}

.event-block .desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  /* margin-bottom: 20px; */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-btn-wrap {
  margin-top: auto;
}

.event-btn {
  background-color: var(--secondary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.event-btn:hover {
  /* background-color: var(--accent);
  color: #ffffff; */
  transform: translateY(-2px);
  /* box-shadow: 0 6px 16px rgba(255, 0, 0, 0.25); */
}

/* ── EVENT DETAILS PAGE STYLING ── */
.event-det-main {
  width: 90%;
  max-width: 1240px;
  margin: 40px auto 60px;
}

.event-det-layout {
  display: flex;
  gap: 35px;
  align-items: flex-start;
  width: 100%;
}

.event-det-primary {
  width: 68%;
  display: flex;
  flex-direction: column;
}

.event-det-hero {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

.event-det-tag {
  position: absolute;
  top: 15px;
  left: 20px;
  background: #ff00004c;
  color: var(--primary);
  font-size: 15px;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 10px;
}

.event-det-block {
  width: 100%;
  border-radius: 24px;
  padding: 40px;
  /* background-color: var(); */
  border: 1px solid #00000027;
  /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05); */
  margin-bottom: 30px;
}

.event-det-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.event-det-body {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 30px;
}

.event-det-info {
  display: grid;
  grid-template-columns: auto auto;
  gap: 35px;
  margin: 5% 0;
  padding: 5%;
  background: var(--sec-lit);
  border-radius: 15px;
}

.event-det-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-det-info-item label {
  font-size: 15px;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
  color: var(--accent);
  opacity: .8;
}

.event-det-info-item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
}

.event-det-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.event-det-btn {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3=5px);
  box-shadow: 0 8px 20px #ff000023;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
}

.event-det-btn:hover {
scale: .9;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

/* Sidebar in detail page */
.event-det-sidebar {
  width: 32%;
  position: sticky;
  top: 100px;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .event-home, .event-det-layout {
    flex-direction: column;
  }

  drift-box, .event-det-primary, .event-det-sidebar {
    width: 100%;
  }

  .event-sidebar {
    width: 100%;
  }

  .event-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .event-main, .event-det-main {
    width: 92%;
    margin-top: 20px;
  }

  drift-box {
    height: 340px;
  }

  .drift-slide-title {
    font-size: 22px;
  }

  .event-list {
    grid-template-columns: 1fr;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-det-hero {
    height: 300px;
  }

  .event-det-block {
    padding: 24px;
  }

  .event-det-title {
    font-size: 24px;
  }
  
  .event-det-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .event-det-btn {
    width: 100%;
  }
}

/* ── FILTER RESULTS COUNT ── */
.filter-results-count {
  font-size: 14px;
  color: #888;
  margin-bottom: 22px;
}

.filter-results-count strong {
  color: var(--secondary);
}

.filter-results-count a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.filter-results-count a:hover {
  text-decoration: underline;
}

/* ── NO-RESULTS EMPTY STATE ── */
.no-results {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 20px;
  text-align: center;
  color: #aaa;
}

.no-results svg {
  width: 52px;
  height: 52px;
  opacity: 0.35;
}

.no-results p {
  font-size: 16px;
  color: #888;
}

.no-results .chip {
  margin-top: 4px;
}