/* Layout Structure */
.header {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

.header--scrolled {
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.5);
  border-bottom-color: rgba(96, 165, 250, 0.35);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  display: inline-flex;
  text-decoration: none;
}

.logo h1 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.125rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text-secondary);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--color-blue);
  background: rgba(30, 41, 59, 0.6);
}

.nav-link--active {
  color: var(--color-text-primary);
  box-shadow: inset 0 0 0 2px rgba(96, 165, 250, 0.7);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
}

.nav-link--donate {
  background: linear-gradient(135deg, var(--color-blue-mid), var(--color-blue-deep));
  color: #fff;
  padding: 0.5rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.nav-link--donate:hover {
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-blue-dark));
  color: #fff;
  transform: translateY(-1px);
}

.nav-link--legal {
  background: linear-gradient(135deg, var(--color-blue-mid), var(--color-blue-deep));
  color: white;
  padding: 0.5rem 1.25rem;
}

.nav-link--legal:hover {
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-blue-dark));
  transform: translateY(-1px);
}

.main {
  padding-top: 80px;
}

.hero {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.75)),
    url('/assets/images/hero-panel.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.2), transparent 55%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hero-description {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  max-width: 520px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-image {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image--primary {
  bottom: 0;
  right: 5%;
  width: 60%;
  min-height: 380px;
  transform: translate(5%, 5%) rotate(2deg);
  border: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.9);
  z-index: 1;
}

.hero-image--secondary {
  top: 0;
  left: 5%;
  width: 60%;
  min-height: 380px;
  transform: translate(-5%, -5%) rotate(-2deg);
  z-index: 2;
}

.section-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.projects {
  padding: 6rem 0;
  background: var(--color-panel-dark);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15), transparent 50%);
  pointer-events: none;
}

.projects-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem auto 0;
  max-width: 1100px;
  width: 100%;
  padding: 0 0.5rem;
}

.projects-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) var(--color-card);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.about {
  padding: 6rem 0;
  background: var(--color-bg);
}

.about-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.about-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.8);
  max-width: 420px;
  justify-self: center;
  padding: 1rem;
}

.about-media .about-photo {
  width: 100%;
  min-height: 320px;
  /* max-height: 800px; */
  object-fit: cover;
  filter: saturate(1.1);
  border-radius: 24px;
}

.about-content {
  max-width: 550px;
  margin-left: auto;
}

.about-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.about-donate {
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.about-donate a {
  display: inline-block;
}

.about-donate img {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.contact {
  padding: 6rem 0;
  background: var(--color-panel);
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.footer {
  background: var(--color-bg);
  color: var(--color-text-muted);
  padding: 3rem 0 1rem;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--color-text-primary);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--color-muted);
}

.footer-links a {
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  text-align: center;
  color: var(--color-muted);
}
