/*
Theme Name: Snažna
Theme URI: https://snazna.hr
Author: Snažna Blog
Description: Minimalistička WordPress tema za ženski lifestyle blog Snažna — fokus na žene 40+. Crno-bijeli dizajn, font Lato, elegantni serif naslovi.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: snazna
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

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

html { font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #111;
  background: #fff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }

/* ===== TIPOGRAFIJA ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
}
h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.2rem; }

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

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

/* ===== NAVIGACIJA ===== */
.site-header {
  border-bottom: 0.5px solid #ddd;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #111;
}
.site-logo em { font-style: italic; font-weight: 400; }

.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.site-nav ul li a {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  font-weight: 400;
  transition: color 0.15s;
}
.site-nav ul li a:hover { color: #111; opacity: 1; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 60px;
  border-bottom: 0.5px solid #ddd;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__tag {
  font-size: 0.625rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero__title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #111;
}
.hero__title em { font-style: italic; }

.hero__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 0.5px solid #333;
  padding: 12px 26px;
  color: #111;
  background: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: #f5f5f5; opacity: 1; }

.hero__featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__card {
  background: #f7f7f7;
  border: 0.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 18px 20px;
}

.hero__card-label {
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
  font-weight: 400;
}

.hero__card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  color: #111;
}
.hero__card-title em { font-style: italic; }

/* ===== RUBRIKE ===== */
.rubrike {
  padding: 48px 24px;
  border-bottom: 0.5px solid #ddd;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 24px;
  font-weight: 400;
}

.rubrike__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.rubrika {
  border: 0.5px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px 16px;
  transition: background 0.15s;
  cursor: pointer;
}
.rubrika:hover { background: #f7f7f7; }

.rubrika__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 0.5px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.rubrika__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 5px;
  color: #111;
}

.rubrika__desc {
  font-size: 0.65rem;
  color: #888;
  line-height: 1.5;
  font-weight: 300;
}

/* ===== GRID ČLANAKA ===== */
.clanci {
  padding: 48px 24px;
  border-bottom: 0.5px solid #ddd;
  max-width: 1140px;
  margin: 0 auto;
}

.clanci__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.link-sm {
  font-size: 0.625rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  font-weight: 400;
}
.link-sm:hover { color: #111; opacity: 1; }

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

/* ===== KARTICA ČLANKA ===== */
.card {
  border: 0.5px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

/* naslovna fotografija — crno-bijela */
.card__foto {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
  flex-shrink: 0;
}

.card__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.3s;
}
.card:hover .card__foto img {
  filter: grayscale(80%);
  transform: scale(1.02);
}

.card__foto-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.5rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 9px;
  background: #111;
  color: #fff;
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
}

/* share bar */
.card__share {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 0.5px solid #ebebeb;
  background: #f7f7f7;
}

.card__share-label {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-right: 4px;
  font-weight: 400;
}

.card__share-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 0.5px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s;
  filter: grayscale(100%);
  text-decoration: none;
}
.card__share-btn:hover {
  transform: scale(1.12);
  filter: grayscale(0%);
  opacity: 1;
}

/* body kartice */
.card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 12px;
  flex: 1;
  color: #111;
}
.card__title em { font-style: italic; }

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 0.5px solid #ebebeb;
  margin-top: auto;
}

.card__meta {
  font-size: 0.65rem;
  color: #aaa;
  font-weight: 300;
}

.card__citaj {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  padding: 0;
}
.card__citaj:hover { color: #111; }

/* ===== SINGLE ČLANAK ===== */
.single-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.single-article__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid #e5e5e5;
}

.single-article__tag {
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
  font-weight: 400;
}

.single-article__title {
  font-size: 2.6rem;
  margin-bottom: 12px;
  line-height: 1.15;
}
.single-article__title em { font-style: italic; }

.single-article__meta {
  font-size: 0.7rem;
  color: #aaa;
  font-weight: 300;
}

/* naslovna crno-bijela */
.single-article__cover {
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 10px;
  background: #f0f0f0;
}

.single-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* share bar u članku */
.single-article__share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid #e5e5e5;
}

.single-article__share-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 400;
}

/* sadržaj članka */
.single-article__content {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
  font-weight: 300;
}

.single-article__content p { margin-bottom: 1.5rem; }

.single-article__content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

/* fotografije unutar članka — u boji */
.single-article__content img,
.article-photo {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0 0.5rem;
  /* NEMA filter: grayscale — fotografije u članku su u boji */
}

.article-photo-caption {
  font-size: 0.75rem;
  color: #aaa;
  font-style: italic;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: #f7f7f7;
  padding: 60px 24px;
  text-align: center;
}

.newsletter__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 10px;
}
.newsletter__title em { font-style: italic; }

.newsletter__desc {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.7;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter__form input[type="email"] {
  flex: 1;
  border: 0.5px solid #ccc;
  background: #fff;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  color: #111;
  outline: none;
}
.newsletter__form input::placeholder { color: #bbb; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 24px;
  border-top: 0.5px solid #e5e5e5;
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.site-footer__copy {
  font-size: 0.65rem;
  color: #aaa;
  font-weight: 300;
}

/* ===== SIDEBAR ===== */
.sidebar__widget {
  margin-bottom: 40px;
}

.sidebar__title {
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 16px;
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 0.5px solid #e5e5e5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__featured { display: none; }
  .rubrike__grid { grid-template-columns: repeat(2, 1fr); }
  .clanci__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  h1 { font-size: 2.2rem; }
  .clanci__grid { grid-template-columns: 1fr; }
  .rubrike__grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter__form { flex-direction: column; }
  .single-article__cover { height: 240px; }
}
