/* ==============================================
   VERSO — Shared Frontend CSS
   ============================================== */

:root {
  --primary-orange: #ff8400;
  --primary-dark: #af5a00;
  --text-dark: #1a1a1a;
  --text-muted: rgba(0,0,0,0.55);
  --border-light: rgba(0,0,0,0.15);
  --bg-light: #f8f8f8;
  --header-height: 73px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff;
}

/* Cursor pointer global fix */
button { cursor: pointer; }
a { cursor: pointer; }
select { cursor: pointer; }
img.store-badge,
img.download-badge { cursor: pointer; }

/* ========== HEADER (STICKY) ========== */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  height: 60px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.header-wrapper.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-section {
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

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

.logo-verso .logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-pill {
  background: rgba(242,242,242,0.4);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 14px 48px;
  display: flex;
  gap: 40px;
  align-items: center;
  box-shadow: 0px 4px 11.8px 0px rgba(0,0,0,0.13);
}

.nav-pill a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-pill a:hover { color: var(--primary-orange); }
.nav-pill a.active { font-weight: 700; color: var(--primary-orange); }

.btn-get-app {
  background: var(--primary-orange);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-get-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,132,0,0.35);
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* ========== MOBILE MENU DRAWER ========== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 80px 24px 24px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}
.mobile-menu-drawer.active {
  transform: translateX(0);
}
.mobile-menu-drawer a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s;
  cursor: pointer;
}
.mobile-menu-drawer a:hover,
.mobile-menu-drawer a.active { color: var(--primary-orange); }
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}

/* ========== SHARED BUTTONS ========== */
.btn-primary-orange {
  background: var(--primary-orange);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-primary-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,132,0,0.35);
  color: white;
}

.btn-outline-dark {
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  background: transparent;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline-dark:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* ========== SHARED EVENT CARDS ========== */
.event-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  cursor: pointer;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.event-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.event-body { padding: 16px; }
.event-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.event-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.event-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.event-tag {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}
.event-tag.orange { background: var(--primary-orange); color: white; }
.event-tag.yellow { background: #ffc107; color: var(--text-dark); }
.event-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  cursor: pointer;
}
.event-link:hover { color: var(--primary-orange); }
.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.event-participants {
  font-size: 11px;
  color: black;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== FOOTER ========== */
.footer-section {
  border-top: 1px solid var(--border-light);
  padding: 28px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 16px; color: var(--text-dark); letter-spacing: -0.3px; }
.footer-copyright strong { font-weight: 700; }
.social-links { display: flex; gap: 20px; align-items: center; }
.social-links a {
  color: var(--text-dark);
  font-size: 22px;
  transition: color 0.2s;
  cursor: pointer;
}
.social-links a:hover { color: var(--primary-orange); }
.footer-terms {
  font-size: 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-terms:hover { color: var(--primary-orange); }

/* ========== RESPONSIVE — SHARED ========== */
@media (max-width: 991px) {
  .nav-pill { padding: 12px 28px; gap: 24px; }
}

@media (max-width: 767px) {
  .header-section { padding: 0 20px; flex-wrap: nowrap; gap: 0; }
  .mobile-menu-btn { display: block; }
  .nav-pill { display: none; }
  .btn-get-app { font-size: 12px; padding: 6px 14px; }
  .logo-verso {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .logo-verso .logo-img { height: 32px; }
  .footer-section {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-copyright { font-size: 14px; order: 2; }
  .social-links { gap: 20px; order: 1; }
  .social-links a { font-size: 20px; }
  .footer-terms { font-size: 14px; order: 3; }
}
