/* ========== OSNOVNO ========== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: #f4f7fa;
}

.section-label {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #123c66;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: #123c66;
}

.section-heading p {
  margin: 0;
  font-size: 1.03rem;
  color: #5d6b7a;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6ebf0;
  backdrop-filter: blur(8px);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo {
  height: 75px;
  width: auto;
}

.logo-fallback {
  font-weight: 800;
  font-size: 1.2rem;
  color: #123c66;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: #243647;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #123c66;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #123c66;
  border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #123c66;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.08;
  color: #123c66;
}

.hero-text {
  margin: 0 0 28px;
  max-width: 700px;
  font-size: 1.08rem;
  color: #4e5d6c;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #123c66;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 60, 102, 0.18);
}

.btn-primary:hover {
  background: #0f3456;
}

.btn-secondary {
  background: #ffffff;
  color: #123c66;
  border: 1px solid #ccd8e4;
}

.btn-secondary:hover {
  background: #f7fafc;
}

.btn-full {
  width: 100%;
}

.hero-card {
  background: #ffffff;
  border: 1px solid #e3eaf1;
  border-radius: 24px;
  padding: 34px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 22px 44px rgba(18, 60, 102, 0.08);
}

.hero-logo {
  max-width: 440px;
  width: 100%;
  height: auto;
}

.image-fallback {
  width: 100%;
  min-height: 280px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #123c66, #4f89bb);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
}

/* ========== O NAMA ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: start;
}

.about-cards {
  display: grid;
  gap: 18px;
}

.info-card,
.service-card,
.value-card,
.experience-card {
  background: #ffffff;
  border: 1px solid #e5ebf2;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(18, 60, 102, 0.05);
}

.info-card {
  padding: 26px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #123c66;
}

.info-card p {
  margin: 0;
  color: #5d6b7a;
}

/* ========== GRID KARTICE ========== */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.value-card {
  padding: 28px;
  height: 100%;
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf2f9;
  color: #123c66;
  font-size: 0.95rem;
  font-weight: 800;
}

.service-card h3,
.value-card h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  color: #123c66;
}

.service-card p,
.value-card p {
  margin: 0;
  color: #5d6b7a;
}

/* ========== ISKUSTVO ========== */
.experience-card {
  overflow: hidden;
}

.experience-image {
  min-height: 180px;
}

.placeholder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #123c66, #3d6d99);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.experience-body {
  padding: 24px;
}

.experience-body h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #123c66;
}

.experience-body p {
  margin: 0;
  color: #5d6b7a;
}

/* ========== KONTAKT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-item {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e4eaf1;
  border-radius: 16px;
}

.contact-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.contact-item strong {
  color: #123c66;
  font-size: 1rem;
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid #e5ebf2;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 16px 34px rgba(18, 60, 102, 0.06);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #243647;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5dee8;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: #1f2937;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #123c66;
  box-shadow: 0 0 0 4px rgba(18, 60, 102, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #102a43;
  color: #d9e3ee;
  padding-top: 62px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 30px;
  padding-bottom: 32px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #ffffff;
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 26px;
  font-size: 0.94rem;
  color: #b8c7d6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1080px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 340px;
  }
}

@media (max-width: 780px) {
  .section {
    padding: 72px 0;
  }

  .header-wrap {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e6ebf0;
    box-shadow: 0 14px 24px rgba(18, 60, 102, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .cards-2,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap,
  .hero-card,
  .service-card,
  .value-card,
  .info-card,
  .experience-body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .logo {
    height: 64px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .logo {
    height: 52px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .hero-card {
    min-height: 280px;
    padding: 24px;
  }

  .contact-form-wrap {
    padding: 22px;
  }
}