/* ====== GLOBAL STYLING ====== */
body {
    background: url('https://images.unsplash.com/photo-1515169067865-5387ec356754?auto=format&fit=crop&w=1950&q=80') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #fff;
}

/* ====== MAIN CONTAINER ====== */
.events-container {
    /* padding: 60px 30px;
    max-width: 1300px;
    margin: 60px auto;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); */
}

/* ====== HEADINGS ====== */
.events-container h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ====== FILTER BUTTONS ====== */
.filters {
    text-align: center;
    margin-bottom: 35px;
}
.filters button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 25px;
    background: transparent;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filters button.active,
.filters button:hover {
    background: #a192ee;
    color: #fff;
    box-shadow: 0 0 10px rgb(161 146 238);
}

/* ====== SEARCH BOX ====== */
.search-box {
  text-align: center;
  margin-bottom: 35px;
}

.search-box input {
  width: 320px;
  padding: 12px 20px 12px 45px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 15px;
  color: #fff;
  background:transparent;
  background-size: 18px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
  outline: none;
  border-color: #a192ee;
  box-shadow: 0 0 12px rgba(161, 146, 238, 0.6);
  background: rgba(161, 146, 238, 0.15)
    url('https://cdn-icons-png.flaticon.com/512/622/622669.png') no-repeat 15px center;
  background-size: 18px;
}


/* ====== GRID STRUCTURE ====== */
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ✅ Only 3 cards per row */
    gap: 30px;
}

@media (max-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 cards per row */
    }
}
@media (max-width: 700px) {
    .event-grid {
        grid-template-columns: repeat(1, 1fr); /* Mobile: 1 card per row */
    }
}

/* ====== EVENT CARD ====== */
.event-card {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(8px);
}
.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgb(161 146 238 / 35%);
}

/* ====== EVENT IMAGE ====== */
.event-thumb img {
    width: 100%;
    height: 220px !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.event-card:hover .event-thumb img {
    transform: scale(1.08);
}

/* ====== EVENT CONTENT ====== */
.event-content {
    padding: 22px 20px;
    flex: 1;
}
.event-content h3 {
    font-size: 22px;
    margin: 0 0 12px;
    color: #a192ee !important;
    transition: color 0.3s ease;
}
.event-content h3:hover {
    color: #a192ee;
}
.event-date {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}
.event-date i {
    margin-right: 6px;
    color: #ffb400;
}
.event-content p {
    font-size: 15px;
    color: #cfcfcf;
    line-height: 1.5;
}

/* ====== EVENT STATUS BADGE ====== */
.event-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #a192ee;
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    box-shadow: 0 0 10px rgb(161 146 238);
}
.event-status.past {
    background: linear-gradient(135deg, #ff5757, #b40000);
    color: #fff;
}

/* ====== NO EVENT FOUND ====== */
.events-container p {
    text-align: left;
    font-size: 16px;
    color: #fff;
}
