/* =================================================================
   GLOBAL VARIABLES & RESET ($100,000 ULTRA MODERN THEME)
   ================================================================= */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --bg-main: #ffffff;
  --bg-pitch-black: #030712;
  --surface-card: #ffffff;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(59, 130, 246, 0.4);
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --font-main: "Plus Jakarta Sans", sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

:root {
  --bg-color: #ffffff;
  --surface-color: #e7edf2;
  --surface-card: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(37, 99, 235, 0.35);
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.2);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --dark-bg: #0b0f19;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.7;
}

/* =================================================================
      HERO SEKCIJA (Kodiranje)
      ================================================================= */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 5% 80px 5%;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-pitch-black);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlayy {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 18, 0.92) 0%,
    rgba(11, 15, 25, 0.75) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  animation: contentFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes contentFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 25px;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 30%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
}

/* =================================================================
      ŠTA JE KODIRANJE & PROCES KODIRANJA (Sekcije sa karticama)
      ================================================================= */
.about-coding,
.coding-process {
  padding: 90px 5%;
  background-color: var(--bg-pitch-black);
}

.about-coding .container,
.coding-process .container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.about-coding h2,
.coding-process h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 25px;
  color: #3d3939;
  letter-spacing: -0.02em;
}

.about-coding p,
.coding-process p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* =================================================================
      NAŠE USLUGE KODIRANJA
      ================================================================= */
.coding-services {
  padding: 90px 5%;
  background-color: var(--bg-main);
}

.coding-services .container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 60px 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.coding-services h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #3d3939;
  margin-bottom: 30px;
  text-align: center;
}

.coding-services > .container > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.coding-services ul li {
  font-size: 1.05rem;
  color: #3d3939;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, background 0.3s ease;
}

.coding-services ul li:hover {
  transform: translateX(6px);
  background: #f1f5f9;
}

.coding-services ul li i {
  color: #60a5fa;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Stanja za dugme i skrivenu listu */
.coding-services ul#list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.coding-services ul#list.notActive {
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  transform: translateY(-10px);
}

/* Stilovi za responsive dugmiće (Vidi još / Vidi manje) */
.responsive-btn {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 30px auto 0 auto;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 14px 28px;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  text-align: center;
}

.responsive-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.6);
}

/* =================================================================
      OPOMENA (Coding Benefits)
      ================================================================= */
.coding-benefits {
  padding: 60px 5%;
  background-color: var(--bg-main);
}

.coding-benefits .container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 20px;
  padding: 30px 40px;
  text-align: center;
}

.coding-benefits p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =================================================================
      CTA SEKCIJA
      ================================================================= */
/* =================================================================
   ULTRA-MODERN CTA SECTION ($100,000 LOOK)
   ================================================================= */

.modern-cta-section {
  padding: 80px 20px;
  background-color: var(--bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modern-cta-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Pozadinska slika sa vrhunskim ambijentom */
.modern-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/kodiranje.jpg") center/cover no-repeat; /* Zamenite putanju po želji */
  transform: scale(1.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.modern-cta-container:hover .modern-cta-background {
  transform: scale(1);
}

/* Višeslojni tamni preliv za maksimalnu čitljivost i vizuelnu dubinu */
.modern-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 18, 0.92),
    rgba(15, 23, 42, 0.82)
  );
  z-index: 2;
}

.modern-cta-content {
  position: relative;
  z-index: 3;
  padding: 80px 40px;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Svetleći badge iznad naslova */
.modern-cta-tag {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: rgba(59, 130, 246, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.modern-cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.modern-cta-content p {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 10px;
}

/* Kontejner za dugmiće */
.modern-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

/* Stil primarnog dugmeta */
.modern-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.modern-cta-btn.primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  border: none;
}

.modern-cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Stil sekundarnog dugmeta (Glassmorphism) */
.modern-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.modern-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Prilagođavanje za manje ekrane */
@media screen and (max-width: 768px) {
  .modern-cta-container {
    border-radius: 24px;
  }

  .modern-cta-content {
    padding: 50px 20px;
  }

  .modern-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .modern-cta-btn {
    width: 100%;
  }
}

.volvo-promo-banner {
  position: relative;
  background: linear-gradient(135deg, #0b1329 0%, #1c2a48 100%);
  padding: 50px 30px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dekorativni svetlosni detalj u pozadini za moderan "tech" izgled */
.volvo-promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 114, 206, 0.25) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.volvo-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.volvo-badge {
  display: inline-block;
  background-color: rgba(0, 114, 206, 0.25);
  color: #66b3ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(102, 179, 255, 0.3);
}

.volvo-promo-banner h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.volvo-promo-banner p {
  font-size: 16px;
  line-height: 1.6;
  color: #c5cbd3;
  margin-bottom: 30px;
}

.volvo-btn {
  display: inline-block;
  background-color: #0072ce; /* Volvo plava */
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 114, 206, 0.4);
}

.volvo-btn:hover {
  background-color: #005bb5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 206, 0.6);
}

/* Responsivnost za manje ekrane */
@media (max-width: 768px) {
  .volvo-promo-banner {
    padding: 35px 20px;
  }
  .volvo-promo-banner h2 {
    font-size: 22px;
  }
  .volvo-promo-banner p {
    font-size: 14px;
  }
}
