/* =================================================================
   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 SECTION
      ================================================================= */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-pitch-black);
}

.hero-section .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section:hover .img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 18, 0.85) 0%,
    rgba(17, 24, 39, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #94a3b8;
  margin-bottom: 35px;
  font-weight: 400;
}

.hero-content .btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 16px 36px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}

.hero-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* =================================================================
      ABOUT & INSTALLATION SECTIONS (Cards & Grid Architecture)
      ================================================================= */
.about,
.installation-section {
  max-width: 1250px;
  margin: 0 auto;
  padding: 100px 5%;
}

.about h2,
.installation-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about > p,
.installation-section > p {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--surface-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.08);
}

.card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 24px;
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =================================================================
      SECTION DIVIDER & HR STYLING
      ================================================================= */
.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 40px;
}

.section-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
}

hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 60px auto;
}

/* =================================================================
      GLIDE SLIDER STYLING (Ultra Modern Gallery)
      ================================================================= */
.glide {
  position: relative;
  max-width: 85%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin: 60px auto 0 auto;
  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;
  transition: transform 0.6s ease;
}

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

.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: 60vh;
  }
}

@media screen and (max-width: 550px) {
  .glide {
    max-width: 100%;
    height: auto;
    border-radius: 0;
  }
}
/* =================================================================
   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/rikverca1.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%;
  }
}
