
:root {
  --bg-dark: #111;
  --card-dark: #1a1a1a;
  --accent: #e91e63;
  --text-light: #eee;
  --text-muted: #aaa;
  --max-width: 1100px;
}


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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: .03em;
}

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


.header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-linkovi {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-linkovi a:hover {
  color: var(--accent);
}


.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 0 1rem;
  background-image: url('slike/moda3.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  background-color: rgba(0, 0, 0, 0.55);
}

.hero-sadrzaj h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.gumb {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  border: 2px solid var(--accent);
  border-radius: 30px;
  transition: background .3s;
}



.info {
  max-width: var(--max-width);
  margin: 2.5rem auto;
  padding: 0 1rem;
}


.box {
  background: var(--card-dark);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity .7s ease, transform .7s ease;
}

.box.show {
  opacity: 1;
  transform: translateX(0);
}


.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.timeline-section {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 1rem;
}

.timeline-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--accent);
  transform: translateX(-50%);
}

.timeline li {
  position: relative;
  width: 50%;
  padding: 2rem 2rem 2rem 3rem;
  list-style: none;
  opacity: 0;
  transform: translateY(50px);
  transition: all .6s ease;
}

.timeline li:nth-child(odd) {
  left: 0;
  text-align: right;
  padding: 2rem 3rem 2rem 2rem;
}

.timeline li:nth-child(even) {
  left: 50%;
}

.timeline li.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline li .content {
  background: var(--card-dark);
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,.5);
}

.timeline li .content::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 15px;
  height: 15px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-dark);
}

.timeline li:nth-child(odd) .content::after {
  right: -40px;
}

.timeline li:nth-child(even) .content::after {
  left: -40px;
}

.timeline .tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}


.img {
  width: 400px;
  height: 450px;
  padding-right: 40px;
  padding-top: 20px;
}



@media (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }

  .timeline li {
    width: 100%;
    left: 0 !important;
    padding-left: 2.5rem;
    padding-right: 1rem;
    text-align: left !important;
  }

  .timeline li .content::after {
    left: -30px !important;
  }
}