html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  --grad1l: #f7624d;
  --grad2l: #f100f6;
  --grad1d: #c64e3e;
  --grad2d: #c102c2;
  --bg: #242020;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--bg);
  color: white;
  border-radius: 8px;
}

.bg-blur-left,
.bg-blur-right {
  overflow: hidden;
  height: 200%;
  width: 60%;
  position: absolute;
  z-index: -1;
  top: -50%;
}

.bg-blur-left {
  background-image: radial-gradient(
    closest-side,
    rgba(242, 0, 246, 0.2),
    var(--bg)
  );
  left: -25%;
}

.bg-blur-right {
  background-image: radial-gradient(
    closest-side,
    rgba(247, 97, 77, 0.2),
    var(--bg)
  );
  right: -25%;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  z-index: -1;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  z-index: -1;
}

.bg-video video {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

header {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100vw;
  gap: 2rem;
}

header nav ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  font-size: larger;
  font-weight: bolder;
}

header nav ul li {
  list-style: none;
}

header nav ul li a {
  transition: all 0.3s;
}

header nav ul li a:hover {
  text-shadow: 0px 0px 20px white;
}

header nav ul li a,
.footer-contact a,
.rezerwacje-cta a,
.hero-button {
  text-decoration: none;
  color: white;
}

nav {
  justify-content: center;
  align-items: center;
}

.nav-logo {
  max-width: fit-content;
  max-height: fit-content;
}

.nav-logo img {
  max-height: 70px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 2rem;
}

.card {
  border-radius: 8px;
  position: relative;
  justify-content: center;
  padding: 2rem 3rem;
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(13px);
}

.card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: radial-gradient(circle at 50% 250%, transparent, transparent)
      padding-box,
    linear-gradient(rgba(77, 77, 77, 0.5), rgba(48, 48, 48, 0.5)) border-box;
  mask: linear-gradient(black, black) border-box,
    linear-gradient(black, black) padding-box;
  mask-composite: subtract;
}

.animated {
  position: relative;
  padding: 0.5rem;
  border-radius: 8px;
  background-color: #242020;
  transition: all 0.3s;
}

.animated:hover {
  text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.5);
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.animated::after,
.animated::before {
  --angle: 0deg;
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 0.2rem;
  border-radius: 10px;
  background-image: conic-gradient(
    from var(--angle),
    #f7624d,
    #f100f6,
    #f7624d
  );
  animation: 2s spin linear infinite;
}

.animated::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 350deg;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  max-height: 40rem;
  width: fit-content;
  text-align: center;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 10px rgb(0, 0, 0);
}

.hero-button,
.rezerwacje-cta {
  height: fit-content;
  width: fit-content;
}

.oferta {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 4fr;
  justify-content: center;
  min-height: 20rem;
  max-height: fit-content;
  width: fit-content;
  text-align: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.oferta-rezerwacje {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  justify-self: center;
}

.rezerwacje-text h1 {
  margin: 0;
}

.oferta-plany {
  display: grid;
  grid-template-columns: 30% 30% 30%;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 2em;
  justify-content: space-between;
}

.oferta-plany a {
  text-decoration: none;
  color: white;
}

.start {
  border: solid 1px rgb(247, 98, 77);
  background-color: rgba(247, 98, 77, 0.3);
  box-shadow: 0px 0px 50px 15px rgba(247, 98, 77, 0.3);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
}

.normal {
  border: solid 1px rgb(244, 49, 161);
  background-color: rgba(244, 49, 161, 0.3);
  box-shadow: 0px 0px 50px 15px rgba(244, 49, 160, 0.3);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
}

.pro {
  border: solid 1px rgb(242, 0, 246);
  background-color: rgba(242, 0, 246, 0.3);
  box-shadow: 0px 0px 50px 15px rgba(242, 0, 246, 0.3);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
}

.start:hover {
  box-shadow: 0px 0px 50px 15px rgba(247, 98, 77, 0.5);
  text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.normal:hover {
  box-shadow: 0px 0px 50px 15px rgba(244, 49, 161, 0.5);
  text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.pro:hover {
  box-shadow: 0px 0px 50px 15px rgba(242, 0, 246, 0.5);
  text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.card.kontakt {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 50vw;
  max-width: 450px;
}

.kontakt form {
  display: flex;
  flex-direction: column;
}

.kontakt form input,
.kontakt form textarea {
  background-color: rgba(3, 3, 3, 0.2);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: box-shadow 0.3s;
  caret-color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  color: white;
}

.kontakt form textarea {
  height: 4rem;
}

.kontakt form input:focus,
.kontakt form textarea:focus {
  outline: none;
  box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.3);
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 4em;
  width: fit-content;
  height: 65rem;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  max-height: 60rem;
  gap: 1rem;
}

.about-list {
  padding: 0;
  font-size:18px;
  width: 20rem;
  height: 8rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-list ul {
  flex-direction: column;
  list-style: none;
  overflow-y: scroll;
  text-overflow: scroll;
  width: 100%;
  height: 100%;
  padding: 0;
  padding-left: 20px;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.about-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  width: 100%;
  max-width: 20rem; /* stała, możliwie mała szerokość */
  height: 100%;
  max-height: 20rem; /* stała wysokość */
  padding: 1rem;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* pozwala na zawijanie tekstu */
  word-break: break-word;
  align-self: center;
  justify-self: center;
}



.animated.wyslij {
  padding: 0.5rem 1rem;
  border-radius: 2px;
  color: white;
  font-family: inherit;
  border-radius: 6px;
  background-color: #242020;
  border: none;
  width: 100%;
}

.animated.wyslij::after,
.animated.wyslij::before {
  border-radius: 8px;
}

footer {
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

.footer-top {
  max-width: 50rem;
  width: 100%;
}

.footer-bottom {
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shadow,
header nav ul li a {
  text-shadow: 0px 0px 10px black;
}

.footer-top-content {
  width: 60vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  justify-self: center;
}

.footer-contact,
.footer-map,
.footer-hours {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.google-maps {
  display: flex;
  width: 100%;
  max-width: 30rem;
  height: 100%;
}

.google-maps iframe {
  border-radius: 8px;
  width: 100%;
  max-width: 30rem;
  background: #fff;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  width: 32px;
}

.footer-contact p {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  line-height: 3rem;
  margin: 0;
}

@media (max-width: 1024px) {
  header {
    flex-direction: column;
  }

  .about-hero {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .about-section {
    height: auto;
  }

  

  .footer-top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .oferta-plany {
    grid-template-columns: 1fr;
    grid-template-rows: 3fr;
  }
}
