/* Podstawowe style */
/* ========= THEME TOKENS ========= */
:root {
  /* SUMMER (domyślnie — to, co masz teraz w odcieniach mięty/różu) */
  --bg: #fdf6f6;          /* tło strony */
  --text: #333333;        /* kolor tekstu */
  --primary: #6c9a8b;     /* linki, przyciski */
  --primary-600: #4a7c6d; /* hover linków/przycisków */
  --accent: #d68c9f;      /* logo, stopka */
  --muted: #e0e0e0;       /* linie, ramki */
}

/* JESIEŃ */
.theme-autumn {
  --bg: #f7efe6;
  --text: #2b241e;
  --primary: #a74c2a;     /* ceglasty */
  --primary-600: #813c21; /* hover */
  --accent: #d9a441;      /* złoty */
  --muted: #e6d7c7;
}

/* ZIMA */
.theme-winter {
  --bg: #f7fafc;
  --text: #15202b;
  --primary: #0d2b45;     /* granat */
  --primary-600: #0a2136;
  --accent: #8fd3d8;      /* chłodna mięta/srebro */
  --muted: #e6e9ef;
}

/* WIOSNA */
.theme-spring {
  --bg: #f9f7fb;
  --text: #2f2a32;
  --primary: #83c5a3;     /* pastelowa zieleń */
  --primary-600: #6aa888;
  --accent: #b9a2e0;      /* lawenda */
  --muted: #e7e0ef;
}

/* LATO (turkus + krem + morela) */
.theme-summer {
  --bg: #f5e9dc;          /* krem */
  --text: #2f2f2f;
  --primary: #2ca6a4;     /* turkus */
  --primary-600: #21807f; /* hover */
  --accent: #f2a97e;      /* morela (np. stopka/logo) */
  --muted: #e9dccf;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg); 
    color: var(--text); 
}

h1, h2, h3 {
    font-family: 'Pacifico', cursive;
}

a {
    color: var(--primary); 
    text-decoration: none;
}

a:hover {
    color: var(--primary-600);
}

/* Nagłówek i nawigacja */
header {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--muted);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--accent);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Sekcja główna */
main {
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--muted);
}

section:last-child {
    border-bottom: none;
}

/* Sekcja Hero */
.hero {
    background-image: url('Images/tlo.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* Przyciski */
.cta-button {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    margin-top: 20px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-600);
    color: #fff;
}

/* Sekcja Blog */
.blog-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.blog-post {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-basis: 300px;
    text-align: left;
}

/* Sekcja Kontakt */
.social-media a {
    margin: 0 10px;
    font-size: 1.2rem;
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--primary);
    color: #fff;
}


/* Stopka */
footer {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}
/* Style dla osobnej strony bloga */
.main-blog {
    padding: 2rem;
}

#blog-page {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
    justify-content: center;
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Style dla osobnej strony sklepu */
.main-shop {
    padding: 2rem;
}

#shop-page {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.shop-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.shop-item:hover {
    transform: translateY(-5px);
}

.shop-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.shop-item h3 {
    margin: 1rem 0 0.5rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.etsy-redirect {
    margin-top: 5rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
}

/* Style dla paginacji */
.pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination a {
    color: var(--primary);
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination a.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    font-weight: bold;
}

/* Style dla nowej sekcji linków w stopce */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Pozwala linkom przenieść się niżej na małych ekranach */
    gap: 1rem 2rem; /* Odstęp pionowy i poziomy między linkami */
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white; /* Utrzymujemy biały kolor tekstu */
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline; /* Delikatne podkreślenie po najechaniu */
}
/* —— Styl wpisu blogowego —— */
.post{
  max-width:760px;margin:2rem auto;background:#fff;padding:2rem;
  border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.05);line-height:1.75;
}
.post h1{margin:0 0 1rem;}
.post h2{
  font-family:'Raleway',sans-serif;font-weight:800;text-align:center;letter-spacing:.3px;
  font-size:clamp(1.1rem,.9rem + 1vw,1.6rem);margin:2.2rem 0 1rem;
}
.post .lead{
  font-size:1.05rem;background:#fff7f8;border:1px solid #f3d9df;
  padding:.9rem 1rem;border-radius:12px;margin-top:.5rem;
}
.post hr.separator{border:none;height:1px;background:#f3d9df;opacity:.6;margin:1.2rem auto;}
.post ul{margin:.6rem auto 1rem;padding-left:1.2rem;}
.post li{margin:.25rem 0;}
.meta{opacity:.7;font-size:.95rem;margin:.3rem 0 1rem;}
.video-16x9{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);}
.video-16x9 iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;}
.cta-row{text-align:center;margin:.8rem 0 0;}

/* Podtytuły trzeciego poziomu w postach (np. Bawełna/Jedwab…) */
.post h3{
  font-family:'Raleway', sans-serif;
  font-weight:800;
  text-align:center;
  letter-spacing:.3px;
  margin:1rem 0 .6rem;
}
/* Wyjustowany tekst w artykułach */
.post p {
    text-align: justify;
    hyphens: auto;
    /* ładniejsze dzielenie wyrazów */
}

/* (Opcjonalnie) jeśli chcesz też justować punkty listy, odkomentuj linię niżej */
/* .post li { text-align: justify; } */

/* Sekcja „Dlaczego lubię szydełkowe?”: wyrównanie do lewej */
.post .why-crochet {
    text-align: left;
}

.post .why-crochet h2 {
    text-align: left;
}

/* nadpisuje .post h2 { text-align:center } */

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;           /* odstęp między zdjęciem a tekstem */
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;    /* tekst wyrównany do lewej */
}

.about-photo {
  width: 200px;        /* możesz zmienić wielkość */
  height: auto;
  border-radius: 50%;  /* ładne, okrągłe zdjęcie */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 4px solid var(--accent);
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;   /* na telefonie zdjęcie nad tekstem */
    text-align: center;
  }
}
