:root {
  --green: #156669;
  --cream: #eeecde;
  --violet: #713274;
  --bg-hero: #ffffff;
  --bg-2: #f0cdff;
  --bg-3: #ffffff;
  --bg-4: #556419;
  --bg-5: #b2dcfa;
  --bg-6: #d9f49e;
  --bg-7: #faa7a7;
  --bg-8: #647d00;
  --bg-9: #eeecde;
  --bg-10: #d5a9cf;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--green);
  background: #ffffff;
  line-height: 1.6;
}

main {
  width: 100%;
  overflow-x: hidden;
}

section {
  padding: 64px 16px;
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.02em;
  font-family: "Bitter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 0.75rem;
}

ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.hero {
  position: relative;
  padding: 0;
  color: var(--cream);
}

.hero-photo {
  position: relative;
  min-height: min(90vh, 760px);
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  width: 100%;
  padding: 48px 56px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-text {
  max-width: 900px;
  font-family: "Georgia", "Times New Roman", serif;
}

@media (min-width: 1024px) {
  .hero-overlay {
    max-width: 900px;
    margin: 0 auto;
  }
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.hero-text p {
  color: var(--cream);
  font-size: 1.1rem;
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 1rem;
}

.hero-cta {
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  border: none;
  background: #8a2d98;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #6f227a;
}

.section-2 {
  background: #f0cdff;
}

.section-2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: center;
}

.section-2-image-wrap {
  display: flex;
  justify-content: center;
}

.section-2-circle {
  width: min(420px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
}

.section-2-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-2-text h2 {
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.section-2-text p {
  color: var(--green);
  font-size: 1.05rem;
}

.section-2-cta {
  margin-top: 1.8rem;
}

.section-3 {
  padding: 0;
  color: var(--cream);
}

.section-3-wrap {
  position: relative;
  min-height: min(90vh, 720px);
  background-image: url("images/section3-bg.jpg");
  background-size: cover;
  background-position: center;
}

.section-3-text {
  background: transparent;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Georgia", "Times New Roman", serif;
}

.section-3-text-inner {
  text-align: left;
}

@media (min-width: 1024px) {
  .section-3-text {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .section-3-text-inner {
    background: rgba(0, 0, 0, 0.55);
    padding: 16px 20px;
    border-radius: 16px;
  }
}

.section-3-text h2 {
  margin-bottom: 1.5rem;
}

.section-4 {
  padding: 0;
  color: var(--cream);
}

.section-4-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  min-height: min(90vh, 720px);
}

.section-4-text {
  background: #556419;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Georgia", "Times New Roman", serif;
}

.section-4-text ul {
  margin-left: 1.25rem;
}

.section-4-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.section-4-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-5 {
  background: #b2dcfa;
  text-align: center;
}

.section-5 h2 {
  font-family: "Georgia", "Times New Roman", serif;
  margin-bottom: 2.5rem;
}

.dates-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  align-items: flex-start;
}

.date-item {
  text-align: left;
  color: var(--green);
  font-size: 0.98rem;
}

.date-circle {
  width: min(220px, 80%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
}

.date-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.date-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-family: "Georgia", "Times New Roman", serif;
}

.date-item p {
  margin-bottom: 0.5rem;
}

.section-6 {
  background: var(--bg-6);
}

.section-7 {
  background: var(--bg-7);
}

.section-8 {
  background: var(--bg-8);
  color: var(--cream);
}

.section-9 {
  background: var(--bg-9);
}

.section-10 {
  background: var(--bg-10);
  color: var(--cream);
}

.highlight-list p::before {
  content: "• ";
}

.contact-links a {
  color: inherit;
  text-decoration: underline;
}

.section-6-grid,
.section-5-grid,
.section-7-grid,
.section-8-grid,
.section-10-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.section-6-grid img,
.section-7-grid img,
.section-8-grid img,
.section-10-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.organizacyjnie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 2rem;
}

.organizacyjnie-tile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.organizacyjnie-tile img {
  flex: 0 0 20%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.organizacyjnie-tile p {
  flex: 1;
  color: var(--green);
  font-size: 1rem;
}

.footer {
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .hero-photo {
    min-height: 420px;
  }

  .hero-overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px;
  }

  .hero-cta {
    align-self: flex-start;
  }

  .section-2-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  section {
    padding: 48px 16px;
  }

  .section-3-wrap,
  .section-4-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .section-3-text,
  .section-4-text {
    padding: 48px 24px;
  }
  
  .hero-text {
    background: rgba(0, 0, 0, 0.55);
    padding: 16px 20px;
    border-radius: 16px;
  }
  
  .section-3-text-inner {
    background: rgba(0, 0, 0, 0.55);
    padding: 16px 20px;
    border-radius: 16px;
  }
  
  .section-3-text-inner {
    max-width: 100%;
  }
  
  .section-6-grid,
  .section-7-grid,
  .section-8-grid,
  .section-10-grid {
    grid-template-columns: 1fr;
  }
  
  .organizacyjnie-grid {
    grid-template-columns: 1fr;
  }

  .dates-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
}

@media (max-width: 600px) {
  .dates-row {
    grid-template-columns: 1fr;
  }
}
