:root {
  --q-charcoal: #20242B; /* Lighter luxury dark */
  --q-gold: #C5A059;
  --q-gold-hover: #b08a44;
  --q-text-main: #FFFFFF;
  --q-text-muted: rgba(255, 255, 255, 0.7);
  --q-glass-bg: rgba(255, 255, 255, 0.08);
  --q-glass-border: rgba(255, 255, 255, 0.15);
}

.qurbani-theme .header,
.qurbani-theme .navigation,
.qurbani-theme .footer,
.qurbani-theme .footer-bottom,
.qurbani-theme .footer-columns {
  background-color: var(--q-charcoal) !important;
}

.qurbani-theme .header .top-bar {
    background-color: #ffffff; /* keep topbar white like original index.html */
}

.qurbani-theme {
  font-family: 'Outfit', sans-serif;
  background-color: var(--q-charcoal);
  color: var(--q-text-main);
  position: relative;
  overflow-x: hidden;
}

/* Qurbani Hero Header */
.qurbani-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  /* Account for fixed nav */
  padding-bottom: 120px;
  /* Space for the floating bar */
}

/* Dual Layer Background */
.qurbani-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/world-map.png') center/cover no-repeat;
  filter: blur(12px);
  z-index: 0;
}

.qurbani-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 15, 15, 0.6) 0%, rgba(15, 15, 15, 0.95) 100%);
  z-index: 1;
}

.qurbani-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qurbani-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--q-gold);
  text-align: center;
  margin-bottom: 15px;
  margin-top: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: 'Outfit', sans-serif;
}

.qurbani-subtitle {
  font-size: 1.2rem;
  color: var(--q-text-muted);
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  font-family: 'Outfit', sans-serif;
}

/* Currency Toggle */
.currency-toggle {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  background: var(--q-glass-bg);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--q-glass-border);
  backdrop-filter: blur(10px);
}

.currency-label {
  font-weight: 600;
  color: var(--q-text-muted);
  transition: color 0.3s;
  font-family: 'Outfit', sans-serif;
}

.currency-label.active {
  color: var(--q-gold);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--q-glass-border);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--q-gold);
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

input:checked+.slider:before {
  transform: translateX(24px);
}

/* Country Cards */
.country-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  width: 100%;
}

.country-card {
  background: var(--q-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--q-glass-border);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.country-card h2 {
  font-size: 1.8rem;
  color: var(--q-gold);
  margin: 0 0 10px 0;
  border-bottom: 1px solid var(--q-glass-border);
  padding-bottom: 15px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

.selection-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selection-info {
  display: flex;
  flex-direction: column;
}

.selection-title {
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
}

.selection-price {
  font-size: 0.95rem;
  color: var(--q-gold);
  opacity: 0.8;
  font-family: 'Outfit', sans-serif;
}

.integer-counter {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--q-glass-border);
  border-radius: 8px;
  overflow: hidden;
}

.btn-minus,
.btn-plus {
  background: transparent;
  border: none;
  color: var(--q-gold);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-minus:hover,
.btn-plus:hover {
  background: var(--q-gold);
  color: var(--q-charcoal);
}

.qty-input {
  width: 40px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--q-glass-border);
  border-right: 1px solid var(--q-glass-border);
  color: var(--q-text-main);
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.qty-input:focus {
  outline: none;
}

.qty-input[type=number] {
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Floating Summary Bar */
.floating-summary-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid var(--q-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  z-index: 1000;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  font-family: 'Outfit', sans-serif;
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.impact-icon {
  font-size: 2.5rem;
  text-shadow: 0 0 15px var(--q-gold);
}

.impact-text {
  display: flex;
  flex-direction: column;
}

#families-fed {
  font-size: 2rem;
  font-weight: 700;
  color: var(--q-gold);
  line-height: 1;
}

.impact-label {
  font-size: 0.85rem;
  color: var(--q-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.summary-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.total-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.total-label {
  font-size: 0.85rem;
  color: var(--q-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.total-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--q-text-main);
  margin-top: 4px;
}

.btn-confirm {
  background: var(--q-gold);
  color: var(--q-charcoal);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: 'Outfit', sans-serif;
}

.btn-confirm:hover {
  background: var(--q-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

@media (max-width: 768px) {
  .floating-summary-bar {
    flex-direction: column;
    padding: 15px 20px;
    gap: 15px;
  }

  .summary-right {
    width: 100%;
    justify-content: space-between;
  }

  .qurbani-title {
    font-size: 2.2rem;
  }
}