:root {
  --steel: #f4f2ef;
  --steel-mid: #ffffff;
  --iron: #e5e0d8;
  --orange: #e8581a;
  --orange-light: #f57c3a;
  --silver: #5c5c5c;
  --light: #1a1a1a;
  --white: #ffffff;
  --text-muted: #888888;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--steel-mid);
  color: var(--light);
  overflow-x: hidden;
   
}

/* --- NAV --- */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 88, 26, 0.25);
  transition: box-shadow 0.3s;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--white);
}

.logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
   color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 24px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.nav-cta:hover {
  background: var(--orange-light);
}


nav.nav-scrolled .nav-links a {
  color: var(--orange);
}

nav.nav-scrolled .logo {
  color: var(--orange);
}

nav.nav-scrolled .logo span {
  color: var(--light);
}

/* --- HERO --- */

#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--steel);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 35, 50, 0.9) 0%, rgba(26, 35, 50, 0.4) 40%, rgba(26, 35, 50, 0) 100%),
    url('darex-modular-group-modularna-kuca-jezero-planine-noc.png') center/cover no-repeat;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232, 88, 26, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--white);
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
  animation: fadeUp 0.7s .1s ease both;
}

.hero-title .accent {
  color: var(--orange);
}

.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: #fff;
  max-width: 560px;
  animation: fadeUp 0.7s .2s ease both;
}

.hero-btns {
  margin-top: 48px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s .3s ease both;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 16px 42px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  outline: none;
  appearance: none;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: rgba(26, 35, 50, 0.4);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
  animation: fadeUp 0.7s .4s ease both;
}

.stat-item {
  flex: 1;
  padding: 25px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--orange);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

/* --- USLUGE --- */

#usluge {
  padding: 120px 60px;
  position: relative;
}

#usluge::before {
  content: 'USLUGE';
  position: absolute;
  top: 60px;
  right: 60px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 140px;
  color: rgba(0, 0, 0, .04);
  line-height: 1;
  pointer-events: none;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--light);
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(232, 88, 26, .15);
}

.service-card {
  background: var(--white);
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover {
  background: #fdf6f2;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--orange);
  transition: height 0.4s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: rgba(232, 88, 26, .12);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.service-card:hover .service-num {
  color: rgba(232, 88, 26, .22);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 33px;
  letter-spacing: 1px;
  color: var(--light);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--silver);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(232, 88, 26, .4);
  color: var(--orange);
}

/* --- PREDNOSTI --- */

#prednosti {
  padding: 120px 90px;
  background: var(--steel-mid);
  position: relative;
  overflow: hidden;
}

.prednosti-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.prednosti-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.prednosti-img {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 520px;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}



.prednosti-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.1);
}

.prednosti-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(232, 88, 26, .3), transparent 60%);
}

.prednosti-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  padding: 28px 32px;
  z-index: 2;
}

.prednosti-img-badge strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  display: block;
  line-height: 1;
  color: var(--white);
}

.prednosti-img-badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(232, 88, 26, .10);
  border: 1px solid rgba(232, 88, 26, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.feature-text h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
}

/* --- PROJEKTI --- */

#projekti {
  padding: 120px 100px;
  background: var(--steel-mid);
}

.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
  margin-top: 60px;
}

.proj-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--iron);
}

.proj-card:first-child {
  grid-row: span 2;
  aspect-ratio: unset;
}

.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: grayscale(20%) brightness(.9);
}

.proj-card:hover img {
  transform: scale(1.07);
  filter: grayscale(0%) brightness(.95);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 14, 5, .88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transform: translateY(20px);
  opacity: 0;
  transition: all .4s ease;
}

.proj-card:hover .proj-overlay {
  transform: translateY(0);
  opacity: 1;
}

.proj-category {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.proj-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--white);
}

/* --- PROCES --- */

#proces {
  padding: 120px 90px;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 70px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(232, 88, 26, .3);
}

.process-step {
  padding: 0 30px;
  text-align: center;
  position: relative;
}

.step-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  background: var(--steel);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--orange);
}

.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --- KONTAKT --- */

#kontakt {
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#kontakt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(232, 88, 26, .88), rgba(200, 65, 10, .92)),
    url('https://images.unsplash.com/photo-1590674899484-d5640e854abe?w=1600&q=80') center/cover;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .95;
  color: var(--white);
  margin-bottom: 24px;
}

.cta-title .accent {
  color: var(--white);
  opacity: 0.85;
}

.cta-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 48px;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.contact-value {
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
}

.contact-link {
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  display: inline-block;
}

.contact-link:hover {
  opacity: 0.8;
}

a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}

/* --- FOOTER --- */

footer {
  background: #1a1a1a;
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(232, 88, 26, 0.3);
}

.footer-copy {
  font-size: 13px;
  color: #888;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

/* --- ANIMACIJE --- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- GALERIJA / CAROUSEL --- */

.no-desktop {
  display: none;
}

.container-galerija {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
  padding: 0 35px;
  overflow: hidden;
  margin-bottom: 3px;
  margin-top: 50px;
}

.no-desktop {
  display: none;
}

.wrapper {
  max-width: 1100px;
  width: 100%;
  position: relative;
  height: 100%;
}

.wrapper #right,
.wrapper #left {
  height: 50px;
  width: 50px;
  background: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 1.25rem;
  transform: translateY(-50%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.wrapper .yellow {
  color: var(--orange);
}

.wrapper i:first-child {
  left: -22px;
}

.wrapper i:last-child {
  right: -22px;
}

.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel :where(.card, .img) {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}

.carousel .card {
  scroll-snap-align: start;
  min-height: 300px;
  list-style: none;
  cursor: pointer;
  padding-bottom: 15px;
  overflow: hidden;
}

.card .img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .img img {
  width: 100%;
  height: 360px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.card-content-novi h2,
p {
  color: #333;
}

.lokacija {
  display: flex;
  align-items: flex-start;
}

.lokacija i {
  margin-right: 10px;
  margin-top: 4px;
  color: var(--orange);
}

/* --- MODAL --- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(244, 242, 239, 0.96);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 600px;
  position: relative;
  padding: 40px;
  border: 1px solid rgba(232, 88, 26, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  animation: modalFadeIn 0.4s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 35px;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: var(--orange);
}

.modal-header {
  margin-bottom: 30px;
}

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--light);
  letter-spacing: 1px;
}

.modal-title span {
  color: var(--orange);
}

.modal-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 5px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  background: var(--steel);
  border: 1px solid var(--iron);
  padding: 12px 15px;
  color: var(--light);
  font-family: 'Barlow', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

/* --- HAMBURGER MENI --- */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  inset: 0;
  z-index: 140;
}

.nav-overlay.open {
  display: block;
}


/* =====================================================
   RESPONSIVE - 900px i manje (tablet i mobile)
   ===================================================== */

@media (max-width: 900px) {
  nav {
    padding: 14px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
    border-left: 2px solid var(--orange);
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
    display: flex !important;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .nav-links li:last-child {
    border-bottom: none;
    margin-top: 20px;
  }

  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 18px;
    letter-spacing: 3px;
  }

  .nav-cta {
    clip-path: none !important;
    padding: 14px 28px;
    text-align: center;
    display: block;
    width: 100%;
  }

  #hero {
    height: auto;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 68px;
  }

  .hero-content {
    padding: 46px 20px 0;
    max-width: 100%;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 30px;
  }

  .hero-title {
    font-size: clamp(48px, 13vw, 72px);
    line-height: .88;
  }

  .hero-sub {
    font-size: 17px;
    margin-top: 14px;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-btns {
    margin-top: 270px;
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  .hero-stats {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
    width: 100%;
    border-top: 2px solid rgba(232, 88, 26, .4);
  }

  .stat-item {
    border-right: 1px solid rgba(0, 0, 0, .07);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    padding: 16px 14px;
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-num {
    font-size: 30px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 1px;
  }

  #usluge,
  #prednosti,
  #projekti,
  #proces,
  #kontakt {
    padding: 60px 20px;
  }

  .section-title {
    font-size: clamp(32px, 9vw, 48px);
    margin-bottom: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .service-card {
    padding: 20px 18px;
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-areas:
      "num name"
      "icon name"
      "desc desc"
      "tags tags";
    column-gap: 14px;
  }

  .service-num {
    grid-area: num;
    font-size: 30px;
    margin-bottom: 0;
    line-height: 1.1;
    color: rgba(232, 88, 26, .18);
  }

  .service-icon {
    grid-area: icon;
    font-size: 22px;
    margin-bottom: 0;
    margin-top: 4px;
  }

  .service-name {
    grid-area: name;
    font-size: 21px;
    margin-bottom: 0;
    align-self: center;
    line-height: 1.1;
  }

  .service-desc {
    grid-area: desc;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 14px;
  }

  .service-tags {
    grid-area: tags;
    margin-top: 10px;
    gap: 6px;
  }

  .tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .prednosti-inner {
    grid-template-columns: 1fr;
  }

  .prednosti-img {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .proj-card:first-child {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .proj-overlay {
    transform: translateY(0);
    opacity: 1;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    padding: 0 6px;
  }

  .step-circle {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .step-num {
    font-size: 22px;
  }

  .step-title {
    font-size: 14px;
  }

  .step-desc {
    font-size: 12px;
  }

  .cta-contacts {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 24px 20px;
  }

  .services-grid .service-card:nth-child(4) {
    display: none;
  }

  .features-list .feature-item:nth-child(4) {
    display: none;
  }

  .features-list .feature-item:nth-child(3) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .no-mobile {
    display: none;
  }

  .no-desktop {
    display: block;
  }

  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}


/* =====================================================
   RESPONSIVE - 600px i manje
   ===================================================== */

@media (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }

  .modal-content {
    padding: 30px 20px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
}


/* =====================================================
   RESPONSIVE - 480px i manje (mobile)
   ===================================================== */

@media (max-width: 480px) {

  /* HERO - sadržaj malo niže */

/*
  #hero {
    min-height: 100svh;
    justify-content: flex-end !important;  
    padding-top: 68px !important;
  }

  .hero-content {
    padding: 0 28px 30px 28px !important;  
    max-width: 100%;
  }

  .hero-title {
    font-size: 44px;
    line-height: 0.95;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 18px;
  }

    .hero-btns {
    margin-top: 30px !important;
  }
*/
  /* Veći lijevi/desni razmak za sve sekcije */
  #usluge,
  #prednosti,
  #projekti,
  #proces,
  #kontakt {
    padding: 60px 28px;
  }



  /* "USLUGE" tekst u pozadini */
  #usluge::before {
    font-size: 70px;
    top: 30px;
    right: 20px;
    line-height: 1;
  }

  /* Body tekst svuda veći */
  .service-desc {
    font-size: 18px;
    line-height: 1.7;
  }

  .feature-text p {
    font-size: 18px;
    line-height: 1.7;
  }

  .feature-text h4 {
    font-size: 20px;
  }

  /* PROCES - jedna kolona */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-step {
    padding: 0 10px;
  }

  .step-title {
    font-size: 20px;
  }

  .step-desc {
    font-size: 18px;
    line-height: 1.7;
  }

  /* Kontakt sekcija */
  .cta-sub {
    font-size: 18px;
    line-height: 1.7;
  }

  .contact-value {
    font-size: 16px;
  }

  /* Footer */
  footer {
    padding: 24px 28px;
  }

  .footer-copy {
    font-size: 14px;
  }

  /* Tag elementi */
  .tag {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Stat brojevi */
  .stat-num {
    font-size: 34px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-item {
    padding: 22px 18px;
  }

  .footer-links {
    display: none;
}
}


/* =====================================================
   RESPONSIVE - 380px i manje (sitni telefoni)
   ===================================================== */

@media (max-width: 380px) {
  .hero-title {
    font-size: 40px;
  }

  #usluge::before {
    font-size: 56px;
  }
}


/* =====================================================
   RESPONSIVE - 340px i manje (jako sitni telefoni)
   ===================================================== */

@media (max-width: 340px) {
  .card .img img {
    height: auto;
  }
}




/*KOD ZA SLIDERE NA TELEFONU OVERLAJ*/


/* Fiksni overlay s nazivom projekta na mobilnom */
.card .img {
  position: relative;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 14, 5, .88) 0%, transparent 70%);
  padding: 32px 16px 14px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-overlay-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}

.card-overlay-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
}

.card-overlay-loc {
  color: var(--orange);
}


.wrapper #right,
.wrapper #left {
  height: 50px;
  width: 50px;
  background: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 1.25rem;
  transform: translateY(-50%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  z-index: 100;
  pointer-events: auto;
}

nav.nav-scrolled .hamburger span {
  background: var(--orange);
}


@media (max-width: 480px) {
    #usluge, #prednosti, #projekti, #proces, #kontakt {
        padding: 40px 28px;
    }
}


/* Prvo prilagođavamo roditeljski kontejner */
.logo {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%; /* Ovo će natjerati kontejner da se raširi od vrha do dna hedera */
  min-height: 52px; /* Daje bazu da se ne skupi na mobilnom */
}

/* Podešavanje za samu sliku logotipa */
.logo img {
  position: absolute;
  top: 59%;
  left: 0;
  transform: translateY(-50%); /* Ovo sada savršeno centrira sliku u odnosu na cijeli heder */
  
  height: 140px !important; /* Prilagodi visinu po želji (npr. 65px, 70px...) */
  width: auto;
  max-width: none;
  
  display: block;
  mix-blend-mode: screen;
}