/* =========================
   PPRX EVENT PAGES - FINAL PRO CSS
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

:root {
  --bg-1: #070d18;
  --bg-2: #08111d;
  --bg-3: #0b1424;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.03);
  --text: #ffffff;
  --muted: #dbe5f4;
  --muted-2: #cbd5e1;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 179, 71, 0.22);
  --orange-1: #ff8a00;
  --orange-2: #ffb347;
  --orange-glow: rgba(255, 138, 0, 0.22);
  --radius: 24px;
  --radius-sm: 18px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.32);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(0, 102, 255, 0.08), transparent 30%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 3000;
  width: calc(100% + 40px);
  margin: -20px -20px 24px;
  background: rgba(8, 17, 29, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.4px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--orange-2);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(255, 138, 0, 0.22);
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  margin-bottom: 34px;
  background:
    linear-gradient(rgba(6, 12, 24, 0.42), rgba(6, 12, 24, 0.80)),
    url('event1.jpg') center center / cover no-repeat;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  background:
    radial-gradient(circle at top left, rgba(255, 138, 0, 0.08), transparent 28%),
    linear-gradient(to bottom, rgba(7, 12, 24, 0.18), rgba(7, 12, 24, 0.50), rgba(7, 12, 24, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 34px 24px;
  border-radius: 28px;
  background: rgba(12, 18, 32, 0.48);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 45px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #e5eefc;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-content h1 {
  font-size: 54px;
  line-height: 1.06;
  margin-bottom: 12px;
  color: var(--text);
}

.hero-content p {
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =========================
   PAGE / SECTION TEXT
========================= */

.page-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--text);
}

.page-subtext {
  text-align: center;
  color: var(--muted-2);
  margin-bottom: 30px;
  font-size: 16px;
}

section {
  padding: 82px 20px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-1), transparent);
}

.section-subtitle {
  max-width: 880px;
  margin: 0 auto 42px;
  color: var(--muted-2);
  font-size: 17px;
  text-align: center;
  line-height: 1.8;
}

/* =========================
   SIMPLE GALLERY GRID
========================= */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.event-card {
  position: relative;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 18px rgba(255,140,0,0.08);
  border-color: rgba(255, 140, 0, 0.4);
}

.event-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-card:hover img {
  transform: scale(1.04);
}

.event-title {
  padding: 14px 14px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
}

/* =========================
   FEATURED PORTFOLIO GRID
========================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%),
    linear-gradient(90deg, rgba(255,138,0,0.06), transparent 20%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-2);
  box-shadow: 0 18px 40px rgba(0,0,0,0.30), 0 0 18px var(--orange-glow);
}

.portfolio-card:hover::before {
  opacity: 1;
}

.portfolio-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 22px;
  text-align: left;
}

.portfolio-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.25;
}

.event-meta {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
}

.portfolio-content p {
  color: var(--muted-2);
  font-size: 15px;
  margin-bottom: 18px;
  text-align: left;
  line-height: 1.75;
}

.view-btn,
.back-home-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 20px rgba(255,138,0,0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.view-btn:hover,
.back-home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,138,0,0.30);
}

.coming-soon {
  opacity: 0.9;
  cursor: default;
}

.coming-soon:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.coming-soon:hover img {
  transform: none;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img,
.lightbox video {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.close,
.prev,
.next {
  position: absolute;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  z-index: 10001;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.close:hover,
.prev:hover,
.next:hover {
  transform: scale(1.08);
  opacity: 0.85;
}

.close {
  top: 20px;
  right: 30px;
}

.prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.counter {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 10001;
}

/* =========================
   BACK HOME / FOOTER
========================= */

.back-home-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 20px 46px;
}

.back-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #ffffff !important;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 6px 20px rgba(249,115,22,0.5);
  transition: 0.3s ease;
}

.back-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(249,115,22,0.7);
}

footer {
  padding: 24px 15px;
  text-align: center;
  background: #050911;
  color: #aeb7c5;
  font-size: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .section-title {
    font-size: 34px;
  }

  .nav-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    padding: 14px;
  }

  .navbar {
    width: calc(100% + 28px);
    margin: -14px -14px 20px;
  }

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

  .hero-section {
    min-height: 46vh;
    padding: 34px 16px;
    border-radius: 22px;
  }

  .hero-content {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-content p,
  .section-subtitle,
  .portfolio-content p,
  .page-subtext {
    font-size: 14px;
  }

  .portfolio-card img {
    height: 220px;
  }

  .event-card img {
    height: 220px;
  }

  .close,
  .prev,
  .next {
    font-size: 32px;
  }

  .prev {
    left: 12px;
  }

  .next {
    right: 12px;
  }

  footer {
    border-radius: 14px;
  }
}
