/*pedigree theme */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
a {
  text-decoration: none;
}

i {
  font-style: normal;
}

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

body {
  margin: 0;
  background-color: #ddc6c3;
}

.container {
  margin: 0px auto;
}

/*header section*/
.header_section {
  background-image: url("../images/top_image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #ddc6c3;
  min-height: 550px;
}

.gradient {
  min-height: 550px;
  background: linear-gradient(35deg, rgb(250, 145, 150) 0%, rgba(0, 0, 0, 0) 50%, rgb(236, 175, 151) 100%);
  mix-blend-mode: screen;
}

.dog_panel1 {
  min-height: 600px;
  background-color: #ddc6c3;
}
.dog_panel1 .dog_name1 h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: #bc908e;
  line-height: 55px;
  margin: 0;
}
.dog_panel1 .dog_name1 h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #c9a5a0;
  line-height: 44px;
  margin: 0 0 30px 0;
}
.dog_panel1 .dog_name1 h1, .dog_panel1 .dog_name1 h2 {
  padding: 0;
  text-transform: uppercase;
}
@media (min-width: 1281px) {
  .dog_panel1 .container {
    flex-direction: row-reverse;
  }
}
@media (min-width: 1281px) {
  .dog_panel1 .dog_name1 {
    margin-left: 10px;
  }
}

.dog_panel2 {
  min-height: 600px;
  background-color: #c9a5a0;
}
.dog_panel2 .dog_name2 h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: #a26769;
  line-height: 55px;
  margin: 0;
}
.dog_panel2 .dog_name2 h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #bc908e;
  line-height: 44px;
  margin: 0 0 30px 0;
}
.dog_panel2 .dog_name2 h1, .dog_panel2 .dog_name2 h2 {
  padding: 0;
  text-transform: uppercase;
}
@media (min-width: 1281px) {
  .dog_panel2 .dog_name2 {
    margin-right: 10px;
    text-align: right;
  }
}

.dog_panel3 {
  min-height: 600px;
  background-color: #bc908e;
}
.dog_panel3 .dog_name3 h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: #894749;
  line-height: 55px;
  margin: 0;
}
.dog_panel3 .dog_name3 h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #a26769;
  line-height: 44px;
  margin: 0 0 30px 0;
}
.dog_panel3 .dog_name3 h1, .dog_panel3 .dog_name3 h2 {
  padding: 0;
  text-transform: uppercase;
}
@media (min-width: 1281px) {
  .dog_panel3 .container {
    flex-direction: row-reverse;
  }
}
@media (min-width: 1281px) {
  .dog_panel3 .dog_name3 {
    margin-left: 10px;
  }
}

.dog_panel4 {
  min-height: 600px;
  background-color: #a26769;
}
.dog_panel4 .dog_name4 h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: #712e30;
  line-height: 55px;
  margin: 0;
}
.dog_panel4 .dog_name4 h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #894749;
  line-height: 44px;
  margin: 0 0 30px 0;
}
.dog_panel4 .dog_name4 h1, .dog_panel4 .dog_name4 h2 {
  padding: 0;
  text-transform: uppercase;
}
@media (min-width: 1281px) {
  .dog_panel4 .dog_name4 {
    margin-right: 10px;
    text-align: right;
  }
}

.dog_page {
  text-align: center;
}
.dog_page p {
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #513e39;
}

.pedigree_table {
margin: auto;
max-width: 1200px;

}
.pedigree_table table {
  border-spacing: 5px;
  padding-bottom: 30px;
  width: 100%;
}
.pedigree_table td {
  background: #dcc0bb;
  border-left: 4px solid #6d393b;
  border-radius: 8px;
  padding: 10px 14px;
  vertical-align: middle;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 12.5px;
  color: #513e39;
  line-height: 1.35;
}
.pedigree_table td[rowspan="2"] {
  background: #e6cfca;
  border-left-color: #8c5658;
}
.pedigree_table td[rowspan="4"] {
  background: #efded9;
  border-left-color: #a87977;
}
.pedigree_table td[rowspan="8"] {
  background: #f7ece8;
  border-left-color: #d4b8b4;
  font-weight: 700;
  font-size: 14px;
}
.pedigree_table h3 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 22px;
}

.dog_main_image {
  margin-top: -350px;
  position: relative;
}

.buttons {
  display: flex;
  justify-content: space-evenly;
}
.buttons i {
  margin-left: 10px;
}

.fx {
  display: inline-flex;
  align-items: center;
}

.gallery_container {
  max-width: 1200px;
  margin: auto;
  padding-left: 10px;
  padding-right: 12px;
}
.gallery_container h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #a26769;
}

.gallery_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Miniaturki w galerii (Gallery.tpl: .gallery-list > .thumbnails) */
.gallery-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.thumbnails a {
  display: inline-flex;
  line-height: 0;
}
.thumbnails img {
  border-radius: 12px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px -8px rgba(81, 62, 57, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.thumbnails img:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 16px 28px -10px rgba(81, 62, 57, 0.65);
}

.gallery {
  display: block;
  height: 300px;
  width: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  margin: 20px;
  border: 12px solid #bc908e;
  background-size: cover;
}
.gallery h3 {
  text-indent: -1000px;
  text-align: center;
  font-size: 40px;
  transition: all 300ms linear;
  height: 300px;
  width: 300px;
  background-color: rgba(0, 0, 0, 0);
  margin: 0;
  color: #ddc6c3;
  padding: 120px 0 0 0;
}
.gallery h3:hover {
  text-indent: 0px;
  transition: all 300ms linear;
  color: #ddc6c3;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Trojkat-dzielnik: ksztalt z maski SVG, kolor z background-color (animowalny).
   translateY(-148px) = ~2px nakladki na panel (tuszuje subpikselowa szczeline po
   skalowaniu SVG, np. mobile). Kolor :before animuje sie razem z tlem panelu, wiec
   nakladka jest zawsze tego samego koloru co panel -> brak kreski podczas animacji. */
.dog_panel1:before {
  content: "";
  display: block;
  height: 150px;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: #ddc6c3;
  transform: translateY(-148px);
}

.dog_panel2:before {
  content: "";
  display: block;
  height: 150px;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='100,100 0,0 0,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='100,100 0,0 0,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: #c9a5a0;
  transform: translateY(-148px);
}

.dog_panel3:before {
  content: "";
  display: block;
  height: 150px;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: #bc908e;
  transform: translateY(-148px);
}

.dog_panel4:before {
  content: "";
  display: block;
  height: 150px;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='100,100 0,0 0,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='100,100 0,0 0,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: #a26769;
  transform: translateY(-148px);
}

.pedigree {
  background: #bc908e;
}

/* Owijka tabeli rodowodu — poziomy scroll TYLKO tabeli (mobile), zamiast calej strony.
   Klase nadac recznie dookola <table> w tresci: <div class="pedigree_scroll"><table>...</table></div> */
.pedigree_scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pedigree_scroll table {
  min-width: 700px;
}

/* Pusty odstep pod sekcja rodowodu — dodac <div class="pedigree_spacer"></div> w tresci. */
.pedigree_spacer {
  height: 100px;
}

.pedigree_container {
  margin-top: -140px;
  margin-bottom: -140px;
}

.pedigree:before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100' style='fill:%23bc908e%3B' /%3E%3C/svg%3E");
  content: "";
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 150px;
  display: block;
  box-shadow: 0px 5px 1px #bc908e;
  transform: translateY(-150px);
}

.pedigree:after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 100,0 0,100' style='fill:%23bc908e%3B' /%3E%3C/svg%3E");
  content: "";
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 150px;
  display: block;
  transform: translateY(150px);
}

/* Panel tresci podstron (galeria, lista galerii, wystawy): wyglad jak dog_panel1
   (tlo + trojkat-dzielnik), ale :before pozycjonowany absolutnie, wiec NIE rezerwuje
   150px w przeplywie -> brak nadmiernego marginesu nad h2 (sterowanego padding-top). */
.content_panel {
  position: relative;
  background-color: #ddc6c3;
  padding: 30px 0 70px;
}
.content_panel:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100' style='fill:%23000%3B' /%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: #ddc6c3;
  transform: translateY(-148px);
}

.show_content {
  margin: auto;
  max-width: 1200px;
}
.show_content h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #a26769;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.pet_show {
  margin: 0 10px 22px;
  background: #f3dbd7;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-radius: 16px;
  border-left: 5px solid #a26769;
  box-shadow: 0 14px 30px -18px rgba(81, 62, 57, 0.55);
}
.pet_show:nth-of-type(even) {
  background: #d3b4b0;
  border-left-color: #6d393b;
}
.pet_show .show_pics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pet_show .show_info {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #513e39;
  line-height: 1.7;
}
.pet_show .show_info h3 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: #a26769;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.pet_show .show_info p {
  margin: 5px 0;
}
.pet_show .show_info .lbl {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #a26769;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 6px;
}
.pet_show img {
  border-radius: 12px;
  margin: 0;
  height: 150px;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 14px -6px rgba(81, 62, 57, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.pet_show img:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 14px 24px -8px rgba(81, 62, 57, 0.65);
}

.cl {
  clear: both;
}

/* TYPO */
.more {
  border: 1px solid #ffffff;
  padding: 10px 30px 10px 30px;
  border-radius: 25px;
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
}

.back {
  position: fixed;
  top: 20px;
  font-size: 50px;
  left: 20px;
z-index: 2;
}
.back a:link, .back a:visited {
  color: #513e39;
}

/* === Kosmetyczne dodatki: animacje strony glownej === */

.more {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.more i {
  transition: transform 0.3s ease;
}
.more:hover {
  background-color: #ffffff;
  color: #a26769;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.35);
}
.more:hover i {
  transform: translateX(5px);
}
.more:active {
  transform: translateY(-1px);
}

/* panel 1: od razu widoczny (bez animacji).
   panele 2-4: tlo startuje w kolorze poprzedniego panelu (brak przeblysku tla body),
   plynnie przechodzi we wlasny kolor; zawartosc (.container) pojawia sie z fade-in
   dopiero po wejsciu panelu w viewport (klasa .in-view, tylko gdy JS aktywny) */
.has-reveal .dog_panel2,
.has-reveal .dog_panel3,
.has-reveal .dog_panel4 {
  transition: background-color 0.8s ease;
}
.has-reveal .dog_panel2 { background-color: #ddc6c3; }
.has-reveal .dog_panel3 { background-color: #c9a5a0; }
.has-reveal .dog_panel4 { background-color: #bc908e; }

.has-reveal .dog_panel2 .container,
.has-reveal .dog_panel3 .container,
.has-reveal .dog_panel4 .container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* trojkat-dzielnik (:before): kolor startuje w kolorze poprzedniego panelu i morfuje
   we wlasny dokladnie jak tlo panelu -> nakladka zawsze tego samego koloru, brak kreski */
.has-reveal .dog_panel2:before,
.has-reveal .dog_panel3:before,
.has-reveal .dog_panel4:before {
  transition: background-color 0.8s ease;
}
.has-reveal .dog_panel2:before { background-color: #ddc6c3; }
.has-reveal .dog_panel3:before { background-color: #c9a5a0; }
.has-reveal .dog_panel4:before { background-color: #bc908e; }

.has-reveal .dog_panel2.in-view { background-color: #c9a5a0; }
.has-reveal .dog_panel3.in-view { background-color: #bc908e; }
.has-reveal .dog_panel4.in-view { background-color: #a26769; }

.has-reveal .dog_panel2.in-view .container,
.has-reveal .dog_panel3.in-view .container,
.has-reveal .dog_panel4.in-view .container {
  opacity: 1;
  transform: translateY(0);
}

.has-reveal .dog_panel2.in-view:before { background-color: #c9a5a0; }
.has-reveal .dog_panel3.in-view:before { background-color: #bc908e; }
.has-reveal .dog_panel4.in-view:before { background-color: #a26769; }

@media (prefers-reduced-motion: reduce) {
  .has-reveal .dog_panel2 { background-color: #c9a5a0; }
  .has-reveal .dog_panel3 { background-color: #bc908e; }
  .has-reveal .dog_panel4 { background-color: #a26769; }
  .has-reveal .dog_panel2,
  .has-reveal .dog_panel3,
  .has-reveal .dog_panel4 { transition: none; }
  .has-reveal .dog_panel2 .container,
  .has-reveal .dog_panel3 .container,
  .has-reveal .dog_panel4 .container {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .has-reveal .dog_panel2:before { background-color: #c9a5a0; }
  .has-reveal .dog_panel3:before { background-color: #bc908e; }
  .has-reveal .dog_panel4:before { background-color: #a26769; }
  .has-reveal .dog_panel2:before,
  .has-reveal .dog_panel3:before,
  .has-reveal .dog_panel4:before { transition: none; }
}

/*# sourceMappingURL=style.css.map */
