body {
    background: url('../images/event-bg.jpeg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    font-family: sans-serif;
  }
.events-section {
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .events-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #2c3e50;
  }
  
  .event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
  
  .event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .event-card:hover {
    transform: scale(1.02);
  }
  
  .event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  
  .event-info {
    padding: 1rem;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    text-align: center;
  }
  
  .modal-content img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 6px;
  }
  
  .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
  }
  .blur-wrapper {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    max-width: 1100px;
    margin: 2rem auto;
  }