@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* =========================
   GLOBAL / RESET
========================= */
* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

h1,
p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   NAV / HERO
========================= */
.nav {
  max-width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* pomembno za poravnavo */
}

.odzadje {
  background-image: url(sdadsadasd.png);
  max-width: 100%;
  height: 1180px;
  background-size: cover;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: px;
  margin-left: 50px; /* isto kot prej navnapis */
}

.nav-logo {
  width: 42px;
  height: auto;
  display: block;
}

.navnapis {
  color: white;
  margin: 0; /* odstrani stari margin */
  font-size: 25px;
}

/* Button (Urgent Help / Reach out) */
.urgent-btn {
  margin: 0px 50px 0 0;
  background-color: #ff6b6b;
  color: #2b2b2b;
  border: 1px solid transparent;
  padding: 17px 10px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.urgent-btn:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

.prvinapis {
  margin: 60px 0 0 50px;
  max-width: 800px;
  min-height: 600px;
}

.omes {
  max-width: 400px;
}

.prvi {
  color: white;
  font-size: 80px;
}

.drugi {
  color: white;
  font-size: 32px;
}

.tretji {
  color: white;
  font-weight: 700;
  margin-bottom: 20px;
}

/* =========================
   SECTION: DRUGAS (Services + Cards)
========================= */
.drugas {
  background-color: #141416;
  min-height: 1010px;
  max-width: 100%;
}

.sekcija1 {
  margin: 0 50px;
}

.boxi {
  display: flex;
  position: relative;
  bottom: 80px;
}

/* Left box */
.box1 {
  width: 40%;
  min-height: 1008px;
  background-image: url(slika2.jpg);
  background-size: cover;
  border: 1px solid rgb(112, 112, 112);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.btext {
  position: relative;
  bottom: 70px;
  max-width: 280px;
  min-height: 400px;
  line-height: 1.6;
}

.naslov_btext {
  color: white;
}

.barva1 {
  color: rgba(255, 255, 255, 0.4);
}

/* Right box */
.box2 {
  width: 60%;
  min-height: 1008px;
  background: #141416;
  border: 1px solid rgb(112, 112, 112);
  border-left: none;
  position: relative;
}

/* Cards layout */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: min(450px, 90%);
  margin: 0 auto;
  padding-top: 40px;
  align-items: start;
}

/* Single card */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 22px 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Card icons */
.card-icon1,
.card-icon2,
.card-icon3,
.card-icon4 {
  width: 30px;
  height: 30px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-icon1 {
  border-radius: 10px;
  background-image: url(icon1-removebg-preview.png);
}

.card-icon2 {
  border-radius: 10px;
  background-image: url(icon2-removebg-preview.png);
}

.card-icon3 {
  background-image: url(icon3_drug-removebg-preview.png);
}

.card-icon4 {
  border-radius: 10px;
  background-image: url(icon4-removebg-preview.png);
  margin-bottom: 3px;
}

/* Card text */
.card-title {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(170, 190, 255, 0.95);
}

.card-strong {
  margin: 0 0 10px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.card-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.4);
}

.card-line {
  margin-top: 16px;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 20px;
}

/* Card offsets */
.c1 {
  transform: translateY(-20px);
}
.c2 {
  transform: translateY(20px);
}
.c3 {
  transform: translateY(0px);
}
.c4 {
  transform: translateY(60px);
}

.c1:hover {
  transform: translateY(calc(-20px - 6px));
}
.c2:hover {
  transform: translateY(calc(20px - 6px));
}
.c3:hover {
  transform: translateY(calc(0px - 6px));
}
.c4:hover {
  transform: translateY(calc(60px - 6px));
}

/* =========================
   SECTION: TRETJAS (Help + Stats)
========================= */
.tretjas {
  background-color: #141416;
  min-height: 700px;
}

.sekcija_box {
  margin: 0px 50px;
}

.boxa_3 {
  height: 700px;
  display: flex;
  position: relative;
  bottom: 82px;
}

/* Left help box */
.levi {
  background-image: url(rdeca\ slika.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  height: 700px;
  width: 50%;
  border: 1px solid rgb(112, 112, 112);
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.levi-content {
  padding: 80px;
  max-width: 560px;
}

.help-title {
  color: white;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 15px;
}

.help-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 30px;
}

.help-questions p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Right help box */
.desni {
  background-color: #141416;
  height: 700px;
  width: 50%;
  border: 1px solid rgb(112, 112, 112);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desni-content {
  padding: 80px;
  max-width: 640px;
}

.desni-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 22px;
}

.help-btn {
  margin: 10px 50px 0 0;
  background-color: #ff6b6b;
  color: #2b2b2b;
  border: 1px solid transparent;
  padding: 17px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.help-btn:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

/* Stats section */
.stevilkes {
  background-image: url(bg2.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  height: 400px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stevilke-container {
  position: relative;
  display: flex;
  gap: 50px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 60px;
  font-weight: 500;
  color: #ff6b6b;
  margin-bottom: 10px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-bottom: 25px;
}

.stat-line {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* =========================
   SECTION: CETRTAS
========================= */
.cetrtas {
  background-color: #141416;
  min-height: 943px;
}

.sekcija_box_5 {
  margin: 0px 50px;
}

.box_5 {
  height: 200px;
  display: flex;
}

.ena,
.dva,
.tri,
.stiri,
.pet {
  height: 200px;
  width: 20%;
  border: 1px solid rgb(112, 112, 112);
  border-right: none;
}

.pet {
  border-right: 1px solid rgb(112, 112, 112);
}

.ena {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 14px;
  padding: 20px;
}

.box_5 > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* velikost logotipov */
.box_5 img {
  max-width: 70%;
  max-height: 160px;
  object-fit: contain;
  opacity: 0.8;
  transition: 0.3s ease;
}

/* hover efekt */
.box_5 img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.zadnasekcija {
  display: flex;
}

/* Left image */
.zleva {
  background-image: url(safer\ together\ brz\ text.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 650px;
  width: 60%;
  border: 1px solid rgb(112, 112, 112);
  border-right: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text_beu {
  color: white;
  font-weight: 900;
}

/* Right mission */
.zdesna {
  background-color: #141416;
  height: 650px;
  width: 40%;
  border: 1px solid rgb(112, 112, 112);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission {
  max-width: 420px;
  padding: 90px;
}

.mission-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.mission-btn {
  background-color: #ff6b6b;
  color: #111;
  border: none;
  padding: 20px 40px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.mission-btn:hover {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

/* =========================
   FOOTER
========================= */
.footer {
  background-color: #141416;
  padding: 30px 120px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px; /* podobno kot nav */
}

.footer-logo {
  width: 42px; /* isto kot .nav-logo */
  height: auto;
  display: block;
}

.footer-logo-text {
  color: white;
  font-size: 25px;
  letter-spacing: 1px;
}

.footer-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* =========================================================
   1) CARDS (preklop na 1 stolpec)
========================================================= */
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .c1,
  .c2,
  .c3,
  .c4 {
    transform: translateY(0);
  }

  .c1:hover,
  .c2:hover,
  .c3:hover,
  .c4:hover {
    transform: translateY(-6px);
  }
}

/* =========================================================
   2) DRUGAS (stack box1 + box2)
========================================================= */
@media (max-width: 940px) {
  .drugas {
    min-height: auto;
    padding-bottom: 40px;
  }

  .boxi {
    flex-direction: column;
    bottom: 0;
  }
  .odzadje{
    height: 1100px;
  }

  .box1,
  .box2 {
    width: 100%;
    min-height: auto;
  }

  .box1 {
    border-right: 1px solid rgb(112, 112, 112);
    border-bottom: none;
    background-position: center;
    padding: 60px 0;
  }

  .btext {
    bottom: 0;
    padding: 0 20px;
    max-width: 520px;
  }

  .box2 {
    border-left: 1px solid rgb(112, 112, 112);
    border-top: none;
    padding-bottom: 40px;
  }

  .cards {
    width: min(520px, 100%);
    padding: 30px 20px 0 20px;
  }
}

/* =========================================================
   3) STEVILKES (stack)
========================================================= */
@media (max-width: 960px) {
  .stevilkes {
    height: auto;
    padding: 60px 20px;
    align-items: center;
  }

  .stevilke-container {
    flex-direction: column;
    gap: 40px;
  }

  .stat-number {
    font-size: 48px;
    text-align: center;
  }

  .stat-line {
    width: 240px;
  }
}

/* =========================================================
   4) FIX overflow pri ~900px (tekst ne sme čez border)
========================================================= */
@media (max-width: 1050px) {
  .boxa_3 {
    flex-direction: column;
    height: auto;
  }

  .levi,
  .desni {
    width: 100%;
    height: auto;
    min-height: 520px;
  }

  .levi,
  .desni {
    border-right: 1px solid rgb(112, 112, 112);
    border-left: 1px solid rgb(112, 112, 112);
  }

  .desni {
    border-top: none; /* da ni dvojne črte med njima */
  }

  .levi-content,
  .desni-content {
    padding: 40px 24px;
    max-width: 560px;
    width: 100%;
  }

  .help-title {
    font-size: 28px;
  }

  .help-subtitle {
    font-size: 20px;
  }

  .help-questions p,
  .desni-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .levi-content,
  .desni-content,
  .desni-text,
  .help-questions p,
  .mission-text {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .mission {
    padding: 40px 28px;
    max-width: 520px;
    width: 100%;
  }

  .mission-text {
    font-size: 16px;
    line-height: 1.7;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* =========================================================
   5) MOBILE (768px)
========================================================= */
@media (max-width: 768px) {
  /* CONTAINERS */
  .sekcija1,
  .sekcija_box,
  .sekcija_box_5 {
    margin: 0 20px;
  }

  /* HERO */
  .odzadje {
    height: auto;
    min-height: 700px;
    padding-bottom: 60px;
    background-position: center;
  }

  .nav-left {
    margin-left: 20px;
  }

  .nav {
    height: auto;
    padding: 18px 0;
    align-items: center;
  }

  .urgent-btn {
    margin: 0 20px 0 0;
  }

  .prvinapis {
    margin: 30px 20px 0 20px;
    min-height: auto;
  }

  .prvi {
    font-size: 52px;
    line-height: 1.05;
  }

  .drugi {
    font-size: 22px;
  }

  .tretji {
    margin-bottom: 20px;
  }

  /* DRUGAS */
  .drugas {
    min-height: auto;
    padding-bottom: 40px;
  }

  .boxi {
    flex-direction: column;
    bottom: 0;
  }

  .box2 {
    width: 100%;
    min-height: auto;
  }

  .box1 {
    border-right: 1px solid rgb(112, 112, 112);
    border-bottom: none;
    background-position: center;
    padding: 20px 0 0 0;
    width: 100%;
    min-height: 380px;

  }

  .btext {
    bottom: 0;
    padding: 0 20px;
    max-width: 520px;
    min-height: 350px;
  }

  .box2 {
    border-left: 1px solid rgb(112, 112, 112);
    border-top: none;
    padding-bottom: 40px;
  }

  .cards {
    width: min(520px, 100%);
    padding: 30px 20px 0 20px;
  }

  /* TRETJAS */
  .tretjas {
    min-height: auto;
    padding-bottom: 40px;
  }

  .boxa_3 {
    flex-direction: column;
    height: auto;
    bottom: 0;
  }

  .levi,
  .desni {
    width: 100%;
    height: auto;
    min-height: 420px;
  }

  .levi {
    border-right: 1px solid rgb(112, 112, 112);
    border-bottom: none;
  }

  .desni {
    border-top: none;
  }

  .levi-content,
  .desni-content {
    padding: 25px 20px;
    max-width: 560px;
  }

  .help-title {
    font-size: 28px;
  }

  .help-subtitle {
    font-size: 20px;
  }

  .help-questions p,
  .desni-text {
    font-size: 16px;
    line-height: 1.6;
  }

  /* STEVILKES */
  .stevilkes {
    height: auto;
    padding: 60px 0;
    align-items: center;
  }

  .stevilke-container {
    flex-direction: column;
    gap: 35px;
  }

  .stat-number {
    font-size: 48px;
  }

  .stat-line {
    width: 240px;
  }

  /* CETRTAS */
  .cetrtas {
    min-height: auto;
    padding-bottom: 40px;
  }

  .box_5 {
    flex-wrap: wrap;
    height: auto;
  }

  .ena,
  .dva,
  .tri,
  .stiri,
  .pet {
    width: 50%;
    height: 120px;
    border-right: 1px solid rgb(112, 112, 112);
  }

  .zadnasekcija {
    flex-direction: column;
  }

  .zleva,
  .zdesna {
    width: 100%;
    height: auto;
    min-height: 420px;
  }

  .zleva {
    border-right: 1px solid rgb(112, 112, 112);
    border-bottom: none;
  }

  .mission {
    padding: 60px 20px;
  }

  /* FOOTER */
  .footer {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .pet {
    position: relative;
    left: 25%;
  }
}

/* =========================================================
   6) SMALL MOBILE (480px)
========================================================= */
@media (max-width: 480px) {
  .prvi {
    font-size: 42px;
  }

  .drugi {
    font-size: 18px;
  }

  .urgent-btn,
  .help-btn,
  .mission-btn {
    padding: 16px 18px;
    font-size: 15px;
  }

  .stat-number {
    font-size: 42px;
  }

  .stat-line {
    width: 200px;
  }
  .odzadje{
    min-height: 650px;
  }
}

/* =========================================================
   7) ULTRA SMALL (340px)
========================================================= */
@media (max-width: 340px) {
  .sekcija1,
  .sekcija_box,
  .sekcija_box_5 {
    margin: 0 14px;
  }

  .nav-left {
    margin-left: 14px;
  }

  .nav-logo {
    width: 30px;
  }

  .navnapis {
    font-size: 20px;
  }

  .urgent-btn {
    margin-right: 14px;
    padding: 14px 14px;
    font-size: 14px;
    border-radius: 6px;
  }

  .prvinapis {
    margin: 22px 14px 0 14px;
  }

  .prvi {
    font-size: 36px;
  }

  .drugi {
    font-size: 16px;
  }

  .help-title {
    font-size: 24px;
  }

  .help-subtitle {
    font-size: 18px;
  }

  .help-questions p,
  .desni-text,
  .mission-text {
    font-size: 15px;
  }

  .cards {
    padding-left: 14px;
    padding-right: 14px;
  }

  .card {
    padding: 18px 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-line {
    width: 180px;
  }

  .footer-logo-text {
    font-size: 20px;
  }
}