/* FLAMALIE - STYLE.CSS */

:root {
  --page-bg: #f58ab8;
  --page-bg-dark: #ef78aa;
  --white: #ffffff;
  --text: #252525;
  --muted: #5f5f5f;
  --grey-light: #f3f0f0;
  --pink: #f58ab8;
  --pink-dark: #ee6fa4;
  --pink-strong: #de0458;
  --pink-light: #fde5f1;
  --shadow: 0 12px 36px rgba(132, 41, 82, 0.42);
  --shadow2: 0 12px 36px rgba(107, 107, 107, 0.515);
  --image-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
  --container-width: 1000px;
  --content-width: 840px;
  --font-main2: Arial, Helvetica, sans-serif;
  --font-main: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.45;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.456), transparent 34%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-dark) 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* WRAPPER */

.page-wrapper {
  width: min(100% - 80px, var(--container-width));
  margin: 86px auto;
  background: var(--white);
  box-shadow: var(--shadow2);
  overflow: hidden;
  border-radius: 25px;
  /*background: linear-gradient(90deg,var(--grey-light)0%, var(--white)50%, var(--grey-light)100%);*/
}

/* Společný vnitřní kontejner pro obsah uvnitř bílého bloku. */
.container {
  width: min(100% - 48px, var(--content-width));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  width: 100%;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.site-header {
  padding-top: 22px;
}

main {
  background: transparent;
}

.site-footer {
  padding-bottom: 28px;
}

/* HEADER */

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 400px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--pink-dark);
  font-size: 1.45rem;
  white-space: nowrap;
}

.nav a {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--pink-strong);
  transform: translateY(-2px);
  opacity: 0.85;
}

/* GENERAL */

.section {
  padding: 46px 0;
}

.section-heading {
  margin-bottom: 30px;
  text-align: left;
}

.section-heading h2,
.bio-content h1,
.contact-content h2 {
  color: var(--pink-dark);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 10px;
}

.section-heading p,
.bio-content p,
.contact-content p {
  color: var(--text);
  font-size: 1.02rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 42px;
  margin-top: 28px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #fe96bd;
  color: var(--white);
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--pink-dark);
}

/* BIO */

.bio-section {
  padding-top: 20px;
  padding-bottom: 25px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 74px;
  align-items: start;
}

.bio-content {
  max-width: 520px;
  padding-top: 20px;
}

.bio-content h1 {
  margin-bottom: 8px;
}

.bio-content p {
  max-width: 490px;
  font-size: 1.02rem;
}

.bio-content p .pink{
  color: var(--pink-dark);
}

.bio-content .button {
  margin-top: 26px;
}

.bio-image {
  width: 260px;
  justify-self: end;
}

.bio-image img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--pink-light);
  border-radius: 20px;
}

/* PRODUCTS */

.products-section {
  padding: 25px 0 25px;
  text-align: center;
}

.products-grid {
  width: min(100%, 740px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.product {
  padding: 10px;
}

/* INSTAX FRAME */

.frame {
  background: #ffffff;
  padding: 15px 15px 22px 15px;
  border-radius: 5px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frame:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.product:nth-child(1) .frame {
  transform: rotate(0.75deg);
}

.product:nth-child(2) .frame {
  transform: rotate(-0.8deg);
}

.product:nth-child(3) .frame {
  transform: rotate(0.9deg);
}

.product:nth-child(4) .frame {
  transform: rotate(-1.6deg);
}

.product:nth-child(1) .frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.product:nth-child(2) .frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.product:nth-child(3) .frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.product:nth-child(4) .frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.product-img,
.frame img {
  width: 100%;
  aspect-ratio: 0.28125 / 0.5;
  object-fit: cover;
  display: block;
  background: #f7f7f7;
}

.name {
  margin-top: 8px;
  color: #777777;
  font-family: "Caveat", cursive;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.price {
  margin-top: 0;
  color: var(--pink-dark);
  font-family: "Caveat", cursive;
  font-size: 28px;
  line-height: 1.1;
  text-align: center;
}

/* PICK UP PLACES*/

.location {
  padding-top: 25px;
  padding-bottom: 25px;
  background: var(--pink-light);
  background: linear-gradient(90deg,var(--pink-light)0%, var(--white)40%);
}

.location-container {
  width: min(100% - 48px, var(--content-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
  align-items: center;
}

.places h3 {
  color: var(--pink-dark);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 18px;
}

.places h3:not(:first-child) {
  margin-top: 36px;
}

.btn.place {
  display: grid;
  gap: 4px;
  width: 100%;
  margin-bottom: 14px;
  padding: 15px 18px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn.place.active {
  background: var(--pink);
  color: #ffffff;
  /*transform: translateY(-2px);*/
  box-shadow: 0 8px 20px rgba(132, 41, 82, 0.22);
}

.btn.place:hover,
.btn.place.active:hover {
  background: var(--pink-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(132, 41, 82, 0.22);
}

.place-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.place-address {
  display: block;
  font-size: 0.85rem;
  line-height: 1.35;
  opacity: 0.9;
}

.pinkB {
  margin-bottom: 8px;
  color: var(--pink-dark);
  font-size: 1rem;
  font-weight: 600;
}

.pinkB a {
  color: inherit;
}

.pinkB a:hover {
  color: var(--pink-strong);
}

.map {
  width: 100%;
  min-height: 300px;
  background: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: var(--image-shadow);
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* CONTACT */

.contact-section {
  padding-top: 25px;
  padding-bottom: 25px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  padding-top: 40px;
}

.contact-info ul {
  display: grid;
  gap: 10px;
  color: var(--text);
}

.contact-info a {
  color: var(--pink-dark);
}

.contact-info a:hover {
  color: var(--pink-strong);
  transform: translateY(-2px);
  opacity: 0.85;
}

/* FOOTER */

.footer-inner {
  padding-top: 25px;
  color: var(--pink-dark);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: -10px;
}

/* OPTIMALIZACE PRO MOBILNÍ ZAŘÍZENÍ */

@media (max-width: 900px) {
  .page-wrapper {
    width: min(100% - 32px, var(--container-width));
    margin: 32px auto;
  }

  .site-header,
  main,
  .site-footer {
    width: 100%;
  }

  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding-bottom: 22px;
  }

  .logo-img {
    width: 400px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
    font-size: 1.8rem;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .bio-content, .bio-content p, .bio-content h1  {
    max-width: none;
    order: 2;
    text-align: center;
  }

  .bio-image {
    width: min(100%, 320px);
    justify-self: center;
    order: 1;
  }

  .social-links {
    margin-top: 36px;
  }

  .products-grid {
    gap: 28px;
  }

  .location-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .places {
    width: min(100%, 460px);
    margin-inline: auto;
    text-align: center;
  }

  .map {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .pickup-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pickup-addresses ul {
    display: grid;
    justify-content: stretch;
  }

  .map-wrapper {
    margin-inline: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-content, .contact-info{
    text-align: center;
    margin-bottom: -25px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, var(--content-width));
  }

  .page-wrapper {
    width: min(100% - 20px, var(--container-width));
    margin: 10px auto;
  }

  .site-header,
  main,
  .site-footer {
    width: 100%;
  }

  .section {
    padding: 38px 0;
  }

  .logo-img {
    width: 300px;
  }

  .nav {
    font-size: 1.15rem;
  }

  .bio-section {
    padding-top: 10px;
  }

  .bio-content h1,
  .section-heading h2,
  .contact-content h2,
  .places h3 {
    font-size: 1.25rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
  }



  .product .frame,
  .product:nth-child(1) .frame,
  .product:nth-child(2) .frame,
  .product:nth-child(3) .frame,
  .product:nth-child(4) .frame,
  .product:nth-child(1) .frame:hover,
  .product:nth-child(2) .frame:hover,
  .product:nth-child(3) .frame:hover,
  .product:nth-child(4) .frame:hover {
    transform: rotate(0deg);
  }

  .location {
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .location-container {
    width: min(100% - 32px, var(--content-width));
  }

  .btn.place {
    padding: 14px 16px;
  }

  .map,
  .map iframe {
    min-height: 220px;
    height: 220px;
  }

  .pickup-section {
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .map-wrapper iframe,
  .map-wrapper {
    min-height: 220px;
  }
}
