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

/* Theme: white + indigo */
:root {
  --bg-primary: #ffffff;
  --accent-indigo: #9f81b9;
  --accent-indigo-dark: #7f6596;
  --text-primary: #1f1f1f;
  --text-light: #ffffff;
  --bg-tint: #f3f4ff;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
  /* Polish: prevent anchor overlap with sticky header */
  scroll-margin-top: 90px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border: 2px solid transparent;
}

.btn-donate {
  /* Polish: lighter donate buttons */
  /* Smaller, white button with indigo text */
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 16px;
  background: #ffffff;
  color: var(--accent-indigo);
  border: 1px solid rgba(178, 186, 228, 0.35);
  box-shadow: 0 1px 3px rgba(235, 219, 219, 0.08);
}

.btn-light {
  /* Theme: primary button color */
  background: var(--accent-indigo);
  color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-dark {
  /* Theme: primary button color */
  background: var(--accent-indigo);
  color: var(--text-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Theme: indigo header */
  background: var(--accent-indigo);
  color: var(--text-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* Refine: reduce header height */
  padding: 8px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-top {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.logo-bottom {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--text-light);
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.header-cta {
  /* Theme: indigo call-to-action */
  background: var(--accent-indigo);
  color: var(--text-light);
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-light);
}

.hero {
  position: relative;
  min-height: 420px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 56px; /* Fix: keep slider below shorter header */
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.7rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-content p {
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.story-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.story-image,
.story-content {
  /* Polish: true 50/50 split */
  flex: 1 1 50%;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.story-content h2,
.creations h2,
.movement h2,
.gift h2,
.global h2,
.contact h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  text-align: center;
}

.story-content h2 {
  text-align: left;
}

.story-text p {
  margin-bottom: 16px;
}

.story-text {
  /* Polish: story-style readability */
  max-width: 520px;
  line-height: 1.9;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: #2f4a7a;
}

.creations-grid {
  display: grid;
  /* Polish: mixed hierarchy card sizes */
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.creation-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.creation-card img {
  width: 100%;
  height: 260px;
  /* Polish: consistent crop */
  object-fit: cover;
}

.creation-card-large img {
  height: 320px;
}

.creation-card-small img {
  height: 230px;
}

.creation-content {
  padding: 18px;
}

.creation-content h3 {
  margin-bottom: 10px;
}

.movement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.movement-item img {
  border-radius: 14px;
  margin-bottom: 10px;
  width: 100%;
  height: 180px;
  /* Polish: uniform movement cards */
  object-fit: cover;
}

.gift {
  background: var(--bg-tint);
}

.gift-card {
  /* Theme: indigo highlight */
  background: var(--accent-indigo);
  color: var(--text-light);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.gift-item {
  text-align: center;
  font-size: 0.85rem;
  /* Polish: button below image */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gift-item img {
  border-radius: 10px;
  margin-bottom: 6px;
}

.global {
  /* Theme: indigo highlight */
  background: var(--accent-indigo);
  color: var(--text-light);
  text-align: center;
}

.global p {
  margin-bottom: 20px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.contact-single {
  grid-template-columns: 1fr;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 12px;
}

input,
textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cdbfa7;
  width: 100%;
  font-family: inherit;
}

.contact-info {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.site-footer {
  /* Theme: indigo footer */
  background: var(--accent-indigo);
  color: var(--text-light);
  padding: 14px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Responsive fixes: tablet */
@media (max-width: 1023px) {
  .site-nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .story-inner {
    flex-direction: column;
  }

  .creations-grid,
  .movement-grid {
    grid-template-columns: 1fr 1fr;
  }

  .creation-card img {
    height: 240px;
  }

  .gift-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* Responsive fixes: mobile */
@media (max-width: 767px) {
  .logo-top {
    font-size: 0.95rem;
  }

  .logo-bottom {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: rgba(43, 66, 99, 0.95);
    padding: 16px;
    border-radius: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .creations-grid,
  .movement-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .creation-card img,
  .creation-card-large img,
  .creation-card-small img {
    height: 220px;
  }

  .form-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
