* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #f6f7fa;
  line-height: 1.6;
  color: #1a1a1a;
  font-size: 1rem;
}

@font-face {
  font-family: 'Brockmann';
  src: url('brockmann-medium-webfont.woff') format('woff'),
       url('brockmann-medium-webfont.ttf') format('truetype'),
       url('brockmann-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Primjena Brockmann fonta na sve naslove */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Brockmann', sans-serif;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #FD5C02;
  padding:2rem 0 1rem; 

}

h2 {
  color: #FD5C02;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  padding: 2rem 0;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p, li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

ul {
  padding-left:2rem;
}

small {
  font-size: 0.875rem;
  color: #555;
}

.hero {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  /*
  background: linear-gradient(135deg, #f6f7fa 0%, #e6e9f0 100%);
  */
  color: #1a1a1a;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.logo {
  width: 360px;
  margin-bottom: 1rem;
}

section {
  padding: 3rem 2rem;
  max-width: 960px;
  margin: auto;
}

.expertise {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  align-items: center;
}

.expertise img.expert-img {
  flex: 1 1 100%;
  width: 100%;
  min-width: 100%;
  object-fit: cover;
  display: block;
  box-shadow: none;
  border: none;
}

.expertise-text {
  flex: 1 1 100%;
  padding: 2rem;
}

.eyebrow {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  font-weight: 600;
  margin-bottom: 1rem;
}

.statement-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: transparent;
  background-image: url('text-mask-image.jpg');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1.2;
  margin: 0;
}

.expert-signature {
  margin-top: 2rem;
  font-size: 1rem;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0077b5;
  text-decoration: none;
  margin-top: 0.5rem;
}

.linkedin-icon {
  display: inline-block;
  width: 18px !important;
  height: 18px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
.expertise .linkedin-link img {
  width: 18px !important;
  height: 18px !important;
  min-width: auto;
}  

.linkedin-link:hover {
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.card-body {
  padding: 1rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem 0;
}

.footer-background{
  background: #e0e5f0;
}

footer {
  padding: 2rem 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

footer iframe {
  border: none;
  width: 100%;
  max-width: 400px;
  height: 200px;
  border-radius: 8px;
}

footer .container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

footer .contact,
footer iframe {
  width: 100%;
  padding: 0;
}

footer a{
  color: #000;
}

.cta-simple {
  background: #cbd4e6;
  border-radius: 24px;
  color: #000;
  padding: 0rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

.cta-simple a {
  color: #000;
  text-decoration: underline;
  font-weight: bold;
}

.cta-simple a:hover {
  text-decoration: underline;
}


@media (min-width: 641px) {
  
  .page, .footer-wrapper {
    margin:0 2rem;
  }

  .expertise {
    flex-wrap: nowrap;
  }
  .expertise img.expert-img {
    flex: 0 0 200px;
    max-width: 200px;
    height: auto;
    min-width: auto;
  }
  .expertise div {
    flex: 1;
  }
  
  .expertise-text {
    flex: 1;
    padding: 2rem 3rem;
    text-align: left;
  }

  footer .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }



  footer .contact,
  footer iframe {
    width: 50%;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  .logo {
    width: 180px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 2rem 1rem;
  }

  .expertise-text {
    padding: 2rem 0;
  }
  .statement-text{
    font-size: 1.5rem;
  }
  .cta-simple{
    border-radius:0;
  }
  
  .cta-simple{
    margin-bottom: 0;
  }

}
