@import url(https://fonts.bunny.net/css?family=crimson-pro:400|inter:400,400i,600,600i|prata:400);

:root {
  --primary: #143221;
  --white: #ffffff;
  --gray-400: #4a5565;
  --gray-500: #99a1af;
  --black: #020202;

  --font-headings:
    "Prata", "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052,
    serif;
  --font-body:
    Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial,
    sans-serif;
  --font-logo: "Crimson Pro", serif;

  --container-padding: 90px;
  --max-width: 1332px;
  --border-radius: 15px;
}

html,
body {
  font-family: var(--font-body);
  font-weight: 400;
  position: relative;
  color: var(--black);
}

h1,
h2,
h3 {
  font-family: var(--font-headings);
  font-weight: 400;
}

h1 {
  font-size: 64px;
  line-height: 0.98;
}

h2 {
  font-size: 36px;
  line-height: 1.11;
}

h3 {
  font-size: 24px;
}

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

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

.container {
  padding: 0 var(--container-padding);
  margin: 0 auto;
  max-width: 1512px;
}

/* Page Title (for other pages) */
.page-title {
  min-height: 300px;
  padding-top: 100px;
  background-color: var(--primary);
  color: white;
  display: flex;
}

.page-title .container {
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.page-divider {
  background-color: var(--primary);
  height: 25px;
}

/* Page Hero (shared by About, Calendar, Contact, etc.) */
.page-hero {
  position: relative;
  min-height: 326px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 316px;
  z-index: 0;
}

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

.page-hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 53%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--container-padding);
  max-width: 1512px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  max-width: 575px;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

header::before {
  display: block;
  content: "";
  background-color: var(--primary);
  height: 10px;
  margin-bottom: -10px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-size: 24px;
  line-height: 21px;
  color: var(--primary);
  max-width: 377px;
  padding: 15px 40px 15px 40px;
  background-color: white;
  margin-left: -40px;
}

header .logo-group img {
  width: 48px;
  height: auto;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
  padding: 15px 10px;
  background: rgba(20, 50, 33, 0.25);
  backdrop-filter: blur(4px);
  border-radius: var(--border-radius);
}

header nav a {
  font-family: var(--font-logo);
  font-size: 20px;
  line-height: 1.05;
  text-transform: uppercase;
  padding: 10px 15px;
  border-radius: 10px;
  color: var(--white);
  transition: background-color 0.2s;
}

header nav a:hover {
  background-color: rgba(20, 50, 33, 0.5);
}

header nav .nav-register a {
  background-color: var(--primary);
}

body.home .nav-home,
body.home .nav-register {
  display: none;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 29px 87px;
  background:
    radial-gradient(
      circle at 50% 96%,
      rgba(0, 255, 95, 1) 0%,
      rgba(0, 166, 62, 0) 100%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(72, 214, 67, 1) 1%,
      rgba(66, 175, 96, 1) 58%,
      rgba(49, 187, 104, 1) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.57);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  line-height: 0.83;
  letter-spacing: -0.006em;
  color: var(--white);
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 166, 62, 0.3);
}

.btn-outline {
  display: inline-block;
  padding: 15px 70px;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.009em;
  color: var(--primary);
  text-align: center;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Footer */
footer {
  background-color: var(--white);
  padding: 48px 0 0;
  color: var(--gray-500);
}

.footer-main {
  display: flex;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(20, 50, 33, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 592px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px 15px 0;
}

.footer-logo img {
  width: 48px;
  height: 67px;
}

.footer-logo span {
  font-family: var(--font-logo);
  font-size: 24px;
  line-height: 0.875;
  text-transform: uppercase;
  color: var(--primary);
  max-width: 239px;
}

.footer-brand p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  max-width: 579px;
}

.footer-links {
  display: flex;
  gap: 80px;
  margin-left: auto;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-column h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.024em;
  color: var(--primary);
}

.footer-links-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.footer-links-column a {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--gray-500);
  transition: color 0.2s;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.footer-bottom {
  padding: 33px 0;
  text-align: center;
  border-top: 1px solid rgba(20, 50, 33, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: -0.011em;
  color: var(--gray-400);
}

/* Generic page sections */
.section-dark {
  background-color: var(--primary);
  color: var(--white);
  padding: 91px 0 100px;
}

.section-dark h2 {
  color: var(--white);
}

/* CTA Section (shared across pages) */
.home-cta {
  position: relative;
  min-height: 528px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.home-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cta-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.home-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 807px;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.home-cta-content h2 {
  color: var(--white);
}

.home-cta-content p {
  color: var(--white);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.022em;
}

/* Responsive */
@media (max-width: 1200px) {
  :root {
    --container-padding: 60px;
  }

  .footer-links {
    gap: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 24px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .btn-primary {
    padding: 20px 40px;
    font-size: 18px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
    margin-left: 0;
  }

  .page-hero {
    min-height: 250px;
    padding-bottom: 30px;
  }

  .page-hero-bg {
    height: 250px;
  }

  header nav {
    display: none;
  }
}
