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

/* =========================================
   PAGE HERO - EDITORIAL
   ========================================= */
#page-hero {
  background: linear-gradient(135deg, #070707 0%, #141414 100%);
  padding-top: 160px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

/* 2-column grid */
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-editorial-left {
  padding: 20px 40px 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-year-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-accent);
  margin-bottom: 16px;
}

.hero-editorial-line {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin-bottom: 24px;
  border-radius: 2px;
}

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

.hero-editorial-left h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-editorial-left > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 480px;
}

/* Meta stats row */
.hero-editorial-meta {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 25px;
}

.hero-meta-item {
  flex: 1;
  text-align: center;
}

.hero-meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

.meta-num {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #3b82f6;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.meta-lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* Right column frame */
.hero-editorial-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  box-shadow: none !important;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}

.hero-img-frame:hover img {
  transform: scale(1.02);
}



/* =========================================
   INTRO SECTION
   ========================================= */
#intro {
  background: var(--bg-white);
  padding-top: 100px;
  padding-bottom: 80px;
}

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

.intro-image-wrap {
  position: relative;
}

.intro-image-wrap 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;
}

.intro-image-wrap img:hover {
  transform: translateY(-4px);
}

.intro-image-badge {
  position: absolute;
  bottom: -20px;
  right: -15px;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  box-shadow: none !important;
  text-align: center;
}

.intro-image-badge .badge-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.intro-image-badge .badge-label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  opacity: 0.9;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.intro-text p {
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =========================================
   STATS SECTION
   ========================================= */
#stats {
  background: var(--bg-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 35px 20px;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 3px solid var(--primary-color);
  box-shadow: none !important;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* =========================================
   TIMELINE SECTION
   ========================================= */
#timeline-section {
  background: var(--bg-white);
  padding-top: 100px;
  padding-bottom: 100px;
}

.timeline-header {
  text-align: center;
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color) 0%, #e2e8f0 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--primary-color);
  border: 4px solid var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: none !important;
}

.timeline-content {
  width: calc(50% - 40px);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 25px;
  transition: transform 0.3s ease;
  box-shadow: none !important;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

.timeline-content:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.timeline-year {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-heading);
  font-weight: 800;
}

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

/* =========================================
   CTA SECTION - CARBON BLACK BOX
   ========================================= */
#cta {
  background: var(--bg-white);
  padding-top: 90px;
  padding-bottom: 90px;
}

.cta-box {
  background: #0b0b0b;
  border: 1px solid #262626;
  border-top: 4px solid var(--primary-color);
  border-radius: var(--radius-lg);
  padding: 60px 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
}

.cta-box h2 {
  color: var(--text-white);
  font-size: 2.2rem;
  margin-bottom: 16px;
  text-shadow: none !important;
  font-weight: 800;
}

.cta-box p {
  color: #a3a3a3;
  font-size: 1.08rem;
  margin-bottom: 35px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-white {
  background: var(--primary-color);
  color: var(--text-white);
  border: 1px solid var(--primary-color);
  margin: 5px 8px;
  box-shadow: none !important;
}

.btn-cta-white:hover {
  background: var(--primary-hover);
  color: var(--text-white);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.4);
  margin: 5px 8px;
  box-shadow: none !important;
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-white);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* =========================================
   DARK THEME
   ========================================= */


/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 991px) {
  .hero-editorial-grid { grid-template-columns: 1fr; }
  .hero-editorial-left { padding: 30px 0; }
  .hero-editorial-left h1 { font-size: 2.8rem; }
  .hero-editorial-right { display: none; }
  #page-hero { padding-top: 130px; min-height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero-editorial-left h1 { font-size: 2.2rem; }
  #page-hero { padding-top: 110px; padding-bottom: 20px; }
  #intro { padding-top: 60px; padding-bottom: 40px; }
  .intro-grid { grid-template-columns: 1fr; gap: 25px; }
  .intro-image-wrap { margin-bottom: 30px; }
  .intro-image-badge { right: 10px; bottom: -15px; padding: 15px 18px; }
  .intro-image-badge .badge-number { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 2rem; }
  #timeline-section { padding-top: 60px; padding-bottom: 60px; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; padding-left: 55px; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: 100%; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { margin: 0; }
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 1.7rem; }
}
