/* Osiedle Aroniowa — static rebuild.
   Ported from the original www.aroniowa.pl/style/aroniowa.css and the
   AroniowaMenu React component; sales-related styles removed. */

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  box-sizing: border-box;
  overflow-x: hidden;
}

header {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 30;
  background: #fff;
  color: #7a5730;
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #7a5730;
}

.skip-link:focus {
  top: 8px;
}

a:focus-visible {
  outline: 2px solid #7a5730;
  outline-offset: 2px;
}

/* ---------- top menu (from AroniowaMenu.js) ---------- */

.menu-bar {
  min-height: 70px;
  background-color: #f5f2ef;
}

.topnav {
  width: 100%;
  padding: 25px 0;
  background-color: #f5f2ef;
}

.topnav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.topnav ul::before {
  content: "";
  margin-right: auto;
  margin-left: 25px;
}

.topnav ul li {
  position: relative;
  margin-right: 12px;
  margin-left: 12px;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.topnav li.facebook-nav {
  margin-left: auto;
  margin-right: 50px;
  text-transform: none;
}

.topnav a {
  text-decoration: none;
  color: #7a5730;
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}

.topnav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform: scaleX(0.00001);
  border-bottom: 1px solid #7a5730;
  transition: 350ms transform cubic-bezier(0, 0, 0.12, 0.89);
}

.topnav a:hover:after {
  transform: scaleX(1);
}

.topnav.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: transform 250ms ease;
}

.topnav.is-hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .topnav.is-stuck,
  .topnav a:after {
    transition: none;
  }
}

@media screen and (max-width: 800px) {
  .topnav {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .topnav ul {
    flex-direction: column;
  }

  .topnav ul::before {
    display: none;
  }

  .topnav ul li {
    margin-top: 4px;
    margin-right: auto;
    margin-left: auto;
  }

  .topnav li.facebook-nav {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- hero ---------- */

section.hero {
  height: 100vh;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

section.hero .hero-image {
  height: 100%;
  margin-right: 50px;
  margin-left: 50px;
  background: url(../media/pictures/hp-image.jpg) no-repeat center center;
  background-image: image-set(
    url(../media/pictures/hp-image.webp) type("image/webp"),
    url(../media/pictures/hp-image.jpg) type("image/jpeg")
  );
  background-size: cover;
}

@media screen and (max-width: 1500px) {
  section.hero .hero-image {
    background-image: url(../media/pictures/hp-image-1400.jpg);
    background-image: image-set(
      url(../media/pictures/hp-image-1400.webp) type("image/webp"),
      url(../media/pictures/hp-image-1400.jpg) type("image/jpeg")
    );
  }
}

@media screen and (max-width: 750px) {
  section.hero .hero-image {
    background-image: url(../media/pictures/hp-image-800.jpg);
    background-image: image-set(
      url(../media/pictures/hp-image-800.webp) type("image/webp"),
      url(../media/pictures/hp-image-800.jpg) type("image/jpeg")
    );
  }
}

section.hero .hero-image div.content {
  display: flex;
  padding-top: 70px;
  justify-content: flex-start;
  align-items: baseline;
  flex-direction: row;
}

section.hero .logo {
  margin-left: -50px;
  background-color: rgba(19, 17, 71, 1);
  height: 75px;
  width: 33vw;
  padding: 25px 0;
  min-width: 350px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.hero .logo h1 {
  margin: 0;
  line-height: 0;
}

section.hero .logo img {
  height: 27px;
}

section.hero .arrow-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

section.hero .next-page-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5vw;
  height: 5vw;
  text-decoration: none;
  color: #9d7442;
}

section.hero .next-page-arrow img {
  margin: 10%;
  width: 30px;
}

@media screen and (max-width: 750px) {
  section.hero .hero-image {
    margin: auto 0;
  }

  section.hero .logo {
    margin: 0;
  }

  section.hero .hero-image div.content {
    display: flex;
    padding-top: 50px;
    justify-content: flex-start;
    align-items: baseline;
    flex-direction: column;
  }
}

/* ---------- district / info quotes ---------- */

section.district {
  background-color: rgba(244, 243, 240, 1);
  padding: 40px 0 60px 0;
}

.info-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
}

.info-quote h2 {
  font-size: 20px;
  font-weight: 300;
  margin-top: 32px;
  margin-bottom: 17px;
  text-transform: uppercase;
}

.info-quote > p {
  max-width: 42vw;
  font-weight: 300;
  text-align: center;
  line-height: 34px;
  font-size: 20px;
}

@media screen and (max-width: 1025px) {
  .info-quote > p {
    max-width: 66vw;
  }
}

.info-quote blockquote {
  border-left: 1px solid #cb312f;
  font-family: "EB Garamond", serif;
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  height: 34px;
  margin: 0;
  padding-left: 25px;
  margin-left: -25px;
  margin-bottom: 20px;
}

.info-quote blockquote p {
  margin: 0;
  line-height: 34px;
}

/* ---------- architecture ---------- */

section.architecture {
  display: flex;
  flex-direction: row;
  font-size: 10px;
}

section.architecture div.left {
  padding-top: 50px;
  padding-right: 150px;
  padding-left: 150px;
  padding-bottom: 70px;
}

section.architecture div.left h2 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding-top: 20px;
}

section.architecture div.left p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  max-width: 500px;
}

section.architecture div.right {
  width: 100%;
  background: url(../media/images/image1.jpg) no-repeat center center;
  background-image: image-set(
    url(../media/images/image1.webp) type("image/webp"),
    url(../media/images/image1.jpg) type("image/jpeg")
  );
  background-size: cover;
}

@media screen and (max-width: 1025px) {
  section.architecture {
    flex-direction: column;
  }

  section.architecture div.left {
    order: 1;
    width: auto;
    height: auto;
    margin: 10px;
    padding: 10px;
  }

  section.architecture div.right {
    order: 0;
    width: auto;
    height: 50vh;
  }
}

/* ---------- icons ---------- */

section.icons {
  background-color: #f5f2ef;
  padding-top: 50px;
}

section.icons div.figures {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 50px;
  padding-bottom: 100px;
  padding-right: 150px;
  padding-left: 150px;
  margin-right: auto;
  margin-left: auto;
}

section.icons figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 15px;
}

section.icons figure h3 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 13px;
}

section.icons figure p {
  font-size: 13px;
  line-height: 20px;
  font-weight: 300;
  width: 175px;
}

section.icons figure img {
  width: 60px;
  height: 60px;
  padding-bottom: 30px;
}

section.icons .localization-hero {
  height: 90vh;
  margin-right: 50px;
  margin-left: 50px;
  background: url(../media/images/image2.jpg) no-repeat center center;
  background-image: image-set(
    url(../media/images/image2.webp) type("image/webp"),
    url(../media/images/image2.jpg) type("image/jpeg")
  );
  background-size: cover;
}

section.icons .location-info {
  background-color: white;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 60px;
  margin-right: 50px;
  margin-left: 50px;
}

@media screen and (max-width: 1025px) {
  section.icons div.figures {
    padding-right: 20px;
    padding-left: 20px;
  }

  section.icons .localization-hero {
    margin-right: 0;
    margin-left: 0;
  }

  section.icons .location-info {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
  }

  .info-quote blockquote {
    margin-left: 0;
    height: auto;
  }
}

/* ---------- location pictures ---------- */

section.location-picture {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #f5f2ef;
  padding-right: 50px;
  padding-left: 50px;
}

section.location-picture img {
  width: 100%;
}

section.location-picture .left {
  width: 40%;
}

section.location-picture .right {
  width: 55%;
}

section.location-picture .left p {
  margin-top: 30px;
  margin-bottom: 30px;
  font-family: "EB Garamond", serif;
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
}

section.location-picture .right .image-columns h3 {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  max-width: 500px;
}

section.location-picture .right .image-columns p {
  font-size: 13px;
  line-height: 20px;
  font-weight: 300;
  max-width: 500px;
}

section.location-picture .double-picture {
  display: flex;
  flex-direction: row;
}

section.location-picture .double-picture .image-frame {
  padding-right: 35px;
}

.image-columns {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding-top: 50px;
}

.image-columns .column-left {
  padding-right: 35px;
}

.image-columns .column-right {
  padding-right: 35px;
}

@media screen and (max-width: 1025px) {
  section.location-picture {
    flex-direction: column;
    align-items: center;
  }

  section.location-picture .double-picture {
    flex-direction: column;
    display: none;
  }

  section.location-picture .left {
    width: 100%;
  }

  section.location-picture .right {
    width: 100%;
  }

  .image-columns {
    flex-direction: column;
  }
}

/* ---------- travel time tables ---------- */

section.lokalizacja {
  background-color: #f5f2ef;
  padding-top: 100px;
  padding-bottom: 100px;
}

section.lokalizacja table {
  width: 100%;
  padding-right: 50px;
  padding-left: 50px;
  padding-bottom: 50px;
}

section.lokalizacja table th {
  text-align: left;
  width: 25%;
  font-size: 16px;
  font-weight: 500;
}

section.lokalizacja table td {
  font-size: 16px;
  font-weight: 300;
}

section.lokalizacja h3 {
  padding-top: 50px;
  padding-right: 50px;
  padding-left: 50px;
  margin: 0;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
}

section.lokalizacja hr {
  margin: 20px 50px 20px 50px;
  border: 0;
  height: 1px;
  background-color: rgba(193, 165, 109, 1);
}

@media screen and (max-width: 1025px) {
  section.lokalizacja table,
  section.lokalizacja thead,
  section.lokalizacja tbody,
  section.lokalizacja th,
  section.lokalizacja td,
  section.lokalizacja tr {
    display: block;
  }

  section.lokalizacja table {
    width: auto;
  }

  section.lokalizacja thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  section.lokalizacja td {
    border: none;
    border-bottom: 1px solid lightgrey;
    position: relative;
    padding-left: 50%;
    padding-bottom: 3px;
  }

  section.lokalizacja td:before {
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
  }

  section.lokalizacja table.table-lokalizacja td:nth-of-type(1):before {
    content: "3 minuty";
  }
  section.lokalizacja table.table-lokalizacja td:nth-of-type(2):before {
    content: "6 minut";
  }
  section.lokalizacja table.table-lokalizacja td:nth-of-type(3):before {
    content: "11 minut";
  }
  section.lokalizacja table.table-lokalizacja td:nth-of-type(4):before {
    content: "11 minut";
  }

  section.lokalizacja table.table-samochodem td:nth-of-type(1):before {
    content: "5 minut";
  }
  section.lokalizacja table.table-samochodem td:nth-of-type(2):before {
    content: "15 minut";
  }
  section.lokalizacja table.table-samochodem td:nth-of-type(3):before {
    content: "18 minut";
  }
  section.lokalizacja table.table-samochodem td:nth-of-type(4):before {
    content: "25 minut";
  }
}

/* ---------- standard ---------- */

section.standard {
  background-color: white;
}

.standard-background {
  padding-top: 90px;
  padding-bottom: 110px;
  background-color: #f5f2ef;
}

.standard-hero-wrapper {
  background-color: white;
  padding-right: 50px;
  padding-left: 50px;
}

.standard-hero {
  width: 100%;
  height: 600px;
  background: url(../media/images/image4.jpg) no-repeat center center;
  background-image: image-set(
    url(../media/images/image4.webp) type("image/webp"),
    url(../media/images/image4.jpg) type("image/jpeg")
  );
  background-size: cover;
}

@media screen and (max-width: 1025px) {
  .standard-hero-wrapper {
    padding-right: 0;
    padding-left: 0;
  }
}

/* ---------- contact ---------- */

section.contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 90px 40px;
}

section.contact .contact-information {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

section.contact .contact-information h3 {
  font-family: "EB Garamond", serif;
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 20px;
}

section.contact .contact-information h3 span.subheader {
  font-family: "Lato", sans-serif;
  display: block;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
}

section.contact .contact-information p {
  font-size: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

a.phone-link:link,
a.phone-link:visited {
  color: black;
  text-decoration: none;
}

@media screen and (max-width: 1025px) {
  section.contact {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px 20px 10px;
  }

  section.contact .contact-information h3 {
    margin-bottom: 30px;
  }
}

/* ---------- footer ---------- */

footer .footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  padding: 75px;
  background-color: rgba(244, 243, 240, 1);
}

footer .footer-top p {
  margin: 0 auto 0 0;
  font-size: 30px;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-style: italic;
  max-width: 400px;
}

footer .footer-top .footer-info ul {
  margin: 0;
  padding: 0;
}

footer .footer-top .footer-info h3 {
  position: relative;
  font-size: 14px;
  color: #7a5730;
  margin: 0;
  margin-bottom: 10px;
}

footer .footer-top .footer-info address {
  font-style: normal;
}

footer .footer-top .footer-info address ul {
  list-style-type: none;
  font-size: 14px;
}

footer .footer-top .footer-info address ul li {
  margin-top: 3px;
  margin-bottom: 3px;
}

footer .footer-top .footer-info a {
  display: block;
  color: #7a5730;
  text-decoration: none;
  padding-bottom: 2px;
}

footer .footer-top .footer-info a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform: scaleX(1);
  border-bottom: 1px solid #7a5730;
  transition: 350ms transform cubic-bezier(0, 0, 0.12, 0.89);
}

footer .footer-top .footer-info a:hover:after {
  transform: scaleX(0.00001);
}

@media screen and (max-width: 1025px) {
  footer .footer-top {
    flex-direction: column;
    align-items: baseline;
    justify-content: space-between;
  }

  footer .footer-top .footer-info {
    margin-left: 5px;
    margin-top: 50px;
  }

  section.architecture div.left {
    padding-right: 20px;
    padding-left: 20px;
  }
}

footer .footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(6, 0, 71, 1);
  color: white;
  padding: 35px 50px 35px 50px;
}

footer .footer-bottom img {
  height: 20px;
}
