/* ==========================================================================
   APLA SHAHAR EVENT TICKETING - DESIGN SYSTEM STYLESHEET
   Website: aplashahar.in
   Theme: Blue & Green (Clean, Modern & High-Contrast)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GOOGLE FONTS IMPORT
   Clean, modern, high-readability sans-serif typeface.
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS (CSS VARIABLES)
   Blue & Green Theme Palette
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors - Blue & Green */
  --navy: #0c192c;          /* Deep oceanic navy for headings and dark sections */
  --navy-light: #173262;    /* Lighter ocean blue for gradients and badges */
  --blue: #2563eb;          /* Royal/electric blue for secondary highlights & links */
  --blue-dark: #1d4ed8;      /* Deep royal blue */
  --blue-soft: #eff6ff;     /* Soft ice-blue background tint */
  
  --accent: #10b981;        /* Vibrant emerald ticketing green */
  --accent-d: #059669;      /* Forest emerald for button hover states */
  --accent-light: #ecfdf5;  /* Soft mint tint for badges, tags, and icon containers */
  --accent-glow: rgba(16, 185, 129, 0.28);
  --blue-glow: rgba(37, 99, 235, 0.22);

  /* Status & Action Colors */
  --green: #10b981;
  --whatsapp: #25d366;
  --whatsapp-d: #1eb857;

  /* Neutrals & Surfaces */
  --bg: #f8fafc;            /* Clean off-white background */
  --card: #ffffff;          /* Pure white for cards and modules */
  --card-subtle: #f1f5f9;   /* Soft slate tint for secondary containers */
  --ink: #0f172a;           /* Dark slate for high-contrast crisp text */
  --muted: #64748b;         /* Slate-500 for secondary text and hints */
  --muted-light: #94a3b8;   /* Slate-400 for borders / subtle details */
  --line: #e2e8f0;          /* Crisp 1px border lines */

  /* Spacing & Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1140px;

  /* Shadows (multi-layer subtle elevations) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 6px -1px rgba(15, 23, 42, 0.04), 0 10px 24px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.09), 0 6px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 8px 24px -2px var(--accent-glow);

  /* Transitions */
  --ease: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   3. BASE & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--ease);
}

a:hover {
  color: var(--accent-d);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip:focus {
  left: 16px;
  top: 16px;
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
header.site {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--ease);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

/* Brand & Wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  color: var(--navy);
}

.brand .wordmark b {
  color: var(--accent);
}

.brand.has-logo .wordmark {
  display: none;
}

/* Desktop Navigation */
nav.main ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.main a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 99px;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: var(--ease);
}

nav.main a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

nav.main a[aria-current="page"] {
  background: var(--accent-light);
  color: var(--accent-d);
  font-weight: 700;
}

/* Nav CTA Button */
nav.main a.cta {
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 700;
  padding: 9px 20px;
  box-shadow: 0 2px 10px var(--accent-glow);
}

nav.main a.cta:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Mobile Menu Toggle Button */
.menu-btn {
  display: none;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--ease);
}

.menu-btn:hover {
  background: #f8fafc;
  border-color: var(--muted-light);
}

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  nav.main {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px;
    box-shadow: var(--shadow-lg);
  }

  nav.main.open {
    display: block;
    animation: slideDown 0.2s ease-out;
  }

  nav.main ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  nav.main a {
    padding: 12px 16px;
    border-radius: 10px;
    justify-content: flex-start;
  }

  nav.main a.cta {
    justify-content: center;
    margin-top: 6px;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   5. TOP NOTICE BANNER (CLEAN MINT / GREEN ACCENT)
   -------------------------------------------------------------------------- */
.notice {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  font-size: 0.92rem;
  color: #166534;
  line-height: 1.5;
}

.notice .wrap {
  padding-top: 11px;
  padding-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice strong {
  color: #14532d;
  font-weight: 700;
}

.notice a {
  color: var(--accent-d);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION (OCEAN BLUE & EMERALD GREEN THEME)
   -------------------------------------------------------------------------- */
.hero {
  background: radial-gradient(120% 120% at 50% 0%, #173262 0%, #0c192c 85%);
  color: #ffffff;
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}

/* Ambient emerald glow accent behind hero */
.hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 70%);
  pointer-events: none;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a7f3d0;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 820px;
}

.hero h1 .highlight {
  color: #34d399;
  background: linear-gradient(135deg, #34d399 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 650px;
  font-size: 1.15rem;
  color: #cbd5e1;
  margin: 0 0 32px;
  line-height: 1.65;
}

/* Trust chips inside hero */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #94a3b8;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff !important;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--ease);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn:hover {
  background: var(--accent-d);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn:active {
  transform: translateY(0);
}

/* Ghost / Secondary Button */
.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Secondary outline button on light surfaces */
.btn.outline-dark {
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
}

.btn.outline-dark:hover {
  background: var(--blue-soft);
  border-color: #93c5fd;
  color: var(--blue) !important;
  transform: translateY(-2px);
}

/* WhatsApp / Success Action Button */
.btn.alt {
  background: var(--whatsapp);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn.alt:hover {
  background: var(--whatsapp-d);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   8. SECTIONS & TYPOGRAPHY
   -------------------------------------------------------------------------- */
section {
  padding: 68px 0;
}

section.alt {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  font-weight: 800;
}

h3 {
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.lead {
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 36px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. CARDS & GRIDS
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-d);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 18px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: var(--ease);
}

.card .ico svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.card:hover .ico {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. STEPS & ONBOARDING PROCESS
   -------------------------------------------------------------------------- */
.steps {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step-counter;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px 20px 76px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--ease);
}

.steps li:hover {
  border-color: #93c5fd;
  transform: translateX(4px);
}

.steps li::before {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-light);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.steps li strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   11. EMPTY STATES & EVENTS LISTINGS
   -------------------------------------------------------------------------- */
.empty {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 56px 28px;
  text-align: center;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.empty .empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-d);
  display: grid;
  place-items: center;
}

.empty .empty-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.empty h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

/* Category Filter Chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-chip {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ease);
}

.filter-chip:hover {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: #93c5fd;
}

.filter-chip.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

/* --------------------------------------------------------------------------
   12. PAGE HEADERS & BREADCRUMBS
   -------------------------------------------------------------------------- */
.page-head {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 44px 0 36px;
}

.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--blue);
}

.page-head h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 800;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   13. PROSE (POLICIES & LEGAL TEXT)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 820px;
  background: #ffffff;
  padding: 36px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .prose {
    padding: 24px 20px;
  }
}

.prose h2 {
  margin-top: 36px;
  font-size: 1.35rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.prose ul {
  padding-left: 24px;
}

.prose li {
  margin: 6px 0;
  color: #334155;
}

.meta {
  display: inline-block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--card-subtle);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   14. FORMS & INPUTS
   -------------------------------------------------------------------------- */
form.form {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

form.form .full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  form.form {
    grid-template-columns: 1fr;
  }
}

label {
  font-weight: 700;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #ffffff;
  color: var(--ink);
  transition: var(--ease);
}

input:hover, select:hover, textarea:hover {
  border-color: #cbd5e1;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

.status {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-d);
}

/* --------------------------------------------------------------------------
   15. ACCORDIONS / DETAILS (FAQ)
   -------------------------------------------------------------------------- */
details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}

details[open] {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
footer.site {
  background: #08111e;
  color: #94a3b8;
  padding: 56px 0 28px;
  font-size: 0.94rem;
  border-top: 1px solid #14243b;
}

footer.site a {
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--ease);
}

footer.site a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer.site h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

footer.site p {
  line-height: 1.6;
}

.fgrid {
  display: grid;
  gap: 36px 28px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.site li {
  margin: 9px 0;
}

.fnote {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.6;
}

.fnote a {
  color: #cbd5e1;
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */
