/* Base */
:root {
  --brand: #7a2d2d;
  --brand-light: #8b3a3a;
  --brand-dark: #5a1f1f;
  --brand-50: rgba(122, 45, 45, 0.08);
  --brand-10: rgba(122, 45, 45, 0.1);
  --text: white;
  --text-light: #4a4a4a;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --accent: #f4a261;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-light: rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: "Roboto", system-ui;
  line-height: 1.7;
  font-weight: 400;
  scroll-behavior: smooth;
  background-color: #2a071f;
  height: 100%;
}

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 5rem;
  padding-right: 5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
  display: block;
}

/* Ensure navbar sits above dropdown */
.navbar { position: relative; z-index: 20; }

.nav {
  display: flex;
  gap: 23px;
}

.nav li {
  list-style: none;
  text-decoration: none;
}

.nav li a {
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-items-wrapper {
  display: flex;
  align-items: center;
  gap: 23px;
}

/* Hide mobile-only items on desktop */
.mobile-donate,
.mobile-only { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  padding: 0;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle .bar:nth-child(1) {
  margin-bottom: 0;
}

.nav-toggle .bar:nth-child(2) {
  margin: 0;
}

.nav-toggle .bar:nth-child(3) {
  margin-top: 0;
}

/* Hamburger animation states */
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { 
  transform: translateY(6px) rotate(45deg); 
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { 
  opacity: 0; 
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { 
  transform: translateY(-6px) rotate(-45deg); 
}

.nav-hotline-button {
  background-color: rgb(253, 243, 243);
  border-radius: 5px;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}


.nav-donate-button {
  background-color: var(--brand-light);
  color: white;
  border-radius: 5px;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  
}

.nav-donate-button a {
  color: white;
  text-decoration: none;
}

.nav-hotline-button a {
  text-decoration: none;
  color: black;
}


/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  overflow: hidden;
  display: grid;
  place-items: center; /* center vertically and horizontally */
}

.hero-orbits::before,
.hero-orbits::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 1400px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.hero-orbits::after {
  width: 1000px;
  height: 1000px;
}

.section-header-home-text-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.section-header-home-text {
  font-size: 90px;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin: 0 0 24px 0;
}

.hero-content {
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  background: rgba(255,255,255,0.04);
  margin-top: 8px;
}

/* Bubbles */
.hero-bubbles {
  pointer-events: none;
}

.bubble {
  position: absolute;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #af2633; /* red ring */
  box-shadow: 0 0 0 6px rgba(249, 115, 115, 0.15); /* outer glow */
}

.bubble-1 { left: 120px; top: 110px; }
.bubble-2 { left: 70px; top: 330px; width: 130px; height: 130px; }
.bubble-3 { left: 220px; bottom: 130px; width: 140px; height: 140px; }
.bubble-4 { right: 130px; top: 110px; width: 140px; height: 140px; }
.bubble-5 { right: 90px; top: 320px; width: 160px; height: 160px; }
.bubble-6 { right: 300px; bottom: 120px; width: 150px; height: 150px; }

/* Responsive */
@media (max-width: 1200px) {
  .section-header-home-text { font-size: 72px; }
  .hero-orbits::before { width: 1100px; height: 1100px; }
  .hero-orbits::after { width: 800px; height: 800px; }
}

@media (max-width: 992px) {
  .section-header-home-text { font-size: 56px; }
  .hero-orbits::before { width: 900px; height: 900px; }
  .hero-orbits::after { width: 640px; height: 640px; }
  .bubble { width: 90px; height: 90px; }
}

/* Show hamburger and collapse nav on medium screens and below */
@media (max-width: 1024px) {
  .nav-container { padding-left: 1rem; padding-right: 1rem; }
  .nav-toggle { display: inline-flex; }
  .nav-items-wrapper { display: block; position: absolute; left: 0; right: 0; top: 56px; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.12); padding: 14px 16px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s ease; }
  .nav-items-wrapper.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav { flex-direction: column; gap: 12px; margin: 0; padding: 0; }
  .left-item { display: none; }
  /* Show mobile-only items in the dropdown */
  .mobile-donate,
  .mobile-only { display: block; }
  /* Emphasize donate item in mobile menu */
  .mobile-donate { margin-bottom: 6px; }
  .button-donate { display: inline-flex; align-items: center; gap: 6px; background: #af2633; color: #fff; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 13px; }
  .section-header-home-text { font-size: 42px; line-height: 1.15; text-align: center; }
  .section-header-home-text-wrapper { margin-left: 1rem; margin-right: 1rem; }
  .cta-button { width: 140px; height: 38px; font-size: 12px; }
  .hero-orbits::before { width: 700px; height: 700px; }
  .hero-orbits::after { width: 500px; height: 500px; }
  .hero-orbits { display: none; }
  .hero-bubbles { display: none; } /* hide bubbles on small screens */
}

@media (max-width: 480px) {
  .section-header-home-text { font-size: 34px; }
  .cta-button { width: 130px; height: 36px; font-size: 12px; }
}


