/* --- Import fontu --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* --- Reset i ogólne ustawienia --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%; /* 1rem = 16px */
}

html body nav#desktop-nav a#logo-link div#logo svg path {
  fill: #000 !important;
  stroke: #000 !important;
}

:root{
  color-scheme: light;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fff !important;
  color: #000 !important;
  line-height: 1.5;
}

a,
.btn {
  transition: all 0.3s ease;
}

a {
  color: black !important;
  text-decoration: none;
}

a:hover {
  color: gray !important;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181) !important;
}

/* --- Nawigacja desktopowa --- */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 17vh;
  padding: 0 2%;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.68) 45%,
    rgba(255, 255, 255, 1) 100%
  ) !important;
}

.nav-links {
  display: flex;
  gap: 4rem;
  list-style: none;
  font-size: 1.2rem;
}

.right-side {
  display: flex;
  gap: 4rem;
}

#logo-link {
  display: flex; /* lub inline-block, zależnie od layoutu */
  text-decoration: none; /* usuwa podkreślenie */
    align-items: center; 
  height: 100%;
}

#logo, 
#logo-hamburger {
  flex-shrink: 0;
  font-size: 2rem;
  height: 80%;
}

#logo:hover {
  cursor: pointer;
}

#buttony,
#buttony-hamburger {
  display: flex;
  gap: 0.5rem;
  margin-top: -2.2rem; /* -35px → -2.2rem */
}

#buttony button,
#buttony-hamburger button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

#buttony button:focus,
#buttony-hamburger button:focus {
  outline: none;
}

/* --- Hamburger menu --- */
#hamburger-nav {
  display: none;
  position: sticky;
  top: 0;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.68) 45%,
    rgba(255, 255, 255, 1) 100%
  ) !important;
}

.hamburger-right-side {
  display: flex;
  gap: 2rem;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 1.5rem; /* 24px → 1.5rem */
  width: 1.875rem; /* 30px → 1.875rem */
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 0.125rem; /* 2px → 0.125rem */
  background-color: black !important;
  transition: all 0.3s ease-in-out;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(0.375rem, 0.375rem); /* 6px,6px */
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(0.44rem, -0.44rem);
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background:radial-gradient( circle, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.3) 350%, rgb(255, 255, 255) 900% ) !important;
  border-radius: 0.625rem; /* 10px */
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  list-style: none;
}

.menu-links.open {
  max-height: 18.75rem; /* 300px */
}

.menu-links a {
  display: block;
  padding: 0.625rem; /* 10px */
  text-align: center;
  font-size: 1rem;
  color: black !important;
  text-decoration: none;
}

/* PROFILE SECTION */

#profile{
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 79vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}


/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
 display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 1rem;
}

.btn-container button:last-child{
  grid-column: 2; /* środkowa kolumna */
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid !important;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53) !important;
  color: white !important;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0) !important;
}

.btn-color-2 {
  background: none !important;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid !important;
}

.btn-container {
  gap: 1rem;
}

/* --- Sekcje galerii --- */
.gallery-section {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}


.gallery-description,
.gallery-description-muszla,
.about-description {
  hyphens: auto;          /* hyphenacja tam, gdzie przeglądarka wspiera */
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;

  word-break: normal;     /* nie łamiemy słów na siłę */
  overflow-wrap: break-word; /* łamanie w razie potrzeby */
  white-space: normal;    /* pozwala na zawijanie linii */
}

body {
  font-family: "Poppins", system-ui, sans-serif;
}

.break-word {
  /* display: inline-block;  */
  white-space: normal; /* pozwala na łamanie linii */
}

/* Ogólne boxy galerii */
/*Szablon do kolorów*/
/* .gallery-box-X{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-X::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-composite: intersect;

  background: #626E69; 

}

.gallery-box-X > *{
  z-index: 1;
  width: 100%;
} */

.odstep{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.gallery-group{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-group::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-composite: intersect;

  background: #bbdbd2; 

}

.gallery-group > *{
  z-index: 1;
  width: 100%;
}

.gallery-box-przewodnik{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-przewodnik::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) ;
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  mask-composite: intersect;

  background: #adace2 !important;
}

.gallery-box-przewodnik > *{
  z-index: 1;
  width: 100%;
}

.gallery-box-scalenia{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-scalenia::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  mask-composite: intersect;

    /* background: #F7F2EB; */
  /* background: #F3EEE7; */
  /* background: #E4E6E8; */
  /* background: #F2EDE6; */
  background: #ece3d6 !important;
}

.gallery-box-scalenia > *{
  z-index: 1;
  width: 100%;
}
  
 .gallery-box-hand{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-hand::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  mask-composite: intersect;

  /* background: #cbc1dd;  */
      /* background: #ebe1ce; */
      background: #e4d4b8 !important;
    /* background: #F5EDE4; */
}

.gallery-box-hand > *{
  z-index: 1;
  width: 100%;
}

.gallery-box-calendar{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-calendar::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  mask-composite: intersect;

  background: #FAE7C1;
}

.gallery-box-calendar > *{
  z-index: 1;
  width: 100%;
}
.gallery-box-plakaty{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-plakaty::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  mask-composite: intersect;

  background: #b5d4d0 !important; 
}

.gallery-box-plakaty > *{
  z-index: 1;
  width: 100%;
}
.gallery-box-serce{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-serce::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-composite: intersect;

  background: #ffc6c4; 
}

.gallery-box-serce > *{
  z-index: 1;
  width: 100%;
}

.gallery-box-daily{
  position: relative;
  width: 100%;
  max-width: 93.75rem;
  margin: 2rem auto;
  border-radius: 1.875rem;
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-box-daily::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  mask-composite: intersect;

  background: #fde790;
}

.gallery-box-daily > *{
  z-index: 1;
  width: 100%;
}

.gallery-box,
.gallery-box-pocztowki,
.gallery-box-pink,
.gallery-box-etykiety,
.gallery-box-app, .gallery-box-wino {
  position: relative;
  width: 100%;
  max-width: 93.75rem; /* 1500px */
  margin: 2rem auto;
  border-radius: 1.875rem; /* 30px */
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-box-pink::before,
.gallery-box-pocztowki::before,
.gallery-box-etykiety::before, .gallery-box-app::before, .gallery-box-wino::before  {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  -webkit-mask-composite: intersect;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%) !important;
  mask-composite: intersect;
}

.gallery-box-pink::before {
  background: #ffacd7;
}

.gallery-box-pocztowki::before {
  background: #fde790;
}

.gallery-box-etykiety::before {
  background: #c7ddbf;
}

.gallery-box-app::before {
  background: #C795C9;
}

.gallery-box-wino::before{
  background: #fdb2ed;
}

/* Treść galerii */
.gallery-content,
.gallery-box-pink > *,
.gallery-box-pocztowki > *,
.gallery-box-etykiety > * ,
.gallery-box-app > *, .gallery-box-wino > *{
  z-index: 1;
  width: 100%;
}

.gallery-content-vertical{
  z-index: 1;
  width: 100%;
  text-align: center;
  max-height: 50rem;
  max-width: 50rem;
}

.gallery-content-vertical p{
  max-width: 30rem;
  margin: 1.5rem auto 0 auto;
  text-align: justify;
}

.gallery-content-vertical img{
  width: auto;
  height: 31.25rem;
  object-fit: contain !important;
}

.gallery-content-horizontal, .gallery-content-muszla,
.gallery-content-mashedup, .gallery-content-mono {
  z-index: 1;
  width: 100%;
  max-width: 48.9rem;
  text-align: left;
  object-fit: contain !important;
}

.gallery-content-mashedup img, .gallery-content-mono img {
  flex: 1 1 auto;
  width: auto;
  height: 31.25rem;
  object-fit: contain !important;
}

.gallery-group-title{
  margin-bottom: 4rem;
  font-size: 1.8rem;
}

.gallery-title {
  margin-bottom: 1.5rem;
}

.odstep{
  margin-bottom: 5rem;
}

/* --- NOWA STRUKTURA GALERII Z WRAPPEREM --- */
.gallery-wrapper {
  position: relative;
  overflow: visible; /* przyciski mogą wystawać */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.gallery {
  position: relative;
  overflow: hidden; /* ukrywa tylko przesuwane obrazki */
  width: 100%;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
  align-items: center;
}

/* Każdy slajd */

/* 🔹 Galeria SERCE – prosty układ (bez mashedup, bez horizontal) */
.gallery-content-serce{
    z-index: 1;
  width: 100%;
  max-width: 48.9rem;
  text-align: left;
  object-fit: contain !important;
}

.gallery-content-serce img {
    flex: 1 1 auto;
  width: auto;
  height: 31.25rem;
  object-fit: contain !important;
}

.gallery-content-serce .gallery-track .slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 899 / 500;
  box-sizing: border-box;
  padding: 0;
}

.gallery-content-serce .gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-track .slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 714 / 500;
  box-sizing: border-box;
  padding: 0;
}

.gallery-track .slide img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  max-width: 100%;
}


/* --- Przyciski --- */
.gallery-wrapper button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7) !important;
  border: none;
  font-size: 2rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 0.4rem;
  transition: background 0.2s ease;
}

.gallery-wrapper button:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

.gallery-box-scalenia button.next{
  right: -4.5rem !important;
}

.gallery-box-scalenia button.prev{
  left: -4.5rem !important;
}

.gallery-box-daily button.next{
  right: -4.5rem !important;
}

.gallery-box-daily button.prev{
  left: -4.5rem !important;
}

.gallery-wrapper button.prev {
  left: -5rem; /* wysunięcie przycisku na zewnątrz */
}

.gallery-wrapper button.next {
  right: -5rem;
}

.gallery-wrapper-vertical {
  position: relative;
  overflow: visible; /* przyciski mogą wystawać */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.gallery-wrapper-vertical button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7) !important;
  border: none;
  font-size: 2rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 0.4rem;
  transition: background 0.2s ease;
}

.gallery-wrapper-vertical button:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

.gallery-wrapper-vertical button.prev {
  left: -4.5rem; /* wysunięcie przycisku na zewnątrz */
}

.gallery-wrapper-vertical button.next {
  right: -4.5rem;
}

/* Opis pod galerią */
.gallery-description, .gallery-description-muszla {
  text-align: justify;
  margin-top: 1.5rem;
  font-size: 1rem;
}

/* --- Animacja --- */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#about {
  /* position: relative; */
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 5rem;
  /* height: 79vh; */
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  flex-direction: column; 
}

.about-details-container {
  flex-direction: column;

}

.about-containers,
.about-details-container {
  display: flex;
}

/* .about-pic {
   width: auto;
   height: auto;
  border-radius: 2rem;
} */

.about-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
}


.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container-btn{
  padding: 1.5rem;
  flex: 1;
  background: white !important;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid !important;
  border-color: rgb(163, 163, 163) !important;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.plain-container{
  margin-top: 2rem;
  flex: 1;
  text-align: center;
}


.plain-container2pl{
margin-right: 2rem;
  flex: 1;
  text-align: center;
align-items: center;
display: flex;
flex-direction: column;
margin-top: 6.5rem;
}

.plain-container2{
  margin-right: 2rem;
  flex: 1;
  text-align: center;
align-items: center;
display: flex;
flex-direction: column;
margin-top: 8rem;
}



.obok-siebie{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  align-items: stretch; 

}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white !important;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid !important;
  border-color: rgb(163, 163, 163) !important;
  text-align: center;
  min-width: 14rem;
}


.details-container2 {
  padding: 1.5rem;
  background: white !important;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid !important;
  border-color: rgb(163, 163, 163) !important;
  text-align: center;
  height: 18rem;
  width: 25rem;

}

.section-container {
  margin-left: 10rem;
  margin-right: 10rem;
  display: flex;
  gap: 5rem;
  /* height: 50vh; */
  margin-bottom: 5rem;
}


.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__pic-container2 {
  height: 400px;
  width: 400px;
  margin: 0;
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid !important;
  border-color: rgb(163, 163, 163) !important;
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid !important;
  border-color: rgb(163, 163, 163) !important;
  background: (250, 250, 250);
  margin: 0.8rem auto;
  padding: 0.5rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}
  .text-container {
    text-align: justify;
 margin-top: 1.8rem;
  }

/* FOOTER SECTION */

footer {
  /* height: 26vh; */
  position: relative;
  margin-bottom: 2rem;
}

footer p {
  text-align: center;
  font-size: 12px;
  color: #413f46 !important;
  
}

#sd-container {
    position: fixed;
    bottom: 10px;
    /* left: 90%; */
    right: 8rem;
    transform: translateY(-50%);
    z-index: 99999;
}

.arrow {
  position: relative;
  width: 42px;
  height: 16px;
  opacity: 1;
  
  &::before,
  &::after {
    content: "";
    width:21px;
    height: 2px;
    background-color: #000000 !important;
    border-radius: 2px;
    display: inline-block;
  }
  
  &::before {
    transform: rotate(45deg) translateX(25%)
  }
  
  &::after {
    transform: rotate(-45deg) translateX(-25%)
  }
  
  &:nth-child(1) {
    top: -50px;
    opacity: 1;
    animation: arrow2 1.8s ease 0s infinite;
  }
  
  &:nth-child(2) {
    top: -25px;
    animation: arrow1 1.8s ease 0.25s infinite;
    margin-bottom: 0.8rem;
  }
}

@keyframes arrow1 {
  from {
    opacity: 0;
    top: -25px;
  }
  
  to {
    opacity: 0;
    top: 0px;
  }
  
  50% {
    opacity: 1;
  }
}

@keyframes arrow2 {
  from {
    opacity: 0;
    top: -35px;
  }
  
  to {
    opacity: 0;
    top: -10px;
  }
  
  50% {
    opacity: 1;
  }
}

/* --- Lightbox --- */
#lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9) !important;
  z-index: 2000;
  padding: 2rem;
  box-sizing: border-box;
}

#lightbox.open {
  display: flex;
  animation: lbFadeIn 0.18s ease;
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lb-inner {
  max-width: 92%;
  max-height: 92%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: center;
  position: relative;
}

#lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  border-radius: 0.375rem;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.6) !important;
}

#lightbox-caption-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #f5f5f5 !important;
  gap: 0.25rem;
  width: 100%;
}

#lightbox-caption {
  font-size: 0.95rem;
  line-height: 1.3;
  border-radius: 0.375rem;
  backdrop-filter: blur(0.25rem);
  width: 100%;
  text-align: left;
}

#lightbox-counter {
  font-size: 0.85rem;
  opacity: 0.8;
}

#lightbox-close {
  position: fixed;
  top: 1.125rem; /* 18px */
  right: 1.125rem;
  background: transparent;
  border: none;
  font-size: 1.75rem; /* 28px */
  color: #fff !important;
  cursor: pointer;
}

#lightbox-close:hover {
  transform: scale(1.03);
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06) !important;
  border: none;
  color: #fff !important;
  font-size: 2.625rem; /* 42px */
  width: 3.25rem; /* 52px */
  height: 4.5rem; /* 72px */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2100;
  border-radius: 0.5rem;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-50%) scale(1.02);
}

#lightbox-prev {
  left: 1rem;
}

#lightbox-next {
  right: 1rem;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* --- Responsywność --- */
@media (max-width: 48em) {
  /* 768px */
  .gallery-section {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 37.5em) {
  /* 600px */
  .lb-nav {
    width: 2.75rem;
    height: 3.75rem;
    font-size: 2.125rem;
  }

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

  #lightbox-caption {
    font-size: 0.9rem;
  }
}
