/* =================================================================
   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);
}

.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;
}

body {
  font-family: var(--font-main);
}

.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;
}

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

html {
  scroll-behavior: smooth;
}

/* =================================================================
      GLIDE SLIDER STYLING (Ultra Modern)
      ================================================================= */
.glide {
  position: relative;
  max-width: 80%;
  height: 100vh;
  overflow: hidden;
  margin: 0 auto;
  object-fit: cover;
  transform: scale(0.7);
  background-color: var(--bg-pitch-black);
  border-radius: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-20%);
  transition: transform 0.6s ease;
}

.glide__slide:hover .slide-content img {
  transform: translateY(-20%) scale(1.03);
}

.overlay h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 800;
  color: #ffffff;
}

.overlay p {
  font-size: 1.2em;
  color: var(--text-muted);
}

.glide__slide:hover .overlay {
  opacity: 1;
}

.glide__slides {
  display: flex;
}

.glide__slide {
  position: relative;
}

.glide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 20px;
}

.glide__arrow {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.5em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.glide__bullets {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.glide__bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glide__bullet:hover,
.glide__bullet:focus {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.glide__bullet.glide__bullet--active {
  background: var(--primary);
  width: 24px;
  border-radius: 6px;
}

@media screen and (max-width: 950px) {
  .glide {
    max-width: 90%;
    height: 70vh;
    transform: scale(1);
    margin-top: 100px;
  }
  .slide-content img {
    transform: translateY(0%);
  }
  .glide__slide:hover .slide-content img {
    transform: scale(1.03);
  }
}

@media screen and (max-width: 550px) {
  .glide {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    transform: scale(1);
  }
}

/* =================================================================
      MAIN CONTENT CONTAINER & SECTIONS (Ambijentalno & Zvezdano nebo)
      ================================================================= */
.container {
  padding: 80px 5%;
  max-width: 1250px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.section:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.section img {
  max-width: 48%;
  height: auto;
  border-radius: 20px;
  flex: 1;
  object-fit: cover;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.section img:hover {
  transform: scale(1.02);
}

.section-content {
  flex: 1;
  padding: 10px;
}

.section-content h2 {
  font-family: var(--font-main);
  color: #3d3939;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.section-content .ul {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: #f8fafc;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.section-content .ul p {
  font-size: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-content .ul p b {
  color: var(--primary);
}

@media screen and (max-width: 900px) {
  .section {
    flex-direction: column;
    padding: 30px;
  }
  .section img {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .section-content h2 {
    font-size: 22px;
  }
}

/* =================================================================
   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/nebo\ \(1\).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%;
  }
}
