/** STYLE GŁÓWNE **/

/* Czyszczenie styli zaciąganych z przeglądarki */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  word-wrap: break-word;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  line-height: 1;
  font-weight: 400;
  color: #333;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Stylowanie fontów */

h1 {
  font-size: 72px;
  margin: 36px 0;
}

h2 {
  font-size: 48px;
  margin: 32px 0;
}

h3 {
  font-size: 36px;
  margin: 28px 0;
}

h4 {
  font-size: 30px;
  margin: 24px 0;
}

h5,
h6 {
  font-size: 24px;
  margin: 20px 0;
}

p {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  padding: 8px 0;
  line-height: 1.4;
}

li {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  padding: 8px 0;
}

.menu-font {
  font-family: "Zilla Slab", serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

.heading-font {
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Podstawowe klasy dla elementów */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 800px;
}

/* Marginesy */

.m-96 {
  margin: 96px auto;
}

.m-72 {
  margin: 72px auto;
}

.m-48 {
  margin: 48px auto;
}

.m-24 {
  margin: 24px auto;
}

.p-96 {
  padding: 96px 0;
}

.p-72 {
  padding: 72px 0;
}

.p-48 {
  padding: 48px 0;
}

.p-24 {
  padding: 24px 0;
}

.p-72-h {
  padding: 0 72px;
}

.p-48-h {
  padding: 0 48px;
}

.p-24-h {
  padding: 0 24px;
}

.p-48-all {
  padding: 48px;
}

.p-24-all {
  padding: 24px;
}

/* Justowanie */

.content-center {
  text-align: center;
}

/* Klasy dla elementów typu Flexbox */

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.flexbox-center {
  justify-content: center;
}

.flexbox-left {
  justify-content: left;
}

.flex-half {
  width: 50%;
}

.flex-one-third {
  width: 30%;
}

.flex-two-third {
  width: 70%;
}

.gap-30 {
  gap: 30px;
}

/* Kolory tła */

.container-pink-one {
  background-color: #f6eae4;
}

.container-pink-two {
  background-color: #f6eae4;
}
.container-beige {
  background-color: #f6eae4;
}

.container-beige-two {
  background-color: #ecd3c7;
}

/* Cienie dla elementów */

.pink-one {
  box-shadow: -20px -20px 0px 0px #f1d3e8;
}

.beige {
  box-shadow: -20px -20px 0px 0px #f6eae4;
}

.beige-two {
  box-shadow: -20px -20px 0px 0px #ecd3c7;
}

/* Ogólne style dla list */

.offer-list,
.prosseco-list {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.offer-list li,
.prosseco-list li {
  list-style-type: none;
  margin: 6px 0;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.2px;
}

.offer-list li:before,
.prosseco-list li:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
}

.desktop-hidden {
  display: flex;
}

.hidden {
  display: none;
}

/** Style dla poszczególnych elementów **/

/* Nagłówek */

header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
}

header div {
  display: flex;
  align-items: center;
}

header img {
  margin-right: 10px;
}

.hero-second-heading {
  font-size: 36px;
}

.logo-one {
  max-width: 250px;
  height: auto;
}

.logo-two {
  max-width: 100px;
  height: auto;
}

/* Menu */

nav {
  gap: 4px;
}

.menu-icon {
   margin-top: 50px;
  display: none;
}

.close-btn {
  display: none;
}

nav a {
  display: inline-block;
  text-align: center;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  background-color: #7a6432;
}

nav a:last-of-type {
  background-color: #7a6432;
  padding: 18px 15px;
}

nav a:last-of-type:hover {
  background-color: #7a6432;
}

/* Przycisk "Powrót na górę" */

.back-to-top {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 40px;
  right: 40px;
}

.back-to-top a svg {
  fill: #333333;
  transition: fill 0.3s ease;
}

.back-to-top a:hover svg {
  fill: #7a6432;
}

/* Sekcja Hero */

.hero-center {
  gap: 60px;
  justify-content: center;
}

.hero-img {
  max-width: 500px;
  height: auto;
}

.hero-description {
  font-size: 26px;
}

/* dodatkowe klasy dla nagłówków */

.leading-info {
  line-height: 1.4;
}

.leading-narrow {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  font-size: 36px;
}

/* dodatkowe style dla zdjęć */

.product-img-medium {
  width: auto;
  height: auto;
  max-width: 500px;
  max-height: 450px;
}

/* Listy */

.offer-list li:before {
  background-color: #e8b5d8;
}

.prosseco-list {
  max-width: 600px;
}

.prosseco-list li:before {
  background-color: #f6eae4;
  border: 1px solid #ddb19a;
}

/* Kafelki */

.gap-tiles {
  gap: 30px;
}

.tile-pink-one {
  background-color: #f1d3e8;
  text-align: center;
  min-height: 500px;
}

.tile-pink-two {
  background-color: #f6e2f0;
  text-align: center;
  min-height: 500px;
}

.tile-beige-one {
  background-color: #f6eae4;
  text-align: center;
  height: 650px;
  position: relative;
}

.tile-beige-one > h3 {
  padding-bottom: 20px;
}

.tile-beige-one:before {
  font-family: "Kaushan Script", cursive;
  font-size: 80px;
  font-weight: bold;
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 10px 20px 10px 10px;
  color: #ffffff;
}

.tile-beige-one:nth-of-type(1):before {
  content: "1";
}

.tile-beige-one:nth-of-type(2):before {
  content: "2";
}

.tile-beige-one:nth-of-type(3):before {
  content: "3";
}

p.offer-price {
  position: absolute;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #ffffff;
  bottom: 20px;
  right: 40px;
}

/* Sekcja "Oferta" */

.image-grid {
  width: 1000px;
  display: grid;
  grid-template-columns: repeat(5, 200px);
  align-self: center;
  justify-content: center;
  background-color: #f1d3e8;
  grid-template-rows: repeat(2, 200px);
  font-size: 24px;
}

.sweet-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.sweet-img-hover {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.sweet-img-desc {
  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sweet-img-desc:hover > .sweet-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  visibility: visible;
  opacity: 1;
}

/* Opinie */

.rating img {
  width: 45px;
  height: 45px;
  margin-bottom: 20px;
}

.container-opinion {
  padding: 20px;
  height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.container-opinion:first-of-type {
  margin-left: calc(10% - 80px);
}

p.opinion-author {
  font-style: italic;
}

.opinion-author.opinion-space {
  padding-bottom: 30px;
}

.google-opinions-btn {
  font-family: "Zilla Slab", serif;
  text-transform: uppercase;
  text-align: center;
  padding: 24px 40px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  background-color: #ecd3c7;
  font-size: 24px;
  margin-top: 50px;
  margin-left: 50px;
}
.google-opinions-btn:hover {
  color: #ecd3c7;
  background-color: #333;
}

/* Stopka */

footer {
  margin-top: 96px;
}

.container-grey {
  background-color: #222;
  color: #f1d3e8;
  padding: 20px;
  text-align: center;
}

.contact {
  justify-content: center;
  gap: 192px;
  padding-bottom: 24px;
}

.contact-data {
  align-items: start;
}

.contact-data img {
  height: 20px;
  width: auto;
  padding-right: 10px;
}

.social-icons img {
  height: 40px;
  width: auto;
  margin-right: 20px;
}

.social-icons img.img-instagram {
  height: 34px;
  width: auto;
  margin-right: 0;
}

.sms-info {
  width: 60%;
}

/** STYLE RESPONSYWNE **/

@media all and (max-width: 1480px) {
  .container {
    width: 90%;
  }

  .flex-half {
    max-width: 44%;
  }
}

@media all and (max-width: 1070px) {
  .flex-row:not():nth-of-type(1),
  .flex-row:not():nth-of-type(2) {
    flex-direction: column;
  }

  .space-between,
  .flexbox-left {
    justify-content: center;
  }

  .flex-one-third {
    width: 80%;
    min-height: auto;
  }
  #uslugi-dodatkowe .flex-half {
    max-width: 80%;
    min-height: auto;
  }

  .flex-one-third.prosseco-tile {
    height: auto;
    width: 80%;
  }

  .flex-one-third #uslugi-dodatkowe .flex-half {
    padding: 0;
  }

  #pralinkowy-prosecco-van .flex-one-third {
    margin: 40px auto;
  }
  .flex-two-third {
    width: 90%;
  }

  .prosseco-instagram {
    justify-content: center;
  }

  .m-96 {
    margin: 60px auto;
  }

  .flex-half {
    width: 80%;
  }

  .flex-half.product-img-medium,
  .flex-half.hero-img {
    width: auto;
    margin-bottom: 40px;
  }

  .image-grid {
    width: 600px;
    grid-template-columns: repeat(3, 200px);
    grid-template-rows: repeat(3, 200px);
  }

  .image-grid .sweet-img:first-of-type {
    display: none;
  }

  .container-opinion,
  .container-opinion:first-of-type {
    margin-left: calc(14% - 80px);
    margin-bottom: 30px;
    height: auto;
  }

  .desktop-hidden {
    display: none;
  }

  .mobile-hidden {
    display: none;
  }

  .hidden {
    display: flex;
    margin: 0 auto;
  }
  .contact {
    gap: 80px;
  }
}

@media all and (max-width: 992px) {
  #hero .hero-center {
    flex-direction: column;
  }

  #hero .flex-half,
  .flex-half {
    max-width: 80%;
    text-align: center;
  }

  .leading-narrow {
    font-size: 30px;
  }

  .contact {
    gap: 40px;
  }

  .contact-data {
    align-items: center;
  }

  .sms-info {
    width: 90%;
    text-align: center;
  }

  .google-opinions-btn {
    margin-left: 20px;
  }
}

@media all and (max-width: 768px) {
  h1 {
    font-size: 48px;
    margin: 30px 0;
  }

  h2 {
    font-size: 36px;
    margin: 26px 0;
  }

  h3 {
    font-size: 26px;
    margin: 20px 0;
  }

  h4,
  h5,
  h6 {
    font-size: 20px;
    margin: 18px 0;
  }

  .contact {
    flex-direction: column;
  }

  .flex-col.contact-data.gap-tiles {
    gap: 15px;
  }

  .hero-second-heading {
    font-size: 26px;
  }

  .flex-one-third.prosseco-tile ul li:last-of-type {
    padding-bottom: 50px;
  }

  .tile-beige-one:before {
    font-size: 60px;
    top: 14px;
  }
}

@media all and (max-width: 640px) {
  .image-grid {
    width: 400px;
    grid-template-columns: repeat(2, 200px);
    grid-template-rows: repeat(5, 200px);
  }

  .flex-half {
    max-width: 80%;
  }

  .image-grid .sweet-img:first-of-type {
    display: block;
    order: 1;
  }
  .image-grid .sweet-img-desc:first-of-type {
    order: 2;
  }

  .image-grid .sweet-img-desc:nth-of-type(2) {
    order: 3;
  }
  .image-grid .sweet-img:nth-of-type(2) {
    order: 4;
  }
  .image-grid .sweet-img-desc:nth-of-type(3) {
    order: 6;
  }
  .image-grid .sweet-img:nth-of-type(3) {
    order: 5;
  }
  .image-grid .sweet-img-desc:nth-of-type(4) {
    order: 7;
  }
  .image-grid .sweet-img:nth-of-type(4) {
    order: 8;
  }
  .image-grid .sweet-img-desc:nth-of-type(5) {
    order: 10;
  }
  .image-grid .sweet-img:nth-of-type(5) {
    order: 9;
  }
  .container-opinion,
  .container-opinion:first-of-type {
    margin-left: calc(18% - 80px);
  }
}

@media all and (max-width: 576px) {
  .container-opinion,
  .container-opinion:first-of-type {
    margin-left: 25px;
    width: 95%;
  }
  p.offer-price {
    font-size: 30px;
  }
  .tile-beige-one:before {
    left: 8px;
  }

  .leading-narrow {
    font-size: 26px;
  }

  .google-opinions-btn {
    margin-left: 0;
  }
}

@media all and (max-width: 450px) {
  .image-grid {
    width: 280px;
    grid-template-columns: repeat(2, 140px);
    grid-template-rows: repeat(5, 140px);
  }
  .sweet-img-desc,
  .sweet-img-hover {
    width: 140px;
    height: 140px;
    font-size: 20px;
  }

  .contact {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }
}

@media all and (max-width: 340px) {
  .contact-data img {
    display: none;
  }
  .rating img {
    width: 35px;
    height: 35px;
  }
}

/* Menu */
@media all and (max-width: 768px) {
  nav#menu {
    display: none;
  }
  .menu-icon {
    display: none;
    position: fixed;
    top: 40px;
    right: 40px;
    font-size: 36px;
    font-weight: 700;
    z-index: 20;
  }
  .menu-open {
    display: block;
  }
  .close-btn {
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
  }

  nav#menu.toggle-menu {
    display: flex;
    position: fixed;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    top: 0;
    background-color: rgba(0, 0, 0, 0.83);
    gap: 90px;
    z-index: 10;
  }

  nav a,
  nav a:last-of-type {
    color: #fff;
    font-weight: 500;
    background-color: transparent;
    font-size: 20px;
  }
  nav a:hover,
  nav a:last-of-type:hover {
    color: #f1d3e8;
    background-color: #000;
  }
}

@media all and (max-width: 576px) {
 nav#menu {
    display: none;
  }
  .logo-two {
    display: none;
  }

  .menu-icon,
  .close-btn {
    top: 20px;
    right: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}
