/* ============================================================
   ORION — Ceramic Pet Urns
   Główny arkusz stylów
   ============================================================ */

/* ===================== ZMIENNE / TOKENY ===================== */
:root {
  /* Kolory */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f2ee;
  --color-text: #2b2825;
  /* --color-text-light: #7a7168; */
  --color-text-light: #555;
  --color-accent: #b07d50;
  /* ciepły terakota / brąz */
  --color-values-bg: #323030;
  /* tło sekcji values */
  --color-values-text: #f5f2ee;
  --color-border: #d8d2c9;
  --color-input-bg: #f4f4f4;
  --color-footer-bg: #F9F8F7;
  --color-footer-text: #c9c1b6;

  /* Typografia */
  --font-display: 'Inter', Georgia, serif;
  --font-header: 'Gilda Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Rozmiary */
  --max-width: 98.5rem;
  --body-lr-margins: 10rem;
  --content-width: min(calc(100% - calc(2 * var(--body-lr-margins))), var(--max-width));
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-gap: clamp(4rem, 6vw, 5rem);
  --h1-font-size: 55px;
  --h2-font-size: 40px;
  --h3-font-size: 0.9rem;
  --h3-font-size-alt: 1rem;
  --font-size: 18px;
  --font-size-sm: 15px;
  --font-size-xs: 13px;

  --menu-padding-top: 2.2rem;
  --menu-padding-bottom: 1rem;
  --header-logo-height: 3.7rem;
  --header-logo-height-scrolled: 3rem;
}

/* ===================== RESET ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 300;
  font-size: var(--font-size);
  line-height: 32px;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.comparison-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2147483647;
  width: 100%;
  max-width: none;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  /* filter: hue-rotate(165deg) saturate(2.4) contrast(1.15); */
  mix-blend-mode: multiply;
}

img {
  display: block;
  height: auto;
}

ul,
ol {
  list-style: none;
}

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

/* ===================== TYPOGRAFIA ===================== */
h1,
h2,
h3 {
  font-family: var(--font-header);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--h1-font-size);
  line-height: 63px;
}

h2 {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
  line-height: 45px;
}

h3 {
  font-family: 'Inter';
  font-size: var(--h3-font-size);
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

/* ===================== PRZYCISKI ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: var(--h3-font-size);
  font-weight: 400;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn__icon {
  width: 2.5rem;
  height: auto;
  flex-shrink: 0;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.btn:hover .btn__icon {
  filter: invert(1);
  transform: translateX(0.15rem);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  width: max-content;
  margin-top: 1.6rem;
}

.btn--outline:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.75rem;
  height: 3.5rem;
  padding: 0 2rem;
  border: 1px solid var(--color-text);
  border-radius: 9999px;
  background: transparent;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-arrow__icon {
  width: 2.5rem;
  height: auto;
  transition: filter 0.25s ease;
}

.btn-arrow:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  transform: translateY(-1px);
}

.btn-arrow:hover .btn-arrow__icon {
  filter: invert(1);
}

/* ===================== DIVIDER ===================== */

hr.divider {
  position: relative;
  border: none;
  border-top: 1px solid #b8b7b7;
  margin: 3rem auto;
  /* margin-left: var(--body-lr-margins); */
  padding-inline: var(--gutter);
  overflow: visible;
  max-width: calc(var(--content-width) - calc(2 * var(--body-lr-margins)));
}

hr.divider::after {
  content: '✦  ✦  ✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  /* kolor tła strony */
  color: #b8b7b7;
  font-size: 1.8rem;
  letter-spacing: 4px;
  line-height: 1;
  padding: 0 1rem;
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  /* background: linear-gradient(to right, #f3f1f3, #e0dbe0); */
  /* border-bottom: 1px solid transparent; */
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header>div {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-top: var(--menu-padding-top);
  /* padding: 2.2rem var(--gutter) 1rem; */
  transition: padding 0.35s ease, max-width 0.35s ease, align-items 0.35s ease;
}

.site-header__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1;
  /* background-color: red; */
}

.site-header__logo img {
  display: block;
  height: var(--header-logo-height);
  width: auto;
  transition: height 0.35s ease;
}

.site-nav {
  margin-left: auto;
}

.site-header ul {
  display: flex;
  gap: 4rem;
  transition: gap 0.35s ease;
}

.site-nav a {
  display: inline-block;
  position: relative;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
  color: var(--color-text);
  transition: color 0.2s;
}

.site-nav a::after {
  content: attr(data-text);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav__link--active {
  color: var(--color-text);
  font-weight: 600;
}

.site-header__lang {
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  display: flex;
  gap: 0.35rem;
}

.site-header__lang-active {
  color: var(--color-text);
  font-weight: 700;
}

.site-header__lang-link:hover {
  color: var(--color-text);
}

.site-header--scrolled {
  background-color: var(--color-bg);
  /* #f3f1f4 */
  /* border-bottom-color: var(--color-border); */
  box-shadow: 0 0.35rem 1rem rgba(33, 28, 24, 0.04);
}

.site-header--scrolled>div {
  /* Układ nagłówka pozostaje taki sam jak przed scrollowaniem.
     Zmienia się tylko logo. */
  align-items: center;
  max-width: var(--content-width);
  padding-top: var(--menu-padding-bottom);
  padding-bottom: var(--menu-padding-bottom);
}

.site-header--scrolled .site-header__logo img {
  height: var(--header-logo-height-scrolled);
}

.site-header--scrolled .site-header__logo span {
  max-height: 0;
  opacity: 0;
  transform: translateY(-0.35rem);
}

/* ===================== HERO ===================== */
.hero {
  padding: clamp(13rem, 10vw, 15rem) 0 var(--section-gap);
  margin: auto;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  /* zachowuje proporcje i wypełnia element */
  background-position: top center;
  /* centruje od prawego górnego rogu */
  background-repeat: no-repeat;
}

.hero>div:first-child {
  max-width: var(--content-width);
  margin-inline: auto;
}

.hero>div>div {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.3rem;
  margin-top: -12px;
}

.mobile-hero {
  display: none;
}

/* ===================== VALUES ===================== */
.values {
  background-color: var(--color-values-bg);
  padding: 2rem 0;
  height: 260px;
  /* width: calc(100% - 8rem); */
  /* margin: 0 auto; */
}

.values ul {
  display: flex;
  justify-content: space-around;
  max-width: var(--content-width);
  margin-inline: auto;
  text-align: center;
  gap: 2rem;
}

.values li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.values li h3 {
  
}

.values img {
  width: auto;
  height: 70px;
  object-fit: contain;
  /* filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); */
}

.values h3 {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--font-size);
  font-weight: 200;
  margin-top: 1rem;
  letter-spacing: normal;
  line-height: 32px;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-values-text);
}

.values p {
  font-style: normal;
  font-weight: 200;
  font-size: var(--font-size-sm);
  line-height: 24px;
  /* max-width: 300px; */
  color: var(--color-values-text);
}

/* ===================== COLLECTION ===================== */
.collection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  grid-template-rows: auto auto auto;
  column-gap: 1.5rem;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 3.2rem 0;
}

.collection p {
  font-size: var(--font-size-sm);
  line-height: 25px;
}

.collection > * {
  min-width: 0;
}

.item-1 {
  grid-column: 1;
  grid-row: 1;
}

.item-4 {
  grid-column: 1;
  grid-row: 2;
}

.item-2 {
  grid-column: 1;
  grid-row: 3;
}

.item-3 {
  grid-column: 2;
  grid-row: 1 / span 3;
  /* rozciąga się na oba wiersze */
}

.aurora-wraper {
  background-image: url("assets/o.svg");
  background-repeat: no-repeat;
  background-position: bottom right;
  overflow: hidden;
  background-position-y: 152%;
  padding-bottom: 5rem;
}

.collection--reverse {
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.collection--reverse .item-1 {
  grid-column: 2;
}

.collection--reverse .item-2 {
  grid-column: 2;
}

.collection--reverse .item-4 {
  grid-column: 2;
}

.collection--reverse .item-3 {
  grid-column: 1;
}

.collection dl {
  margin-bottom: 2rem;
}

.collection dt {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  font-weight: 300;
  color: var(--color-text);
  margin-top: 0.75rem;
}

.collection dd {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.collection .nav {
  display: flex;
  gap: 0.5rem;
}

.products {
  --gap: 1.7rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gap) * 2) / 3);
  gap: var(--gap);
  min-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-card {
  scroll-snap-align: start;
}

/* ===================== PRODUCT CARD ===================== */
.products figure {
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.products img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.products img:hover {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

.products h3 {
  display: none;
  font-family: var(--font-body);
  font-size: var(--h3-font-size-alt);
  font-weight: 300;
  /* letter-spacing: 0.12em; */
  color: var(--color-text);
  margin-bottom: 0.2rem;
  text-align: center;
}

.products p {
  display: none;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 300;
  color: var(--color-text-light);
}

/* ===================== CRAFT / O NAS / RZEMIOSŁO ===================== */
.craft-container {
  background-color: var(--color-footer-bg);
}

/* rzemiosło cały panel */
.craft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3rem;
  align-items: center;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 6rem 0;
}

.craft h2 {
  margin-bottom: 2.8rem;
}

/* rzemiosło heading + text */
.craft>div {
  /* max-width: 50rem; */
  /* padding: 6rem 0; */
  /* border: 1px solid red; */
  grid-column: 1;
  grid-row: 1;
}

.craft>div p {
  margin-bottom: 1rem;
  line-height: 30px;
}

/* rzemiosło ikony urn */
.craft>img {
  /* padding-top: 5rem; */
  width: 80%;
  grid-column: 1;
  grid-row: 2;
}

/* rzemiosło obrazek po prawej */
.craft figure {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.craft__image {
  max-width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;

}

/* ===================== CONTACT + FAQ GRID ===================== */
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: var(--section-gap) 0;
}

.contact__form-wrap {
  background-color: #F2F0F3;
  padding: 3rem;
  border-radius: 1.5rem;
}

.contact p {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===================== FORM FIELDS ===================== */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field__label {
  display: none;
  /* placeholder pełni rolę etykiety wizualnej; label obecny dla a11y */
}

.form-field__input,
.form-field__textarea {
  font-family: var(--font-body);
  /* font-size: 0.85rem; */
  /* font-weight: 300; */
  color: var(--color-text);
  /* background-color: var(--color-bg-alt); */
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  border-radius: 1.5rem;
}

.form-field__input::placeholder,
.form-field__textarea::placeholder {
  color: var(--color-text);
  font-weight: 400;
  /* font-size: 0.8rem; */
}

.form-field__input:focus,
.form-field__textarea:focus {
  border-color: var(--color-accent);
}

.form-field__textarea {
  min-height: 8rem;
  resize: none;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.form-field label {
  cursor: pointer;
}

.form-field__checkbox {
  flex-shrink: 0;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.form-field__checkbox-label {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.5;
}

/* ===================== FAQ ===================== */

.faq-list details {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.faq-list summary {
  font-size: var(--font-size-sm);
  cursor: pointer;
  list-style: none;
  /* Ukrycie domyślnej strzałki */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary:hover {
  color: var(--color-text);
  font-weight: 500;
}

.faq-list details[open] summary {
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  /* Przekształcenie + w x */
}

.faq-list p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  padding-top: 1rem;
  color: var(--color-text-light);

}

/* ===================== FOOTER ===================== */
.site-footer {
  background-color: var(--color-footer-bg);
  margin-top: var(--section-gap);
  padding-top: 5rem;
  padding-bottom: 7rem;

  background-image: url("assets/o-white.svg");
  background-repeat: no-repeat;
  overflow: hidden;
  background-position: 95% 150%;
  background-size: 600px auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--content-width);
  margin-inline: auto;
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.8;
}

.site-footer__logo {
  height: 2.7rem;
  width: auto;
  margin-bottom: 2rem;
  filter: brightness(0) invert(0) opacity(0.59);
}

.site-footer__tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.7;
}

.site-footer__col-title {
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer__address {
  font-style: normal;
  font-size: var(--font-size-sm);
  line-height: 1.9;
}

.site-footer__address a {
  opacity: 1;
  transition: opacity 0.2s;
}

.site-footer__address a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.site-footer__social-list {
  display: flex;
  gap: 1.25rem;
}

.site-footer__social-link img {
  object-fit: contain;
  transition: opacity 0.2s;
}

.site-footer__social-link:hover img {
  opacity: 1;
}

