@font-face {
  font-family: "kamik";
  src: url(assets/kamik.TTF);
}

@font-face {
  font-family: "dobra";
  src: url(assets/Dobra-Book.ttf);
}

@font-face {
  font-family: "dobrabold";
  src: url(assets/Dobra-Bold.ttf);
}

:root {
  --black: #000000;
  --white: #ffffff;
  --green: #00ff00;
  --font-display: "kamik", sans-serif;
  --font-body: "dobra", sans-serif;
}

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

b {
  font-family: "dobrabold";
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-links {
  /* desktop: shown */
}

nav ul li a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
nav ul li a:hover {
  color: var(--green);
}
nav ul li a.active {
  color: var(--green);
}
nav ul li a.cta {
  font-weight: 700;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 4px 14px;
  transition:
    background 0.2s,
    color 0.2s;
}
nav ul li a.cta:hover {
  background: var(--white);
  color: var(--black);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.25s,
    opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  background: var(--black);
  border-top: 1px solid #222;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.nav-drawer.open {
  max-height: 500px;
}
.nav-drawer ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 0 20px;
}
.nav-drawer ul li {
  width: 100%;
}
.nav-drawer ul li a {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  border-bottom: 1px solid #1a1a1a;
}
.nav-drawer ul li:last-child a {
  border-bottom: none;
  border: 1px solid var(--white);
  margin: 12px 24px 4px;
  width: calc(100% - 48px);
  text-align: center;
  padding: 10px 14px;
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 59px);
  background: var(--white);
  display: grid;
  grid-template-columns: 0.98fr 1.1fr;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  gap: 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.krug {
  max-width: 560px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-evenly;
  z-index: 2;
  height: 100%;
}

.hlogo {
  display: flex;
  gap: 1rem;
}

.leadbox {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.crni_krug {
  width: 57px;
  height: 57px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 7vw, 110px);
  line-height: 0.95;
  color: var(--black);
  text-transform: uppercase;
  width: 100%;
  text-align: right;
}
.hero-title .green {
  color: var(--green);
}

.lead {
  color: #000;
  font-family: "dobra";
  font-size: 35.133px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── SECTION STRIPS ── */
.strip-green {
  background: var(--green);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.2s;
}
.strip-green:hover {
  filter: brightness(1.1);
}
.strip-green a {
  font-family: "dobrabold";
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  text-decoration: none;
}

/* ── O KONFERENCIJI ── */
.about {
  background: var(--black);
  padding: 80px 0;
  color: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}
.about-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.about-bullet {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.about-bullet img {
  width: 57px;
  height: 57px;
  flex-shrink: 0;
}
.about-bullet p {
  width: 80%;
  max-width: 490px;
  font-size: 22px;
  line-height: 1.6;
  color: var(--white);
}
.about-bullet p .green {
  color: var(--green);
}

/* ── PROGRAM ── */
.program {
  background: var(--white);
  padding: 80px 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 110px);
  line-height: 1;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: center;
}

/* 3-column program grid: [hall label] [time] [content] */
.schedule {
  display: grid;
  grid-template-columns: 350px 155px 1fr;
  align-items: start;
  padding: 0 60px;
}

.s-hall {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 10px;
}
.hall-dot {
  width: 57px;
  height: 57px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hall-dot.green-dot {
  background: var(--green);
}
.hall-dot.black-dot {
  background: var(--black);
}
.hall-label {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-family: "dobrabold";
}

.s-time {
  font-size: 22px;
  font-weight: 400;
  color: #444;
  white-space: nowrap;
  padding: 10px 20px 20px 0;
  line-height: 1.5;
}

.s-content {
  padding: 8px 0 20px;
}
.s-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}
.s-desc {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.7;
  color: #333;
  margin-top: 8px;
}
.s-desc strong {
  font-weight: 700;
  color: #000;
}

/* empty left cell for rows without a hall label */
.s-empty {
  padding: 0;
}

/* spacer row between hall blocks */
.s-spacer {
  grid-column: 1 / -1;
  height: 40px;
  border-top: 1px solid #e0e0e0;
  margin: 10px 0;
}

/* ── PREDAVAČI ── */
.speakers {
  background: var(--black);
  padding: 80px 100px;
}
.speakers .section-title {
  color: var(--white);
}

.speakers-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-top: 8rem;
}
.speaker-card {
  display: flex;
  gap: 2rem;
  align-items: stretch;

  justify-content: flex-start;
  width: 100%;
  max-width: 1277px;
  margin: 0 auto;
}
.speaker-img-wrap {
  width: 30%;
  display: flex;
}
.speaker-img-wrap img {
  width: 100%;
  max-width: 327px;
  height: auto;
  display: block;
  object-fit: contain;
}
.speaker-name {
  color: #0f0;
  font-family: "dobrabold";
  font-size: 47.011px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%; /* 58.764px */
  text-transform: uppercase;
  margin-top: 1rem;
}
.speaker-title {
  color: #fff;
  font-family: "dobra";
  font-size: 32.114px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%; /* 40.143px */
  margin-top: 0.4rem;
}

.speaker-text {
  color: #fff;
  text-align: justify;
  font-family: "dobra";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%; /* 30px */
  margin-top: 4.8rem;
}

.speaker-desc {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  width: 70%;
}

/* ── KONTAKT ── */
.contact {
  background: var(--white);
  padding: 120px 0;
}
.contact .section-title {
  margin-bottom: 0;
  transform: translateY(-15px);
}
.contact-strip {
  background: var(--green);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.contact-strip a {
  font-size: 22px;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
}
.contact-strip a:hover {
  text-decoration: underline;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 50px 100px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  line-height: 1;
}
.footer-brand .green {
  color: var(--green);
}
.footer-links {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}
.footer-links a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-logo img {
  height: 50px;
  filter: invert(1);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.anim {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.anim-d1 {
  animation-delay: 0.1s;
}
.anim-d2 {
  animation-delay: 0.25s;
}
.anim-d3 {
  animation-delay: 0.4s;
}
.anim-d4 {
  animation-delay: 0.55s;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — tablet (max 1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .schedule {
    grid-template-columns: 240px 130px 1fr;
    padding: 0 30px;
  }
  .hall-label {
    font-size: 24px;
  }
  .hall-dot {
    width: 40px;
    height: 40px;
  }
  .s-time {
    font-size: 17px;
  }
  .s-title {
    font-size: 18px;
  }
  .s-desc {
    font-size: 17px;
  }
  .about-inner {
    padding: 0 30px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — mobile (max 768px)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* NAV */
  .nav-inner {
    padding: 0 20px;
  }
  .nav-links {
    display: none; /* hidden, replaced by drawer */
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-drawer {
    display: block;
  }

  /* HERO — single column, stacked */
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 20px 40px;
    min-height: auto;
    gap: 20px;
  }
  .hero-left {
    gap: 20px;
  }
  .krug {
    max-width: 100%;
    width: 100%;
  }
  .hero-right {
    align-items: center;
    height: auto;
    gap: 16px;
  }
  .hero-title {
    font-size: clamp(52px, 14vw, 72px);
    text-align: left;
  }
  .lead {
    font-size: 22px;
  }
  .crni_krug {
    width: 36px;
    height: 36px;
  }
  .leadbox {
    gap: 12px;
  }

  /* ABOUT */
  .about {
    padding: 40px 0;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 20px;
  }
  .about-bullet img {
    width: 36px;
    height: 36px;
  }
  .about-bullet p {
    font-size: 16px;
    width: 100%;
    max-width: none;
  }

  /* PROGRAM SECTION */
  .program {
    padding: 40px 0;
  }
  .section-title {
    font-size: clamp(48px, 13vw, 72px);
    margin-bottom: 32px;
  }

  /* ── SCHEDULE: 2-column on mobile ──
     Col 1: time  |  Col 2: content
     Hall rows span full width as headers
  */
  .schedule {
    grid-template-columns: 100px 1fr;
    padding: 0;
    gap: 0;
  }

  /* Hide the empty left-column spacer cell */
  .s-empty {
    display: none;
  }

  /* Hall label: full-width header strip */
  .s-hall {
    grid-column: 1 / -1;
    background: var(--black);
    color: var(--white);
    padding: 14px 16px;
    gap: 10px;
    margin: 8px 0 0;
  }
  .hall-dot {
    width: 28px;
    height: 28px;
  }
  .hall-label {
    font-size: 18px;
    color: var(--white);
  }

  /* Time column */
  .s-time {
    font-size: 12px;
    color: #555;
    padding: 10px 8px 10px 16px;
    line-height: 1.4;
    white-space: normal; /* allow wrapping on narrow screens */
    border-bottom: 1px solid #f0f0f0;
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    padding-top: 12px;
  }

  /* Content column */
  .s-content {
    padding: 10px 16px 10px 10px;
    border-bottom: 1px solid #f0f0f0;
  }
  .s-title {
    font-size: 15px;
    line-height: 1.4;
  }
  .s-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 6px;
  }

  /* Intro rows (Registracija / Uvodni govori) — no hall, no .s-empty */
  /* They already use .s-empty (hidden) + .s-time + .s-content = 2-col */

  /* Spacer between halls */
  .s-spacer {
    grid-column: 1 / -1;
    height: 24px;
    border-top: none;
    margin: 0;
  }

  /* STRIPS */
  .strip-green a {
    font-size: 16px;
  }

  /* SPEAKERS */
  .speakers {
    padding: 40px 20px;
  }
  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .speaker-card {
    flex-direction: column;
    justify-content: flex-start;
  }
  .speaker-img-wrap,
  .speaker-desc {
    width: 100%;
  }

  .speaker-text {
    margin-top: 1rem;
  }

  /* KONTAKT */
  .contact {
    padding: 40px 0;
  }
  .contact-strip {
    flex-direction: column;
    height: auto;
    padding: 16px 20px;
    gap: 8px;
    text-align: center;
  }
  .contact-strip .section-title {
    font-size: 48px;
    transform: none;
    margin-bottom: 0;
  }
  .contact-strip a {
    font-size: 16px;
  }

  /* FOOTER */
  footer {
    grid-template-columns: 1fr;
    padding: 36px 20px 28px;
    text-align: center;
    gap: 24px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — small mobile (max 400px)
   ═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .schedule {
    grid-template-columns: 88px 1fr;
  }
  .s-time {
    font-size: 11px;
    padding-left: 12px;
  }
  .s-title {
    font-size: 14px;
  }
  .s-desc {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-left,
  .hero-right {
    display: contents;
  }

  .hlogo {
    order: 1;
  }

  .hero-title {
    order: 2;
  }

  .krug {
    order: 3;
  }

  .hero-left .leadbox {
    order: 4;
  }

  .hero-right .leadbox {
    order: 5;
    align-self: flex-end;
  }
  .speaker-name {
    font-size: 30px;
  }
  .speaker-title {
    font-size: 20px;
    margin-top: 0;
  }
  .speaker-text {
    font-size: 18px;
  }
}
