/*
 * Usluge - Stranica CSS (Clean Carbon Black Design)
 * klimaFix Beograd
 */

/* =========================================
   PAGE HERO - USLUGE
   ========================================= */
#page-hero-services {
  background: linear-gradient(rgba(7, 7, 7, 0.75), rgba(18, 18, 18, 0.80)),
              url('../images/bg_hero_usluge.jpg') no-repeat center center;
  background-size: cover;
  min-height: 420px;
  padding-top: 160px;
  padding-bottom: 60px;
  position: relative;
}

.page-hero-services-content {
  position: relative;
  z-index: 2;
}

.page-hero-services-content h1 {
  color: var(--text-white) !important;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: none !important;
}

.page-hero-services-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 620px;
}

/* =========================================
   SERVICES OVERVIEW BAR
   ========================================= */
#services-bar {
  background: var(--primary-color);
  padding: 0;
  box-shadow: none !important;
}

.services-bar-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.service-bar-item {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: background 0.3s ease;
}

.service-bar-item:last-child {
  border-right: none;
}

.service-bar-item:hover, .service-bar-item.active {
  background: rgba(255,255,255,0.15);
}

.service-bar-item i {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  display: block;
  margin-bottom: 8px;
}

.service-bar-item span {
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

/* =========================================
   SERVICES DETAIL SECTIONS
   ========================================= */
.service-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.service-section:nth-child(even) {
  background: var(--bg-light);
}

.service-section:nth-child(odd) {
  background: var(--bg-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-image {
  position: relative;
}

.service-detail-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: none !important;
  transition: transform 0.4s ease;
}

.service-detail-image img:hover {
  transform: translateY(-4px);
}

.service-number-tag {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: none !important;
}

.service-detail-text {
  padding: 10px 0;
}

.service-detail-text h2 {
  color: var(--text-heading);
  font-weight: 800;
}

.service-detail-text p {
  color: var(--text-main);
  line-height: 1.85;
  margin-bottom: 22px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
  font-size: 0.98rem;
}

.service-features-list li:last-child {
  border-bottom: none;
}

.service-features-list li i {
  color: var(--primary-color);
  margin-right: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* =========================================
   MATERIALS / EQUIPMENT SECTION - CARBON BLACK
   ========================================= */
#materials {
  background: #070707;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

#materials .container { position: relative; z-index: 2; }
#materials .section-badge { color: #3b82f6; background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); }
#materials h2 { color: var(--text-white); margin-bottom: 15px; text-shadow: none !important; font-weight: 800; }
#materials .section-desc { color: #9ca3af; }

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.material-card {
  background: #121212;
  border: 1px solid #262626;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
}

.material-card:hover {
  background: #1a1a1a;
  transform: translateY(-4px);
  border-color: #3b82f6;
}

.material-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.material-card h3 {
  color: var(--text-white);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.material-card p {
  color: #9ca3af;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.material-tag {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   PROCESS SECTION (HOW WE WORK)
   ========================================= */
#process {
  background: var(--bg-white);
  padding-top: 100px;
  padding-bottom: 100px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  padding: 0 10px;
  position: relative;
}

.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  box-shadow: none !important;
}

.process-step:hover .step-circle {
  transform: scale(1.08);
  background: var(--primary-hover);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-heading);
  font-weight: 800;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* =========================================
   CTA BANNER (usluge)
   ========================================= */
#services-cta {
  background: var(--bg-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

.services-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b0b0b;
  border-radius: var(--radius-lg);
  padding: 45px 50px;
  border: 1px solid #262626;
  border-left: 6px solid var(--primary-color);
  box-shadow: none !important;
}

.services-cta-text h2 {
  font-size: 1.85rem;
  margin-bottom: 8px;
  color: var(--text-white);
  font-weight: 800;
}

.services-cta-text p {
  color: #a3a3a3;
  margin: 0;
  font-size: 1.05rem;
}

.services-cta-btn { flex-shrink: 0; margin-left: 30px; }



/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 1023px) {
  .services-bar-inner { flex-wrap: wrap; }
  .service-bar-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-step { margin-bottom: 20px; }
}

@media (max-width: 991px) {
  #page-hero-services { padding-top: 130px; }
  .page-hero-services-content h1 { font-size: 2.5rem; }
}

@media (max-width: 767px) {
  #page-hero-services { padding-top: 110px; padding-bottom: 50px; min-height: 340px; }
  .page-hero-services-content h1 { font-size: 2rem; }
  .page-hero-services-content p { font-size: 1rem; }
  
  .service-section { padding-top: 60px; padding-bottom: 60px; }
  .service-detail-grid, .service-detail-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
  .service-number-tag { top: -10px; left: 10px; width: 50px; height: 50px; font-size: 1.3rem; border-radius: 10px; }
  
  .materials-grid { grid-template-columns: 1fr; }
  
  #process { padding-top: 60px; padding-bottom: 60px; }
  .process-steps { grid-template-columns: 1fr; }
  
  .services-cta-inner { flex-direction: column; text-align: center; padding: 35px 20px; gap: 20px; }
  .services-cta-btn { margin-left: 0; width: 100%; }
  .service-bar-item { flex: 0 0 50%; }
}
