/* #region GENERAL */
html {
  background-color: #0b0812;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: whitesmoke;
  font-style: normal;
  overflow-x: hidden;
}

body.is-lightbox-open {
  overflow: hidden;
}

h1,
h2,
p {
  margin: 0;
}

p {
  padding-bottom: 2em;
}

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

h1 {
  text-align: center;
}

.container {
  padding-left: 2em;
  padding-right: 2em;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 10em;
    padding-right: 10em;
  }
}

/* #endregion */

/* #region MOTION */

.reveal {
  opacity: 1;
  transform: none;
}

.is-animate-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.is-animate-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .is-animate-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero::before,
  .hero::after {
    animation: none;
  }
  .hero::after {
    background-position: 0 0, 0 0;
  }
  .hero-highlight {
    animation: none;
    background-position: 0 50%;
  }
}
/* #endregion */

/* #region NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  position: relative;
}

.nav-logo img {
  height: 3rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background-color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
section[id] {
  scroll-margin-top: 6rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.75);
    padding: 1.5rem 2rem 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .navbar.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(0.45rem) rotate(45deg);
  }

  .navbar.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .navbar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-0.45rem) rotate(-45deg);
  }
}

/* #endregion */

/* #region HERO SECTION */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(
      135deg,
      rgba(9, 6, 15, 0.92) 0%,
      rgba(9, 6, 15, 0.65) 55%,
      rgba(143, 93, 165, 0.55) 100%
    ),
    url("IMG/pexels-pixabay-221047.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  padding-bottom: 5em;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(143, 93, 165, 0.38),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 18%,
      rgba(93, 150, 255, 0.24),
      transparent 38%
    ),
    radial-gradient(
      circle at 60% 70%,
      rgba(255, 255, 255, 0.16),
      transparent 45%
    );
  filter: blur(2px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: heroAurora 24s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0)
    ),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 18px
    );
  background-size: 160% 160%, 200% 200%;
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: heroSweep 22s linear infinite;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-content h1 {
  color: #ffffff;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #f5e8ff 0%, #b695d4 50%, #f5e8ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(143, 93, 165, 0.35);
  animation: heroHighlight 12s ease-in-out infinite;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25em;
  height: 0.45em;
  background: radial-gradient(
    circle,
    rgba(230, 216, 240, 0.9) 0%,
    rgba(230, 216, 240, 0) 65%
  );
  filter: blur(8px);
  opacity: 0.85;
}

.hero-content p {
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hero-content {
    width: 50%;
    gap: 2em;
  }
  .hero-content h1 {
    text-align: left;
    font-size: 4rem;
  }
  .hero-content p {
    text-align: left;
    max-width: 70%;
  }
  .hero-actions {
    justify-content: start;
  }
  .hero {
    justify-content: start;
  }
}

@keyframes heroAurora {
  0% {
    transform: translate3d(-6%, -4%, 0) scale(1);
  }
  40% {
    transform: translate3d(6%, 3%, 0) scale(1.05) rotate(2deg);
  }
  70% {
    transform: translate3d(3%, 6%, 0) scale(1.03) rotate(-1deg);
  }
  100% {
    transform: translate3d(-5%, 2%, 0) scale(1);
  }
}

@keyframes heroSweep {
  0% {
    background-position: 0 0, 0 0;
    opacity: 0.35;
  }
  50% {
    background-position: 160px 80px, 120px 40px;
    opacity: 0.55;
  }
  100% {
    background-position: 320px 160px, 240px 80px;
    opacity: 0.35;
  }
}

@keyframes heroHighlight {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* #endregion */

/* #region BENEFIT SECTION */

.benefit-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #f2eefe;
  border-radius: 50%;
}

.benefit-logo img {
  width: 3rem;
  height: auto;
  display: block;
}

.benefit-item h3 {
  padding-bottom: 0em;
  padding-top: 0em;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2.5rem;
  justify-content: center;
  background-color: whitesmoke;
  border-radius: 2rem;
  margin-top: -5rem;
  position: relative;
  z-index: 1;
  padding-top: 5em;
}

.benefit-item p,
.benefit-item h3 {
  padding: 0;
  margin: 0;
}

@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
  }
}

@media (min-width: 1280px) {
  .benefits {
    margin-top: -3rem;
    padding-top: 4em;
  }
}

.benefit-item {
  margin: 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: fit-content;
  text-align: center;
}

.benefit-item:nth-child(2) {
  --reveal-delay: 0.08s;
}

.benefit-item:nth-child(3) {
  --reveal-delay: 0.16s;
}

.benefit-item:nth-child(4) {
  --reveal-delay: 0.24s;
}

/* #endregion */

/*ABOUT US SECTION*/

/* #region SERVICES SECTION */

.services {
  padding-bottom: 3em;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.services-item {
  background-color: whitesmoke;
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: start;
  padding: 1.5rem;
  gap: 1rem;
  box-shadow: 15px 15px 30px #bebebe, -15px -15px 30px #ffffff;
}

.services-item:nth-child(1) {
  --reveal-delay: 0.05s;
}

.services-item:nth-child(2) {
  --reveal-delay: 0.1s;
}

.services-item:nth-child(3) {
  --reveal-delay: 0.15s;
}

.services-item:nth-child(4) {
  --reveal-delay: 0.2s;
}

.services-item:nth-child(5) {
  --reveal-delay: 0.25s;
}

.services-item h3 {
  text-align: center;
}

.services-item img {
  width: 3rem;
  height: auto;
  display: block;
}

.services-item-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1.5rem;
  background-color: #f2eefe;
}

.services-item-text {
  text-align: left;
}

.services-item-text h2 {
  margin-bottom: 0.5em;
}

.services-item-text h3 {
  padding: 0;
}

@media (min-width: 1024px) {
  .services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .services-item h3 {
    text-align: left;
  }
}

/* #endregion */

/* #region PART SECTION */

.park {
  text-align: center;
}

.park-items {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 2em;
}

.park-item {
  position: relative;
  background-color: whitesmoke;
  border-radius: 1em;
  padding: 1.5em 1.5em 1.5em 2.5em;
  overflow: hidden;
  box-shadow: 15px 15px 30px #bebebe, -15px -15px 30px #ffffff;
}

.park-item h3,
.park-item p {
  text-align: center;
}

.park-item h3 {
  padding: 0;
}

.park-item p {
  padding: 0;
}

.park-item:nth-child(1) {
  --reveal-delay: 0.04s;
}

.park-item:nth-child(2) {
  --reveal-delay: 0.08s;
}

.park-item:nth-child(3) {
  --reveal-delay: 0.12s;
}

.park-item:nth-child(4) {
  --reveal-delay: 0.16s;
}

.park-item:nth-child(5) {
  --reveal-delay: 0.2s;
}

@media (min-width: 1024px) {
  .park-items {
    grid-template-columns: 1fr 1fr;
  }
  .park-item h3,
  .park-item p {
    text-align: left;
  }
}

/* .park-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0.6em;
  background: #8f5da5;
} */

/* #endregion */

/* #region GALLERY SECTION */

.gallery {
  padding-bottom: 3em;
}

.gallery-intro {
  width: 100%;
  text-align: center;
}

.gallery-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: 2em;
}

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  box-shadow: 0 18px 50px rgba(11, 8, 18, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.25)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(11, 8, 18, 0.14);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(143, 93, 165, 0.65);
  outline-offset: 4px;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-thumb,
.gallery-item:focus-visible .gallery-thumb {
  transform: scale(1.05);
}

.gallery-toggle {
}

.gallery-toggle:hover,
.gallery-toggle:focus-visible {
  background: #7b4f8e;
  transform: translateY(-1px);
}

.gallery-toggle:focus-visible {
  outline: 3px solid rgba(143, 93, 165, 0.65);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .gallery-grid.is-collapsed .gallery-item[data-gallery-hidden="true"] {
    display: none;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(11, 8, 18, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-body {
  margin: 0;
  max-width: min(90vw, 1000px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 1rem;
  background: #0b0812;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  letter-spacing: 0.02em;
}

.lightbox-caption:empty {
  display: none;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox[aria-hidden="true"] .lightbox-image {
  display: none;
}

@media (max-width: 600px) {
  .gallery {
    margin-top: 3rem;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .lightbox {
    padding: 1.25rem;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }
}

/* #endregion */

/* #region STATS SECTION */

.stats {
  display: grid;
  gap: 2em;
  background-color: #8f5da5;
  color: white;
  padding-top: 3em;
  padding-bottom: 3em;
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.stats-item:nth-child(2) {
  --reveal-delay: 0.08s;
}

.stats-item:nth-child(3) {
  --reveal-delay: 0.16s;
}

.stats h3 {
  color: whitesmoke;
  font-size: 1.2rem;
  padding: 0;
}

.stats p {
  padding: 0;
}

@media (min-width: 1024px) {
  .stats {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* #endregion */

/* #region TEAM SECTION */

.team-items {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2em;
  place-items: center;
}

.team-item p {
  padding-bottom: 0;
}

.team-item {
  display: flex;
  justify-content: space-between;
  border-radius: 4rem;
  width: fit-content;
  gap: 2em;
}

.team-item:nth-child(1) {
  --reveal-delay: 0.04s;
}

.team-item:nth-child(2) {
  --reveal-delay: 0.1s;
}

.team-item:nth-child(3) {
  --reveal-delay: 0.16s;
}

.team-item:nth-child(4) {
  --reveal-delay: 0.22s;
}

.team-item:nth-child(5) {
  --reveal-delay: 0.28s;
}

.team-item:nth-child(6) {
  --reveal-delay: 0.34s;
}

.team-item:nth-child(7) {
  --reveal-delay: 0.4s;
}

.team-item-text {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 1em;
}

.team-item-text p,
span {
  text-align: center;
}

.team-item img {
  grid-area: img;
  width: 5rem;
}

.team-item span {
  grid-area: pos;
}

.team-item p {
  grid-area: nam;
}

/* .team-item button {
  grid-area: tel;
  background-color: #8f5da5;
  color: white;
  border-radius: 1.5rem;
  padding: 0.8em;
  border: none;
  justify-self: start;
  text-transform: none;
} */

@media (min-width: 1024px) {
  .team-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 3em;
  }

  .team-item {
    gap: 4em;
  }

  .team-item img {
    width: 8rem;
  }

  .team-item .button-primary {
    font-size: 0.7rem;
  }
}

/* #endregion */

/* #region CONTACT SECTION */

.contact {
  padding-bottom: 3em;
}

.contact-grid {
  display: grid;
  gap: 2.5em;
}

.contact-info p {
  max-width: 32rem;
  color: #6d7280;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 1.5em;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  color: #2b2f3c;
}

.contact-field span {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.contact-field input,
.contact-field textarea {
  font: inherit;
  border-radius: 0.9rem;
  border: 1px solid #d6d2e2;
  background-color: #f7f5fb;
  color: #2b2f3c;
  padding: 0.85em 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a8acb8;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #8f5da5;
  box-shadow: 0 0 0 3px rgba(143, 93, 165, 0.2);
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-status {
  display: none;
  margin-top: -0.2em;
  padding: 0.95em 1em;
  border-radius: 0.9rem;
  border: 1px solid #d6d2e2;
  background-color: #f7f5fb;
  color: #2b2f3c;
  line-height: 1.5;
}

.contact-status.is-visible {
  display: block;
}

.contact-status.is-success {
  background-color: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.contact-status.is-error {
  background-color: #fef2f2;
  border-color: #fecdd3;
  color: #991b1b;
}

.footer {
  background-color: #0b0812;
  color: #ffffff;
  padding-top: 3em;
  padding-bottom: 3em;
}

.footer-inner {
  display: grid;
  gap: 2.5em;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 20rem;
}

.footer-brand img {
  width: 7rem;
  height: auto;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
}

.footer a {
  color: #ffffff;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer a:hover,
.footer a:focus {
  opacity: 1;
}

.footer-links ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  margin-top: 2.5em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5em;
  text-align: center;
}

.footer h2 {
  text-align: left;
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4em;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

/* #endregion */

/* #region Font styles */

h1 {
  font-weight: 800;
  font-size: 2.5rem;
}

h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #8f5da5;
  padding-top: 2em;
  padding-bottom: 2em;
  text-align: center;
}

h3 {
  font-weight: 600;
  font-size: 1.5rem;
  color: #8f5da5;
  padding-top: 2em;
  padding-bottom: 2em;
  text-align: center;
  text-align: left;
}

p {
  font-size: 1rem;
  font-weight: 300;
  color: #979ba5;
  line-height: 1.5rem;
}

.stats p {
  color: white;
}

@media (min-width: 1024px) {
  p {
    font-size: 1.1rem;
  }
}

/* #endregion */

/* #region Buttons */
.button-primary {
  padding: 1.3em 3em;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: white;
  background-color: #8f5da5;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

.button-primary:hover {
  background-color: #bb7ed6;
  box-shadow: 0px 15px 20px rgba(187, 126, 214, 0.4);
  color: #fff;
  transform: translateY(-7px);
}

.button-primary:active {
  transform: translateY(-1px);
}
/* #endregion */
