/* --- OAKLANDS MUSICAL GALA DESIGN SYSTEM --- */
:root {
  --primary: #1A5F57;
  --primary-dark: #0D3D38;
  --accent: #D4AF37;
  --accent-light: #F4D03F;
  --maroon: #8B2332;
  --mtn-yellow: #FFCC00;
  --airtel-red: #ED1C24;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, .badge, .btn-primary {
  font-family: 'Montserrat', sans-serif;
}

/* =========================================
   HERO SECTION & FLOATING QR
   ========================================= */
.hero {
  position: relative; /* Crucial for floating elements */
  width: 100%;
  overflow: hidden;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-poster {
  width: 100%;
  height: auto;
  max-height: 700px;
  display: block;
  object-fit: contain;
  object-position: center top;
}

/* --- THE FLOATING QR CONTAINER (RIGHT SIDE) --- */
.qr-floating-container {
  position: absolute;
  right: 5%; /* Changed from left to right */
  top: 50%; /* Vertically center it */
  transform: translateY(-50%);
  z-index: 10;
}

.hero-qr-container {
  background: white;
  padding: 10px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 3px solid var(--accent);
}

.hero-qr-label {
  margin-top: 10px;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.download-qr-btn {
  margin-top: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.download-qr-btn:hover {
  background: var(--accent-light);
  transform: scale(1.05);
}

/* =========================================
   MAIN CONTENT & CARDS
   ========================================= */
main {
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  border: 2px solid var(--border);
  border-top: 5px solid var(--accent);
}

.card h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 15px;
}

/* --- PRICE BUTTONS --- */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.price-btn {
  background: linear-gradient(135deg, #fff 0%, #FFFDE7 100%);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 25px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.price-btn:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.price-icon { font-size: 2.5rem; margin-bottom: 10px; }

.price-btn strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 800;
}

.price-btn span { font-size: 0.9rem; color: var(--muted); font-weight: 600; }

/* --- FORMS --- */
.form-header {
  background: linear-gradient(to right, #FFF8E1, #FFECB3);
  color: var(--primary-dark);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
  border-left: 5px solid var(--accent);
}

form label { display: block; margin-bottom: 18px; font-size: 0.9rem; font-weight: 600; color: var(--text); }

form input, form select {
  width: 100%; padding: 14px 16px; margin-top: 8px;
  border: 2px solid var(--border); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #FAFAFA; transition: all 0.2s;
}

form input:focus, form select:focus {
  outline: none; border-color: var(--accent); background: white;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* --- BUTTONS --- */
.btn-primary {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white; border: none; border-radius: 12px;
  font-size: 1.1rem; font-weight: 700; cursor: pointer; margin-top: 10px;
  transition: all 0.2s; box-shadow: 0 4px 15px rgba(26, 95, 87, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26, 95, 87, 0.4); }

.btn-secondary {
  width: 100%; padding: 14px; background: white; color: var(--muted);
  border: 2px solid var(--border); border-radius: 12px;
  font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: 10px; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--muted); color: var(--text); }

/* =========================================
   PAYMENT INFO CARD
   ========================================= */
.payment-info-card { background: linear-gradient(135deg, #FFFDE7 0%, #FFF8E1 100%); border-top: 5px solid var(--accent); }
.payment-info-header { text-align: center; margin-bottom: 30px; }

.payment-badge {
  display: inline-block; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--accent-light); padding: 10px 25px; border-radius: 30px;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 0.95rem;
  letter-spacing: 2px; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(26, 95, 87, 0.3);
}

.payment-info-header h3 { color: var(--primary-dark); font-size: 1.6rem; margin-bottom: 8px; font-weight: 800; }
.payment-subtitle { color: var(--muted); font-size: 1rem; font-style: italic; }

.steps-container { display: flex; flex-direction: column; gap: 20px; margin-bottom: 35px; }
.step {
  display: flex; align-items: center; gap: 20px; background: white;
  padding: 20px; border-radius: 12px; border-left: 5px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.step-number {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary-dark); width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.5rem;
  flex-shrink: 0; box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
.step-content h4 { color: var(--primary); font-size: 1.1rem; margin-bottom: 5px; font-weight: 700; }
.step-content p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.payment-numbers-section { margin-bottom: 25px; }
.section-title {
  text-align: center; font-family: 'Montserrat', sans-serif; font-size: 1.2rem;
  font-weight: 800; color: var(--primary-dark); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 2px dashed var(--accent);
}

.pay-number-card {
  background: white; border-radius: 16px; padding: 25px; margin-bottom: 15px;
  text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 2px solid var(--border); transition: all 0.3s ease;
}
.pay-number-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.pay-number-card.mtn { border-top: 6px solid var(--mtn-yellow); }
.pay-number-card.airtel { border-top: 6px solid var(--airtel-red); }

.network-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 1px; margin-bottom: 12px; text-transform: uppercase;
}
.mtn-badge { background: var(--mtn-yellow); color: #000; }
.airtel-badge { background: var(--airtel-red); color: white; }

.number-display {
  font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 900;
  color: var(--primary-dark); letter-spacing: 2px; margin-bottom: 15px;
}

.copy-btn-large {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white; border: none; padding: 12px 30px; border-radius: 10px;
  cursor: pointer; font-weight: 700; font-size: 1rem; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(26, 95, 87, 0.3);
}
.copy-btn-large:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(26, 95, 87, 0.4); }

.payment-footer-text { text-align: center; padding-top: 20px; border-top: 2px dashed var(--accent); }
.payment-footer-text p { color: var(--primary-dark); font-size: 0.95rem; font-weight: 600; }

/* =========================================
   CHECKOUT PAYMENT BOX & TICKET
   ========================================= */
.ref-code { color: var(--primary); font-size: 1.2rem; letter-spacing: 1px; }
.pay-instruction { text-align: center; margin: 20px 0; font-size: 1.1rem; }
.paybox { background: #FFFDE7; border: 2px dashed var(--accent); border-radius: 16px; padding: 20px; margin: 20px 0; }
.pay-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: white; border-radius: 10px; margin-bottom: 10px; border: 1px solid var(--border); }
.pay-row:last-child { margin-bottom: 0; }
.copy-btn { background: var(--accent); color: var(--primary-dark); border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: all 0.2s; }
.copy-btn:hover { background: var(--accent-light); transform: scale(1.05); }
.small-text { font-size: 0.85rem; color: var(--muted); text-align: center; margin: 20px 0 10px; font-style: italic; }
.ticket-actions { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; margin-top: 25px; }

/* =========================================
   FOOTER & UTILITIES
   ========================================= */
footer { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 0.9rem; border-top: 3px solid var(--accent); margin-top: 40px; background: linear-gradient(to bottom, white, #FFFDE7); }
.hidden { display: none !important; }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
  /* On mobile, move QR code below poster so it doesn't cover the image */
  .qr-floating-container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 20px auto;
    display: flex;
    justify-content: center;
  }
  
  .hero-poster { max-height: 500px; }
  .card { padding: 25px; }
  .prices { grid-template-columns: 1fr; }
  .ticket-actions { grid-template-columns: 1fr; }
  .step { flex-direction: column; text-align: center; }
  .number-display { font-size: 1.6rem; }
}
