@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #080c12;
  --surface: #101720;
  --surface-light: #17212b;
  --text: #f2f5f7;
  --muted: #87939f;
  --accent: #55e6cb;
  --accent-blue: #58a8fa;
  --border: rgba(255,255,255,.09);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: (--bg);
  color: (--text);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.container {
  width: min((--container), calc(100% - 64px));
  margin: auto;
}

.header {
  height: 88px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1200px)/2));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo {
  font-family: Manrope, sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.logo span, .contact-mark span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 36px; }

nav a {
  color: #a9b3bd;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}

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

.nav-contact {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px 20px;
}

.menu-toggle { display: none; }

.hero {
  min-height: 850px;
  height: 100svh;
  max-height: 1100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 50%, #112632 0%, transparent 48%),
    var(--bg);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .2;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 65px 65px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.hero-content { position: relative; z-index: 3; padding-top: 80px; }

.eyebrow, .section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.6px;
  color: var(--accent);
}

.eyebrow { display: flex; align-items: center; gap: 13px; }

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
  animation: pulse 2s infinite;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, blockquote {
  font-family: Manrope, sans-serif;
  letter-spacing: -.055em;
}

h1 {
  font-size: clamp(62px, 7.3vw, 112px);
  line-height: 1.13;
  font-weight: 800;
  margin: 33px 0;
}

.gradient-text {
  background: linear-gradient(110deg, #63efcf, #6cbaff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 540px;
  color: #a5b1bd;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions { display: flex; gap: 15px; margin-top: 38px; }

.btn {
  padding: 17px 24px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s, background .25s;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary { color: #07131a; background: var(--accent); }
.btn-primary:hover { background: #83f8df; }
.btn-primary span { margin-left: 20px; }

.btn-secondary {
  border: 1px solid rgba(255,255,255,.17);
  color: #dce4e9;
}

.hero-footnote {
  margin-top: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #6c7a87;
  font-size: 10px;
  letter-spacing: 2px;
}

.line { width: 40px; height: 1px; background: var(--accent); }

.hero-decoration {
  position: absolute;
  width: 550px;
  height: 550px;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border: 1px solid rgba(95,224,208,.19);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orb-one {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 40% 35%, rgba(71,220,198,.13), transparent 60%);
  box-shadow: inset 0 0 90px rgba(58,182,190,.05), 0 0 100px rgba(38,183,180,.05);
  animation: float 9s ease-in-out infinite;
}

.orb-two {
  width: 390px;
  height: 390px;
  top: 65px;
  left: 65px;
  border-color: rgba(110,181,244,.2);
}

.orb-three {
  width: 240px;
  height: 240px;
  top: 140px;
  left: 140px;
  background: radial-gradient(circle, rgba(84,230,203,.15), transparent 70%);
  box-shadow: 0 0 90px rgba(69,218,203,.1);
}

.section { padding: 145px 0; }

.about { background: #0c1118; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-top: 55px;
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.2;
  font-weight: 800;
}

.muted { color: #667583; }

.about-text { padding-top: 8px; }

.about-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.about-text .lead {
  font-size: 23px;
  line-height: 1.6;
  color: #e1e9ee;
  font-weight: 600;
}

.text-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.text-link span { margin-left: 15px; }

.services { background: var(--bg); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin: 45px 0 55px;
}

.section-heading h2 { margin: 0; }

.section-heading p {
  color: var(--muted);
  max-width: 290px;
  line-height: 1.8;
  margin: 0 0 8px;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  min-height: 350px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform .3s, border-color .3s, background .3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  background: var(--surface-light);
  border-color: rgba(85,230,203,.35);
}

.card-top { display: flex; justify-content: space-between; align-items: start; }

.card-icon { font-size: 43px; color: var(--accent); }
.card-number { color: #52616e; font-size: 12px; }

.card h3 { font-family: Manrope; font-size: 21px; margin: 55px 0 15px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.8; }

.card-bottom {
  margin-top: auto;
  padding-top: 30px;
  color: #667886;
  font-size: 9px;
  letter-spacing: 1.3px;
}

.statement {
  padding: 150px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(29,89,98,.18), transparent 65%),
    #0d151d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.statement blockquote {
  margin: 35px 0 20px;
  font-size: clamp(35px, 5.5vw, 75px);
  font-weight: 800;
  line-height: 1.3;
}

.statement em { font-style: normal; color: var(--accent); }
.statement p { color: var(--muted); }

.projects { background: #0b1016; }

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.project:first-child { grid-row: span 2; }

.project {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.project-art {
  height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project:first-child .project-art { height: 545px; }

.project-one .project-art { background: #d8e7e4; color: #122b2c; }

.art-circle {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 70px solid #9ccdc5;
  transform: translate(110px, -40px);
}

.art-text {
  position: relative;
  font-family: Manrope;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 75px);
  line-height: 1.05;
  letter-spacing: -.08em;
  padding: 30px;
  width: 100%;
}

.project-two .project-art {
  background: radial-gradient(circle at center, #3852a4, #101a38 75%);
}

.art-rings {
  width: 190px;
  height: 190px;
  border: 30px solid rgba(139,174,255,.5);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(95,130,240,.13), 0 0 0 65px rgba(95,130,240,.08);
}

.art-number {
  position: absolute;
  font-size: 65px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.art-number span { font-size: 20px; color: #9fb5fa; }

.project-three .project-art { background: #172d29; }

.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff0d 1px, transparent 1px),
                    linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 35px 35px;
  transform: rotate(-10deg) scale(1.3);
}

.art-word {
  position: relative;
  font-family: Manrope;
  font-size: clamp(35px, 5vw, 70px);
  font-weight: 800;
  letter-spacing: -.08em;
}

.art-word span { color: var(--accent); }

.project-info {
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-info h3 { font-size: 18px; margin-bottom: 7px; }
.project-info p { color: var(--muted); font-size: 13px; margin: 0; }
.project-arrow { font-size: 25px; color: var(--accent); }

.contact {
  padding: 170px 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 90%, #143139 0%, #080c12 60%);
}

.contact h2 { margin: 40px 0 25px; }

.contact p {
  color: var(--muted);
  max-width: 540px;
  margin: auto;
  line-height: 1.9;
}

.contact-mark {
  font-family: Manrope;
  font-size: clamp(75px, 16vw, 220px);
  font-weight: 800;
  letter-spacing: -.09em;
  margin-top: 85px;
  line-height: 1;
  opacity: .12;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 35px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner > span { color: #65717d; font-size: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 8px var(--accent); }
  50% { box-shadow: 0 0 22px var(--accent); }
}

@media(max-width: 1000px) {
  .hero-decoration { right: -280px; opacity: .45; }
  .about-grid { gap: 50px; }
  .cards { gap: 12px; }
  .card { padding: 24px; }
}

@media(max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header { height: 75px; padding: 0 20px; }

  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    color: white;
    font-size: 27px;
    cursor: pointer;
  }

  nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    padding: 25px;
    background: #101820;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  nav.open { display: flex; }

  .hero { min-height: 720px; height: auto; }
  .hero-content { padding-top: 155px; padding-bottom: 80px; }
  h1 { font-size: clamp(47px, 10vw, 75px); }
  .hero-decoration { right: -350px; }
  .hero-footnote { margin-top: 75px; }
  .hero-actions { flex-wrap: wrap; }
  .section { padding: 90px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 15px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 20px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 280px; }
  .card h3 { margin-top: 35px; }
  .project-grid { grid-template-columns: 1fr; }
  .project:first-child { grid-row: auto; }
  .project:first-child .project-art { height: 350px; }
  .statement { padding: 100px 0; }
  .contact { padding: 100px 0; }
  .footer-inner { flex-wrap: wrap; }
}

@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==================================================
   VARINAC.EU – SRBIAN LIGHT THEME
   ================================================== */

:root {
  --bg: #F8F9FC;
  --surface: #FFFFFF;
  --surface-light: #EDF1F7;
  --text: #202C3A;
  --muted: #667789;
  --accent: #C6363C;
  --accent-blue: #0C4076;
  --border: rgba(12,64,118,.12);
}

/* Osnovno ozadje */
body {
  background: var(--bg);
  color: var(--text);
}

/* Navigacija */
.header {
  background: rgba(255,255,255,.94);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(
    90deg,
    #C6363C 0%,
    #C6363C 33.33%,
    #0C4076 33.33%,
    #0C4076 66.66%,
    #FFFFFF 66.66%
  ) 1;
}

nav a {
  color: #33465B;
}

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

.nav-contact {
  border-color: rgba(12,64,118,.2);
}

.logo {
  color: #0C4076;
}

.logo span {
  color: #C6363C;
}

/* Uvodni del */
.hero {
  background:
    radial-gradient(
      ellipse at 75% 50%,
      rgba(12,64,118,.09),
      transparent 55%
    ),
    #F8F9FC;
}

.hero::after {
  opacity: .35;
  background-image:
    linear-gradient(rgba(12,64,118,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,64,118,.06) 1px, transparent 1px);
}

.hero h1 {
  color: #142F50;
}

.hero-description {
  color: #5A6C7E;
}

.eyebrow {
  color: #C6363C;
}

.pulse {
  background: #C6363C;
  box-shadow: 0 0 15px rgba(198,54,60,.3);
}

/* Prelivi */
.gradient-text {
  background: linear-gradient(
    110deg,
    #C6363C 0%,
    #B82F3D 35%,
    #0C4076 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Gumbi */
.btn-primary {
  background: #C6363C;
  color: white;
}

.btn-primary:hover {
  background: #A92930;
}

.btn-secondary {
  color: #0C4076;
  border: 1px solid rgba(12,64,118,.25);
}

.btn-secondary:hover {
  background: rgba(12,64,118,.05);
}

/* Dekorativni krogi */
.orb {
  border-color: rgba(12,64,118,.18);
}

.orb-one {
  background:
    radial-gradient(
      circle at 40% 35%,
      rgba(198,54,60,.12),
      transparent 60%
    );
  box-shadow: inset 0 0 90px rgba(12,64,118,.05);
}

.orb-two {
  border-color: rgba(198,54,60,.25);
}

.orb-three {
  background:
    radial-gradient(
      circle,
      rgba(12,64,118,.12),
      transparent 70%
    );
}

/* Sekcije */
.about {
  background: #FFFFFF;
}

.services {
  background: #F8F9FC;
}

.projects {
  background: #F0F3F8;
}

.section-label {
  color: #C6363C;
}

h2, h3 {
  color: #142F50;
}

.muted {
  color: #8292A4;
}

.about-text .lead {
  color: #263D55;
}

.about-text p {
  color: #667789;
}

.text-link {
  color: #C6363C;
}

/* Kartice */
.card {
  background: #FFFFFF;
  border-color: rgba(12,64,118,.1);
  box-shadow: 0 12px 35px rgba(12,64,118,.04);
}

.card:hover {
  background: #FFFFFF;
  border-color: rgba(198,54,60,.35);
  box-shadow: 0 18px 45px rgba(12,64,118,.1);
}

.card-icon {
  color: #C6363C;
}

.card p {
  color: #667789;
}

.card-number,
.card-bottom {
  color: #8292A4;
}

/* Osrednji citat */
.statement {
  background:
    radial-gradient(
      ellipse at center,
      rgba(12,64,118,.07),
      transparent 65%
    ),
    #EAF0F7;
}

.statement blockquote {
  color: #142F50;
}

.statement em {
  color: #C6363C;
}

.statement p {
  color: #667789;
}

/* Projekti */
.project {
  background: #FFFFFF;
  border-color: rgba(12,64,118,.1);
  box-shadow: 0 12px 35px rgba(12,64,118,.04);
}

.project-info h3 {
  color: #142F50;
}

.project-info p {
  color: #667789;
}

.project-arrow {
  color: #C6363C;
}

/* Zaključek */
.contact {
  background:
    radial-gradient(
      ellipse at 50% 90%,
      rgba(198,54,60,.08),
      transparent 60%
    ),
    #FFFFFF;
}

.contact p {
  color: #667789;
}

.contact-mark {
  color: #0C4076;
  opacity: .12;
}

.contact-mark span {
  color: #C6363C;
}

/* Noga */
.footer {
  background: #F0F3F8;
  border-top: 1px solid rgba(12,64,118,.1);
}

.footer-inner > span {
  color: #667789;
}

.footer .logo {
  color: #0C4076;
}

/* Mobilna navigacija */
@media(max-width: 760px) {
  .menu-toggle {
    color: #0C4076;
  }

  nav {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(12,64,118,.15);
  }
}

/* Dodatni popravki kontrasta */
.hero-footnote {
  color: #667789;
}

.line {
  background: #C6363C;
}

