/* =========================
   GLOBAL
========================= */
body {
  font-family: 'Inter', sans-serif;
  background: #f4f7fb;
  color: #1a1a1a;
}

/* =========================
   HERO (IMPROVED)
========================= */
.hero-section {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/Newsite/assets/images/gallery-page.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 29, 68, 0.75);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 850px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.hero-content span {
  color: #ff4d88;
}

.hero-content p {
  margin-top: 20px;
  font-size: 18px;
  color: #e2e8f0;
}

/* =========================
   TABS (CENTERED + PREMIUM)
========================= */
.category-section {
  padding: 40px 0;
  text-align: center;
}

.tabs {
  display: inline-flex;
  background: #fff;
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tabs button {
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.tabs button.active {
  background: #e2165f;
  color: #fff;
}

.tabs button:hover {
  color: #e2165f;
}

/* =========================
   GRID (MODERN CARDS)
========================= */
.event-section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD DESIGN */
.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.4s;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.event-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.event-card:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.event-overlay {
  position: absolute;
  inset: 0;
  background: rgba(226, 22, 95, 0.85);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s;
}

.event-card:hover .event-overlay {
  opacity: 1;
}

/* CONTENT */
.event-title {
  padding: 20px;
}

.event-title h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.event-title p {
  font-size: 13px;
  color: #777;
}

/* LARGE CARD */
.event-card.large {
  grid-column: span 2;
}

.event-card.large .event-img {
  height: 300px;
}

/* =========================
   PAGINATION (BETTER)
========================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.pagination button {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  border: none;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: 0.3s;
}

.pagination button.active {
  background: #0a1d44;
  color: #fff;
}

.pagination button:hover {
  background: #e2165f;
  color: #fff;
}

/* =========================
   CTA (MODERN SPLIT)
========================= */
.cta-section {
  /*background: #4C81C2;*/
  background: linear-gradient(145deg, #4C81C2, #2E517A);
  padding: 100px 20px;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: auto;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
}

.cta-content p {
  margin: 20px 0;
  color: #cbd5e1;
}

.cta-btn {
  background: #e2165f;
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  transform: scale(1.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .event-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}