/* ================================================================
   pogled.site — Lifestyle & Zabava stylesheet
   ================================================================ */

:root {
  --ink:        #1a1a18;
  --paper:      #f7f4ef;
  --cream:      #ede9e1;
  --accent:     #c0392b;
  --accent-h:   #a93226;
  --muted:      #7a7670;
  --rule:       #d4cfc6;
  --max:        1140px;
  --col:        700px;
  --radius:     3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── UTILITY ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; gap: 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900; letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-list {
  display: flex; gap: 18px; list-style: none; flex-wrap: nowrap;
}
.nav-list a {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s; white-space: nowrap;
}
.nav-list a:hover,
.nav-list a.active { color: var(--ink); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ticker uklonjen */

/* ── HERO ── */
.hero {
  background: var(--ink); color: var(--paper); overflow: hidden;
}
.hero-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 500px;
}
.hero-text {
  padding: 56px 44px 56px 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900; line-height: 1.12; margin-bottom: 18px;
}
.hero-excerpt {
  font-size: 16.5px; line-height: 1.65;
  color: #b0aca6; margin-bottom: 30px; max-width: 400px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 12px 22px; border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  width: fit-content;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; }

.hero-img {
  overflow: hidden; position: relative;
}
.hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.82; transition: transform 0.7s ease;
}
.hero-img:hover img { transform: scale(1.04); }

/* ── MAIN WRAP ── */
.main-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 56px 24px;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 56px; align-items: start;
}

/* ── SECTION HEADER ── */
.section-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700;
  white-space: nowrap;
}
.section-head::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

/* ── FEATURED CARD ── */
.card-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding-bottom: 36px; margin-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.card-featured .thumb { aspect-ratio: 4/3; }
.card-featured .card-body { display: flex; flex-direction: column; justify-content: center; }
.card-featured .card-title { font-size: 26px; }
.card-featured .card-excerpt { font-size: 16px; }

/* ── CARD GRID ── */
.cards-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.card {
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.cards-grid .card:nth-child(odd)  { padding-right: 26px; border-right: 1px solid var(--rule); }
.cards-grid .card:nth-child(even) { padding-left: 26px; }

.thumb {
  overflow: hidden; border-radius: var(--radius);
  margin-bottom: 15px; background: var(--cream);
  aspect-ratio: 16/9; display: block;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .thumb img,
.card-featured:hover .thumb img { transform: scale(1.05); }

.card-cat {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 7px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 9px;
  transition: color 0.2s;
}
.card:hover .card-title,
.card-featured:hover .card-title,
a:hover .card-title { color: var(--accent); }
.card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.card-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.meta-dot { color: var(--rule); }

/* ── PAGINATION ── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule);
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--rule); transition: all 0.2s;
}
.pagination a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination .active { background: var(--accent); color: white; border-color: var(--accent); }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 78px; }
.sidebar-widget { margin-bottom: 36px; }
.sidebar-widget .section-head { margin-bottom: 20px; }

.ad-slot {
  background: var(--cream); border: 1px dashed var(--rule);
  min-height: 260px; display: flex; align-items: center;
  justify-content: center; border-radius: var(--radius);
  color: var(--muted); font-size: 12px; text-align: center;
  flex-direction: column; gap: 8px; padding: 16px;
}

.popular-list { list-style: none; }
.popular-item {
  display: flex; gap: 13px;
  padding: 13px 0; border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}
.popular-item:last-child { border-bottom: none; }
.pop-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900;
  color: var(--rule); line-height: 1; min-width: 26px;
}
.pop-title {
  font-family: 'Playfair Display', serif;
  font-size: 14.5px; font-weight: 700; line-height: 1.35;
  transition: color 0.2s;
}
.popular-item:hover .pop-title { color: var(--accent); }

.cat-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.cat-pill {
  background: var(--cream); border: 1px solid var(--rule);
  padding: 6px 13px; border-radius: var(--radius);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.2s;
}
.cat-pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── ARTICLE PAGE ── */
.article-hero {
  background: var(--ink); color: var(--paper);
  padding: 56px 24px;
}
.article-hero-inner {
  max-width: var(--col); margin: 0 auto; text-align: center;
}
.article-hero .card-cat { font-size: 12px; margin-bottom: 18px; }
.article-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900; line-height: 1.1; margin-bottom: 20px;
}
.article-hero .lead {
  font-size: 17.5px; line-height: 1.7; color: #b0aca6; margin-bottom: 24px;
}
.article-meta { font-size: 13px; color: #7a7670; }

.article-cover {
  max-width: var(--col); margin: 0 auto;
  padding: 0 24px;
}
.article-cover img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius); margin-top: 36px;
}

.article-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 48px 24px;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 56px; align-items: start;
}

.article-body {
  font-size: 18px; line-height: 1.8;
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  margin: 40px 0 16px; line-height: 1.25;
}
.article-body p { margin-bottom: 22px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }
.article-img {
  margin: 36px -20px; border-radius: var(--radius); overflow: hidden;
}
.article-img img { width: 100%; }
.ad-inline { margin: 36px 0; padding: 4px 0; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* RELATED */
.related-section {
  border-top: 1px solid var(--rule); padding-top: 40px; margin-top: 40px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--ink); color: var(--paper);
  padding: 48px 24px; text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px); font-weight: 900; margin-bottom: 10px;
}
.page-hero p { color: #9e9a94; font-size: 16px; }

/* ── STATIC PAGES ── */
.static-wrap {
  max-width: var(--col); margin: 56px auto; padding: 0 24px;
}
.static-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 900; margin-bottom: 28px; line-height: 1.15;
}
.static-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; margin: 36px 0 14px;
}
.static-wrap p { margin-bottom: 20px; color: var(--ink); }
.static-wrap ul { padding-left: 24px; margin-bottom: 20px; }
.static-wrap li { margin-bottom: 8px; }
.static-wrap a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── CONTACT FORM ── */
.contact-form { margin-top: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 14px;
  font-family: inherit; font-size: 16px;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--cream); color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── NEWSLETTER ── */
.newsletter-strip {
  background: var(--ink); color: var(--paper);
  padding: 60px 24px; text-align: center;
}
.nl-inner { max-width: 500px; margin: 0 auto; }
.newsletter-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 900; margin-bottom: 10px;
}
.newsletter-strip p { color: #9e9a94; margin-bottom: 26px; }
.nl-form { display: flex; gap: 0; }
.nl-form input {
  flex: 1; padding: 13px 16px; font-family: inherit; font-size: 15px;
  border: none; background: rgba(255,255,255,0.09); color: var(--paper);
  border-radius: var(--radius) 0 0 var(--radius); outline: none;
}
.nl-form input::placeholder { color: #5e5a53; }
.nl-form button {
  padding: 13px 20px; background: var(--accent); color: white; border: none;
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; transition: background 0.2s;
}
.nl-form button:hover { background: var(--accent-h); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--rule); padding: 48px 24px 0;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; gap: 48px; flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .logo { font-size: 22px; margin-bottom: 10px; display: inline-block; }
.footer-brand p { font-size: 14px; color: var(--muted); }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-cols div h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; margin-bottom: 14px;
}
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 22px 0; margin-top: 40px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--ink); }

/* ── SUCCESS MESSAGE ── */
.form-success {
  background: #edf7ed; border: 1px solid #a8d5a8;
  color: #2d6a2d; padding: 16px 20px; border-radius: var(--radius);
  font-size: 15px; margin-top: 16px; display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .main-wrap, .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { min-height: 280px; }
  .card-featured { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 16px 24px; z-index: 199;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a { display: block; padding: 10px 0; font-size: 14px; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid .card:nth-child(odd)  { padding-right: 0; border-right: none; }
  .cards-grid .card:nth-child(even) { padding-left: 0; }
  .nl-form { flex-direction: column; }
  .nl-form input, .nl-form button { border-radius: var(--radius); }
  .related-grid { grid-template-columns: 1fr; }
  .article-img { margin: 28px 0; }
  .footer-bottom { flex-direction: column; }
}
