/* ============================================
   MENHIR – arkusz stylów wersji 1.0
   Paleta i typografia wg brief-projektowy-strona.md
   ============================================ */

:root {
  --bg-main: #F5F1EA;
  --bg-alt: #EFE9DD;
  --bg-alt2: #EAE3D6;
  --bg-dark: #1F1D1A;
  --text-main: #1F1D1A;
  --text-secondary: #6B665C;
  --text-muted: #8A8578;
  --gold: #A08D57;
  --gold-light: #C9A857;
  --placeholder: #EDE7DA;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", Arial, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- etykiety typu "KOLEKCJA" --- */
.label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

h2 { font-size: clamp(28px, 4vw, 42px); }

/* ============ Nagłówek ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg-alt2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.25em;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--text-main); }

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn:hover { background: var(--gold); color: var(--bg-main); }

.btn--solid { background: var(--gold); color: var(--bg-main); }
.btn--solid:hover { background: var(--text-main); border-color: var(--text-main); }

.btn--dark { border-color: var(--gold-light); color: var(--gold-light); }
.btn--dark:hover { background: var(--gold-light); color: var(--bg-dark); }

.nav-toggle { display: none; }

/* ============ Hero ============ */
.hero {
  padding: 110px 0 90px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  margin: 24px 0 16px;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Pasek zaufania ============ */
.trust-bar {
  background: var(--bg-alt);
  padding: 18px 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.trust-bar span.sep { color: var(--gold); }

/* ============ Sekcje wspólne ============ */
section { padding: 90px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 { margin-top: 16px; }

.section-head p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 14px auto 0;
  font-weight: 300;
}

/* ============ Quiz teaser ============ */
.quiz-teaser {
  background: var(--bg-alt);
  text-align: center;
}

.quiz-teaser h2 { margin: 16px 0 12px; }

.quiz-teaser p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 300;
}

/* ============ Kolekcja ============ */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--bg-alt2);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 29, 26, 0.08);
}

.product-photo {
  aspect-ratio: 1 / 1;
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stone {
  width: 46%;
  aspect-ratio: 1/1;
  border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%;
  box-shadow: inset -12px -14px 28px rgba(0,0,0,0.22), inset 10px 12px 24px rgba(255,255,255,0.35), 0 18px 30px rgba(31,29,26,0.18);
}

.stone--ametyst   { background: radial-gradient(circle at 35% 30%, #c9b3e6, #7d5ba6 65%, #4d3070); }
.stone--kwarc     { background: radial-gradient(circle at 35% 30%, #f6dfe2, #e3b7c0 65%, #c48d9c); }
.stone--obsydian  { background: radial-gradient(circle at 35% 30%, #5a5a5c, #232326 65%, #0c0c0e); }
.stone--cytryn    { background: radial-gradient(circle at 35% 30%, #f5e3b0, #ddb35e 65%, #a97f2e); }
.stone--tygrysie  { background: radial-gradient(circle at 35% 30%, #d9a86a, #9c6a2e 60%, #5a3a17); }
.stone--labradoryt{ background: radial-gradient(circle at 35% 30%, #9fb3b8, #56707e 55%, #2e3f4d 80%, #45657a); }

.product-info {
  padding: 24px;
  text-align: center;
}

.product-info h3 {
  font-size: 24px;
  margin: 4px 0 6px;
}

.product-info .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.product-info .price {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.product-info .btn { padding: 10px 24px; font-size: 12px; }

/* ============ Rytuał (ciemna sekcja) ============ */
.ritual {
  background: var(--bg-dark);
  color: #EFE9DD;
}

.ritual .label { color: var(--gold-light); }

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.ritual-item { text-align: center; }

.ritual-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gold-light);
}

.ritual-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #F5F1EA;
}

.ritual-item p {
  font-size: 14px;
  font-weight: 300;
  color: #B8B2A4;
}

/* ============ Opinie ============ */
.reviews { background: var(--bg-alt); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  background: #fff;
  border: 1px dashed var(--bg-alt2);
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
}

.review-card .stars {
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}

.review-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
}

/* ============ CTA końcowe ============ */
.final-cta {
  text-align: center;
  padding: 110px 0;
}

.final-cta h2 { margin-bottom: 32px; }

/* ============ Stopka ============ */
.site-footer {
  background: var(--bg-dark);
  color: #B8B2A4;
  padding: 64px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer .logo { color: #F5F1EA; font-size: 18px; }

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 500;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #F5F1EA; }

.newsletter-form {
  display: flex;
  margin-top: 8px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 1px solid #4a463f;
  border-right: none;
  padding: 11px 14px;
  color: #F5F1EA;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
}

.newsletter-form input::placeholder { color: #8A8578; }

.newsletter-form button {
  background: var(--gold-light);
  border: 1px solid var(--gold-light);
  color: var(--bg-dark);
  padding: 11px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #3a362f;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #6B665C;
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Quiz (podstrona) ============ */
.quiz-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 70px 24px 110px;
}

.quiz-page .section-head { margin-bottom: 40px; }

.quiz-progress {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

.quiz-question h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  text-align: center;
  margin-bottom: 36px;
}

.quiz-answers {
  display: grid;
  gap: 12px;
}

.quiz-answer {
  background: #fff;
  border: 1px solid var(--bg-alt2);
  padding: 18px 22px;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--text-main);
  transition: border-color 0.2s, background 0.2s;
}

.quiz-answer:hover {
  border-color: var(--gold);
  background: var(--bg-alt);
}

.quiz-result { text-align: center; }

.quiz-result .stone {
  width: 140px;
  margin: 0 auto 28px;
}

.quiz-result h2 { margin-bottom: 8px; }

.quiz-result .meta {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.quiz-result .desc {
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 32px;
}

.quiz-result .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-tie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}

/* ============ Responsywność ============ */
@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .ritual-grid { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .collection-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .quiz-tie { grid-template-columns: 1fr; }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-main);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--bg-alt2);
  }

  .main-nav.open { display: flex; }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
  }
}
