/*
Theme Name:       Vesna — SEO Konsultant
Theme URI:        https://www.vesnavujinovic.com/
Author:           Vesna Vujinović
Author URI:       https://www.vesnavujinovic.com/
Description:      Luksuzna tamna tema portfolija za SEO konsultanta. Playfair Display naslovi, zlatni akcenti #C9A879, crna pozadina #000000. Uključuje početnu stranicu (front-page.php) i kontakt stranicu sa formom (page-kontakt.php, Template Name: Kontakt).
Version:          1.0.0
License:          GNU General Public License v2 or later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:      vesna
*/

/* ============================================================
   VESNA VUJINOVIĆ — SEO KONSULTANT
   Paleta:
   #000000  osnovna pozadina (hero i ceo sajt)
   #C9A879  zlatna — CTA dugmad, logotip, akcenti
   #F3EEE5  topla bela — veliki naslovi i važan tekst
   #111111  sekundarna crna — kartice i pojedine sekcije
   #B8B5B0  siva — opisi i prateći tekst
   #292929  tamnosiva — tanke linije i ivice kartica
   ============================================================ */

:root {
  --black: #000000;
  --black-2: #111111;
  --gold: #C9A879;
  --gold-soft: rgba(201, 168, 121, 0.35);
  --warm-white: #F3EEE5;
  --gray: #B8B5B0;
  --line: #292929;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--gray);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

::selection { background: var(--gold); color: var(--black); }

/* ---------- Tipografija ---------- */

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--warm-white);
  font-weight: 500;
  line-height: 1.32;
}

.h2 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: 0.2px; }
.h2--xl { font-size: clamp(34px, 5vw, 62px); }

.gold { color: var(--gold); font-style: italic; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.eyebrow__line {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.eyebrow--center { justify-content: center; }

.prose p { margin-bottom: 22px; max-width: 46em; }
.prose__highlight {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--warm-white);
  font-style: italic;
}
.prose__strong { color: var(--warm-white); font-weight: 400; }

/* ---------- Dugmad ---------- */

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline {
  border-color: var(--gold-soft);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover { border-color: var(--gold); background: rgba(201, 168, 121, 0.08); }

.btn--lg { padding: 18px 42px; }

.center { text-align: center; margin-top: 56px; }

/* ---------- Navigacija ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.nav__logo img { height: 40px; width: auto; }

.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav__links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav__links a:hover { color: var(--warm-white); }
.nav__links a.is-active { color: var(--gold); border-color: var(--gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 26px; height: 1.5px;
  background: var(--warm-white);
  transition: transform 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(201, 168, 121, 0.07), transparent 60%),
    var(--black);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero__title {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.26;
  margin-bottom: 40px;
}

.hero__lead {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-style: italic;
  color: var(--warm-white);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero__strong { color: var(--warm-white); font-weight: 400; margin-bottom: 24px; }
.hero__text { margin-bottom: 36px; max-width: 34em; }

.hero__meta {
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--gray);
}

.hero__visual { position: relative; }

.hero__frame {
  position: relative;
  border: 1px solid var(--gold-soft);
  padding: 14px;
}
.hero__frame::after {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--line);
  z-index: -1;
}
.hero__frame img { width: 100%; }

.hero__badge {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 190px;
  padding: 18px 20px;
  background: var(--black);
  border: 1px solid var(--gold-soft);
}
.hero__badge img { height: 40px; width: auto; object-fit: contain; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--gold);
  animation: scrollDot 2s infinite var(--ease);
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Sekcije ---------- */

.section { padding: 120px 0; }
.section--alt { background: var(--black-2); }

.section__narrow { max-width: 820px; margin-inline: auto; text-align: center; }
.section__narrow .h2 { margin-bottom: 40px; }
.section__narrow .prose p { margin-inline: auto; }
.section__narrow .btn { margin-top: 14px; }

.section__head { max-width: 780px; margin-bottom: 64px; }
.section__lead { margin-top: 34px; max-width: 44em; }
.section__lead strong { color: var(--warm-white); font-weight: 400; }

.rule { border: none; border-top: 1px solid var(--line); }

.section__quote {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--warm-white);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

/* ---------- CTA red (analiza) ---------- */

.cta-row {
  margin-top: 64px;
  padding: 48px;
  border: 1px solid var(--line);
  text-align: center;
  background: var(--black);
}
.section--alt .cta-row { background: var(--black); }

.cta-row__text {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 24px);
  color: var(--warm-white);
  max-width: 34em;
  margin: 0 auto 28px;
}
.cta-row__note { margin-top: 18px; font-size: 13px; letter-spacing: 0.08em; }

/* ---------- Kartice (analiza) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--black);
  border: 1px solid var(--line);
  padding: 38px 30px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: var(--gold-soft); transform: translateY(-6px); }

.card__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.card__title { font-size: 21px; margin: 22px 0 16px; }
.card__text { font-size: 15.5px; }

/* ---------- Koraci (pristup) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.step { border-top: 1px solid var(--line); padding-top: 28px; transition: border-color 0.35s var(--ease); }
.step:hover { border-color: var(--gold); }

.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 34px;
  color: var(--gold);
}
.step__title { font-size: 20px; margin: 18px 0 12px; }
.step__text { font-size: 15.5px; }

/* ---------- Projekti ---------- */

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project {
  background: var(--black);
  border: 1px solid var(--line);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.project:hover { border-color: var(--gold-soft); transform: translateY(-6px); }

.project__num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.1em;
}
.project__title { font-size: 24px; margin: 24px 0 10px; }
.project__tag {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.project__text { font-size: 15.5px; margin-bottom: 16px; }
.project__focus { font-size: 14px; color: var(--gray); border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }

/* ---------- O meni ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.about__frame {
  border: 1px solid var(--gold-soft);
  padding: 14px;
  position: relative;
}
.about__frame::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  z-index: -1;
}

.about__content .prose { margin: 34px 0 38px; }

/* ---------- Saradnja — timeline ---------- */

.timeline {
  list-style: none;
  max-width: 780px;
  margin-inline: auto;
  counter-reset: step;
}

.timeline__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.timeline__item:first-child { border-top: 1px solid var(--line); }

.timeline__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  line-height: 1.2;
}

.timeline__title { font-size: 21px; margin-bottom: 8px; }
.timeline__text { font-size: 15.5px; max-width: 36em; }

/* ---------- Završni CTA ---------- */

.cta-final {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(201, 168, 121, 0.08), transparent 65%),
    var(--black);
}

/* ---------- Kontakt ---------- */

.contact-row {
  display: flex;
  justify-content: center;
  gap: 20px 56px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.contact-item {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.2vw, 26px);
  color: var(--warm-white);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 6px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-item:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Kontakt stranica ---------- */

.page-head {
  padding: 190px 0 90px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(201, 168, 121, 0.07), transparent 65%),
    var(--black);
}
.page-head .h2 { margin-bottom: 36px; }
.page-head .prose p { margin-inline: auto; }

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact__text { margin: 22px 0 40px; max-width: 30em; }

.info-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }

.info-card {
  display: block;
  text-decoration: none;
  background: var(--black-2);
  border: 1px solid var(--line);
  padding: 22px 28px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.info-card:hover { border-color: var(--gold-soft); transform: translateX(6px); }

.info-card__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.info-card__value {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--warm-white);
}

.contact__visual { max-width: 400px; }

.contact__form .h2 { margin-bottom: 36px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form__group { margin-bottom: 24px; }

.form__group label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 10px;
}

.form__req { color: var(--gold); }

.form__group input,
.form__group textarea {
  width: 100%;
  background: var(--black-2);
  border: 1px solid var(--line);
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  padding: 15px 18px;
  transition: border-color 0.3s var(--ease);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(184, 181, 176, 0.5); }
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form__group textarea { resize: vertical; min-height: 140px; }

.form__submit { margin-top: 8px; }
.form__note { margin-top: 18px; font-size: 13.5px; line-height: 1.6; }

/* ---------- Responsive: kontakt ---------- */

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; gap: 64px; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .page-head { padding: 150px 0 64px; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer__logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer__role { font-family: var(--font-serif); font-size: 19px; color: var(--warm-white); margin-bottom: 8px; }
.footer__tags { font-size: 13.5px; letter-spacing: 0.06em; }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.footer__contact a {
  color: var(--warm-white);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s var(--ease);
}
.footer__contact a:hover { color: var(--gold); }

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 48px;
  align-content: start;
}
.footer__links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 13.5px;
}

.footer__up {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  text-decoration: none;
  font-size: 18px;
  transition: border-color 0.3s var(--ease);
}
.footer__up:hover { border-color: var(--gold); }

/* ---------- Reveal animacija ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .hero__grid { gap: 56px; }
}

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__links {
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }

  .hero { padding-top: 130px; }
  .hero__grid, .about__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .hero__badge { right: -10px; bottom: -20px; width: 160px; }
  .about__visual { max-width: 420px; margin-inline: auto; order: -1; }
  .section { padding: 88px 0; }
  .cta-row { padding: 36px 24px; }
  .timeline__item { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr; }
}
