/* ==========================
   Figtree Font Family
========================== */
@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree/Figtree-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree/Figtree-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree/Figtree-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree/Figtree-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree/Figtree-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ==========================
   Polymath Display Font Family
========================== */
@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolymathDisplay';
    src: url('../fonts/Polymath Display/Polymath Display Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



:root {
  --pu-navy: #0c0836;        /* Deep brand navy/black */
  --pu-purple: #1e0b5a;      /* Rich violet for headers */
  --pu-indigo: #2c1a8a;      /* Hover indigo */
  --text-main: #0c0836;      /* Primary text color */
  --text-muted: #5c5970;     /* Muted slate text for subtitles */
  --bg-light: #ffffff;       /* Main white background */
  --bg-card-light: #f5f6f8;  /* Off-white background for list cards */
  --border-light: #e2e8f0;   /* Light gray borders */
  --font-sans: 'Figtree', sans-serif;
  --font-display: 'PolymathDisplay', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(12, 8, 54, 0.03);
  --shadow-md: 0 12px 32px rgba(12, 8, 54, 0.05);
  --shadow-lg: 0 20px 48px rgba(12, 8, 54, 0.08);
  --radius-card: 20px;
  --radius-pill: 30px;
}

/* Base resets & typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--pu-navy);
}

/* Custom Header / Navbar Styling */
.pu-navbar {
  background-color: #ffffff;
  border-bottom: 1.5px solid var(--border-light);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

.pu-navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.pu-logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Brand Logo Sliding Carousel Styles */
.pu-brand-slider-container {
  display: flex;
  align-items: center;
  height: 48px;
}

.pu-brand-main-logo {
  height: 44px;
  width: auto;
  display: block;
}

.pu-brand-logo-divider {
  width: 1.5px;
  height: 32px;
  background-color: #cbd5e1;
  margin: 0 16px;
}

.pu-brand-logo-slider {
  position: relative;
  width: 150px;
  height: 40px;
  overflow: hidden;
}

.pu-brand-slide-img {
  position: absolute;
  left: 0;
  top: 100%;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.pu-brand-slide-img.active {
  top: 0;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.pu-brand-slide-img.exit {
  top: -100%;
  opacity: 0;
  z-index: 1;
}

.pu-btn-nav-visit {
  background-color: var(--pu-navy);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  height: 44px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.pu-btn-nav-visit:hover {
  background-color: var(--pu-indigo);
}

.pu-hero {
  position: relative;
  background-image: url('../img/events-page-hero.png');
  background-size: cover;
  background-position: center;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 90px 20px 48px 20px;
}

.pu-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 70px;
  margin-bottom: auto;
}

.pu-hero-title {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(12, 8, 54, 0.35); /* added subtle text shadow for premium readability against light spots */
}

.pu-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 5px rgba(12, 8, 54, 0.25);
}

/* Horizontal Cards Layout Grid */
.pu-card-wrapper {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.pu-card-img-col {
  flex: 0 0 270px;
  width: 270px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.pu-card-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* White Card Spotlight details */
.pu-card-details-col {
  flex: 1;
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

/* Spotlight Card style */
.pu-spotlight-container .pu-card-details-col {
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 231, 235, 0.4);
}

/* Upcoming Card style (Off-white background) */
.pu-upcoming-row .pu-card-details-col {
  background-color: var(--bg-card-light);
  border: 1.5px solid rgba(226, 232, 240, 0.5);
}

.pu-card-info {
  flex: 1;
  padding-right: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Date/Time Pill Badge Outline styling */
.pu-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(76, 29, 149, 0.2);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pu-indigo);
  margin-bottom: 16px;
  background-color: #f5f3ff;
  width: fit-content;
}

.pu-event-pill i {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.pu-event-pill-divider {
  width: 1.5px;
  height: 12px;
  background-color: rgba(76, 29, 149, 0.2);
}

.pu-event-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--pu-navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.pu-event-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pu-event-location i {
  color: var(--pu-navy);
  font-size: 1.05rem;
}

/* Dashed divider between details & action */
.pu-card-divider {
  flex: 0 0 1px;
  border-left: 2px dashed #cbd5e1;
  align-self: stretch;
  margin: 0 16px;
}

/* Action column containing buttons */
.pu-card-actions {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
}

.pu-btn-ticket {
  background-color: var(--pu-navy);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 32px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.pu-btn-ticket:hover {
  background-color: var(--pu-indigo);
  color: #ffffff;
  transform: translateY(-1px);
}

.pu-link-details {
  color: var(--pu-navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
  transition: var(--transition-smooth);
  display: inline-block;
  border-bottom: 1.5px solid transparent;
}

.pu-link-details:hover {
  border-bottom-color: var(--pu-navy);
}

/* Hero Spotlight Card wrapper overlapping */
/* Hero Spotlight Card wrapper - Bootstrap Container layout */
.pu-spotlight-container {
  width: 100%;
  padding-right: 24px;
  padding-left: 24px;
  margin: 40px auto 0 auto;
  position: relative;
  z-index: 10;
}

/* Upcoming Events Section - Bootstrap Container layout */
.pu-upcoming-section {
  width: 100%;
  padding: 90px 24px 100px 24px;
  margin: 0 auto;
  text-align: center;
}

/* Responsive Bootstrap Container Widths */
@media (min-width: 576px) {
  .pu-spotlight-container,
  .pu-upcoming-section {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .pu-spotlight-container,
  .pu-upcoming-section {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .pu-spotlight-container,
  .pu-upcoming-section {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .pu-spotlight-container,
  .pu-upcoming-section {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .pu-spotlight-container,
  .pu-upcoming-section {
    max-width: 1320px;
  }
}

.pu-upcoming-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--pu-navy);
  margin-bottom: 8px;
}

.pu-upcoming-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 48px;
}

/* Events list */
.pu-events-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Custom Footer */
.pu-footer {
  background-color: var(--pu-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .pu-navbar {
    height: auto;
    padding: 16px 0;
  }
  
  .pu-brand-main-logo {
    height: 36px;
  }
  
  .pu-brand-logo-divider {
    height: 24px;
    margin: 0 10px;
  }
  
  .pu-brand-logo-slider {
    width: 110px;
    height: 32px;
  }
  
  .pu-btn-nav-visit {
    height: 38px;
    padding: 0 18px;
    font-size: 0.82rem;
  }
  
  .pu-card-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .pu-card-img-col {
    flex: none;
    width: 100%;
    height: 200px;
  }
  
  .pu-card-details-col {
    flex-direction: column;
    padding: 24px;
    align-items: stretch;
    text-align: center;
  }
  
  .pu-card-info {
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .pu-card-divider {
    display: none;
  }
  
  .pu-card-actions {
    flex: none;
    width: 100%;
    padding-left: 0;
    border-top: 1.5px dashed var(--border-light);
    padding-top: 20px;
  }
  
  .pu-spotlight-container {
    margin: 30px auto 0 auto;
  }
  
  .pu-upcoming-title {
    font-size: 2.2rem;
  }
  
  .pu-upcoming-section {
    padding-top: 60px;
  }
}
