/* TEHNOLOGIJA.CSS - Specifični stilovi za Tehnologija stranicu */

/* HERO TEHNOLOGIJA */
.tehnologija-hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 60%);
  position: relative;
  overflow: hidden;
}

.tehnologija-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(55, 65, 81, 0.1), transparent 70%);
  pointer-events: none;
}

.tehnologija-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: center;
}

.tehnologija-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.tehnologija-title .highlight {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tehnologija-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 90%;
}

.tech-stats {
  display: flex;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.tech-stat {
  padding: 20px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.7);
  text-align: center;
  min-width: 140px;
}

.tech-stat .stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 5px;
}

.tech-stat .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* TECH SHOWCASE */
.tech-showcase {
  display: grid;
  grid-template-rows: auto auto;
  gap: 20px;
}

.showcase-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(246, 196, 67, 0.3);
  height: 250px;
}

.showcase-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.showcase-main:hover img {
  transform: scale(1.05);
}

.showcase-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.badge-icon {
  font-size: 1.2rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.showcase-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  height: 150px;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.showcase-item:hover img {
  transform: scale(1.05);
}

.item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.85rem;
  text-align: center;
}

/* PROCES TIMELINE */
.proces-section {
  padding: 80px 0;
}

.proces-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.proces-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, 
              var(--accent-yellow), 
              var(--accent-red));
  z-index: 1;
}

.proces-step {
  position: relative;
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding-left: 30px;
}

.proces-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: -35px;
  top: 0;
  width: 70px;
  height: 70px;
  background: var(--bg-section);
  border: 3px solid var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-yellow);
  font-size: 1.2rem;
  z-index: 2;
}

.step-content {
  flex: 1;
  padding: 25px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.step-content:hover {
  transform: translateX(5px);
  border-color: var(--accent-yellow);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(55, 65, 81, 0.7);
}

.spec {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spec strong {
  color: var(--accent-yellow);
  display: block;
  margin-bottom: 3px;
}

/* OPREMA SEKCIJA */
.oprema-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #020617, #0f172a);
}

.oprema-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.oprema-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 25px;
  padding: 25px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.oprema-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.oprema-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
}

.oprema-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oprema-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent-yellow);
  font-weight: 500;
}

.oprema-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.oprema-spec {
  font-size: 0.9rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.7);
}

.oprema-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.oprema-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.feature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(55, 65, 81, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* MATERIJALI SEKCIJA */
.materijali-section {
  padding: 80px 0;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-yellow);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  color: #020617;
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.materijal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.materijal-card {
  padding: 25px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.materijal-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow);
}

.materijal-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.materijal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.materijal-grade {
  font-size: 0.85rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
  font-weight: 500;
}

.materijal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.materijal-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid rgba(55, 65, 81, 0.7);
}

.materijal-specs .spec {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

.materijal-specs .spec strong {
  color: var(--accent-yellow);
}

/* STANDARDI SEKCIJA */
.standardi-section {
  padding: 80px 0;
  background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
}

.standardi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.standard-card {
  padding: 25px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.standard-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-yellow);
}

.standard-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.standard-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-main);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.standard-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.standards-comparison {
  max-width: 800px;
  margin: 0 auto;
}

.standards-comparison h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-align: center;
  color: var(--text-main);
}

.comparison-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.7);
}

.comp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-category,
.comp-standard,
.comp-our {
  padding: 18px 20px;
  display: flex;
  align-items: center;
}

.comp-category {
  background: rgba(15, 23, 42, 0.5);
  border-right: 1px solid rgba(55, 65, 81, 0.9);
  font-weight: 600;
  color: var(--text-main);
}

.comp-standard {
  color: var(--text-muted);
  border-right: 1px solid rgba(55, 65, 81, 0.9);
}

.comp-our {
  color: var(--accent-yellow);
  font-weight: 600;
}

.comp-row:first-child .comp-category,
.comp-row:first-child .comp-standard,
.comp-row:first-child .comp-our {
  background: rgba(2, 6, 23, 0.9);
  font-weight: 700;
}

/* CTA TEHNOLOGIJA */
.tehnologija-cta {
  padding: 80px 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.cta-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .materijal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .standardi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .tehnologija-hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  
  .oprema-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .oprema-card {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .oprema-visual {
    height: 250px;
  }
  
  .proces-timeline::before {
    left: 35px;
  }
  
  .proces-step {
    padding-left: 25px;
  }
  
  .step-number {
    left: -30px;
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  .step-specs {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .comp-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .comp-category {
    display: none;
  }
}

@media (max-width: 768px) {
  .materijal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .tab-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .tab-btn {
    text-align: center;
  }
  
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .showcase-item {
    height: 120px;
  }
  
  .tech-stats {
    justify-content: center;
  }
  
  .tech-stat {
    min-width: 120px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn-lg {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .proces-timeline::before {
    left: 25px;
  }
  
  .proces-step {
    padding-left: 15px;
  }
  
  .step-number {
    left: -20px;
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  
  .step-content {
    padding: 20px;
  }
  
  .standardi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .comp-row {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .comp-standard,
  .comp-our {
    justify-content: space-between;
    padding: 12px 15px;
  }
  
  .comp-standard::before {
    content: 'Industrijska norma: ';
    color: var(--text-muted);
  }
  
  .comp-our::before {
    content: 'Naš standard: ';
    color: var(--text-muted);
  }
}