/* ==============================
   D'PALAVESTRA ACADEMY
   style.css (clean, no conflicts)
   Bootstrap 4 compatible
   Single TOP sticky navbar
   Mobile = hamburger
============================== */


/* ==============================
   GLOBAL RESET / SAFETY
============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}


/* ==============================
   BODY / BACKGROUND / TYPO
============================== */

body {
  background: linear-gradient(90deg,
    rgba(0,0,0,1) 0%,
    rgba(28,28,28,1) 30%,
    rgba(38,38,38,1) 50%,
    rgba(28,28,28,1) 70%,
    rgba(0,0,0,1) 100%
  );
  color: #ffffff;
  font-family: 'Poppins', sans-serif !important;

  /* više NE treba bottom padding (nema bottom nav-a) */
  padding-top: 80px;
  padding-bottom: 0;
}

/* Ne diramo Bootstrap container globalno */
.container {
  overflow: visible !important;
}


/* ==============================
   NAVBAR (SINGLE TOP)
   Desktop: centered links
   Mobile: hamburger collapse
============================== */

/* linkovi */
.nav-link {
  font-size: 16px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif !important;
  color: rgba(255,255,255,0.85) !important;
}
.nav-top,
.nav-main {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}
/* da Bootstrap container ne pravi čudan offset u fixed baru */
.nav-main .container {
  overflow: visible !important;
}


.nav-link.active,
.nav-link:hover {

  color: #fff !important;
}

/* dropdown dark tema */
.dropdown-menu {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.dropdown-item {
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;

}

.dropdown-item.active {
  margin-bottom: 10px;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* login dugme */
.navbar .nav-login-btn {
  padding: 8px 26px;
  font-size: 0.95rem;
  border-radius: 100px !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

.navbar .nav-login-btn:hover,
.navbar .nav-login-btn.active {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

/* da login ne bude preblizu linkova */
.nav-login-wrap {
  margin-top: 10px;
}

/* Desktop spacing */
@media (min-width: 992px) {
  .navbar-nav .nav-item {
    margin: 0 22px;
    display: flex;
    align-items: center;
  }

  .nav-login-wrap {
    margin-top: 0;
    margin-left: 10px;
  }
}

/* Hamburger reset (bez starih hackova) */
.navbar-toggler {
  position: static !important;
  transform: none !important;
  margin-left: auto !important;
}

.navbar-dark .navbar-toggler {
  border-color: transparent !important;
}

/* Mobile collapse stil (lijep panel) */
@media (max-width: 991.98px) {

  /* brand samo na mobile */
  .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 14px;
    opacity: 0.9;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
  }

  .navbar-nav {
    width: 100%;
    align-items: center;
  }

  .navbar-nav .nav-item {
    width: 100%;
    justify-content: center;
    margin: 2px 0;
  }

  .nav-link {
    padding: 10px 0;
    font-size: 16px;
  }

  .nav-login-btn {
    width: 100%;
    text-align: center;
  }
}


/* ==============================
   HERO / TEXT
============================== */

.hero-naslov {
  font-size: 48px;
  line-height: 1.2em;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif !important;
}

.h1-hero-secound {
  font-size: 38px;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.2em;
  margin-bottom: 20px !important;
  font-family: 'Montserrat', sans-serif !important;
}

.p-hero-paragraf {
  font-size: 16px;
  color: #fff;
  font-family: 'Montserrat', sans-serif !important;
}

.p-secound-paragraf {
  font-size: 14px;
  color: #fff;
}

.tri-kursa {
  font-size: 20px;
}

/* MOBILE hero tipografija */
@media (max-width: 575.98px) {
  .hero-naslov { font-size: 34px; }
  .h1-hero-secound { font-size: 28px; }
  .p-hero-paragraf { font-size: 14.5px; }
  .tri-kursa { font-size: 18px; }
}

/* HOME – zajednički hook za sve naslove */
.home-page .home-heading {
  font-family: 'Montserrat', sans-serif !important;
}


/* ==============================
   LOGO
============================== */

.logo-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo-center {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo-size {
  height: auto;
  max-height: 60px;
}

/* MOBILE logo malo manji */
@media (max-width: 575.98px) {
  .logo-size { max-height: 50px; }
}


/* ==============================
   VIDEO
============================== */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 0px 120px 5px rgba(38, 38, 38, 0.8);
}

.video-wrapper iframe,
.video-wrapper .video-thumbnail {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .video-wrapper {
    padding-bottom: 75%;
    border-radius: 18px;
  }
}


/* ==============================
   BUTTONS
============================== */

.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.button-kupi-kurs {
  border-radius: 100px !important;
  font-weight: 600 !important;
}

.btn-primary-2 {
  background-color: #007bff !important;
  border: none;
  padding: 10px;
  border-radius: 100px !important;
  font-weight: 600 !important;
  color: #fff !important;
}

.btn-primary-2:hover {
  background-color: #0056b3 !important;
}


/* ==============================
   INFO SECTION
============================== */

.info-section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  font-size: 18px;
  text-align: center;
}

.info-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.info-section p {
  line-height: 1.6;
  margin-bottom: 10px;
  color: #fff;
}

.highlight {
  color: #ffe66b;
  font-weight: bold;
}

@media (max-width: 575.98px) {
  .info-section { font-size: 16px; }
}


/* ==============================
   SECTION SPACING
============================== */

.classic-margina {
  margin-top: 100px !important;
  margin-bottom: 100px !important;
}

.classic-padding {
  padding-top: 64px;
  padding-bottom: 64px;
}


/* ==============================
   SWIPER
============================== */

.swiper-container {
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}


/* ==============================
   PLATFORM SECTION
============================== */

.video-editing-section {
  color: #fff;
  padding: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.video-editing-content {
  width: 100%;
}

.video-editing-content p {
  color: #fff;
}

.video-editing-image {
  width: 100%;
  text-align: right;
}

.video-editing-image img {
  width: 100%;
  height: auto;
}


/* ==============================
   COURSE MODULES / CARDS
============================== */

.course-modules {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.course-modules p {
  color: #fff;
}

.module-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* karta modula */
.card {
  background: #2C2C2C;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  margin: 10px 0;
  border: 2px solid #2C2C2C !important;
  border-radius: 20px !important;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  padding: 5px !important;
}

.card-body {
  padding: 15px;
  text-align: center;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif !important;
}

.card-paragraf {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.8) !important;
}

@media (min-width: 1024px) {
  .module-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==============================
   PRICING
============================== */

.pricing-plans {
  color: #fff;
  padding: 40px 20px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

.plan {
  background: #2C2C2C;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s ease-in-out;
}

.plan:hover {
  transform: translateY(-5px);
}

.plan img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.plan h3 {
  margin: 20px 0;
}

.plan ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.plan ul li {
  padding: 12px 12px 12px 30px;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 18px;
  margin-left: 4px;
  font-weight: 400;
}

/* check ikona */
.plan ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 18px;
  color: #4CAF50;
  position: absolute;
  left: 5px;
}

/* lock samo za poslednji */
.plan ul .lock-item::before {
  content: "\f023";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #FFD700;
  font-size: 18px;
}

.price {
  font-size: 38px;
  font-weight: 700;
}

.price-glow {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 30px rgba(255, 255, 255, 0.4);
}

.period {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.8;
}


/* ==============================
   FAQ
============================== */

.faq-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.accordion {
  background-color: #1a1a1a;
  color: #fff !important;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  margin-top: 10px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.accordion:hover {
  background-color: #292929;
}

.accordion.active {
  background-color: #0056b3;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 86, 179, 0.6);
}

/* strelica */
.accordion::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  font-size: 18px;
  transition: transform 0.3s ease-in-out;
  color: #fff;
}

.accordion.active::after {
  transform: rotate(180deg);
}

.panel {
  padding: 0 18px;
  background-color: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
  border-radius: 0 0 5px 5px;
}

.panel p {
  padding: 15px 0;
  font-size: 16px;
  color: #fff;
}


/* ==============================
   COURSE CARDS (ako koristiš na drugim stranicama)
============================== */

.course-card {
  background: #1f1f1f;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0px 15px 0px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease-in-out;
  margin: 25px 5px;
}

.course-card img {
  width: 100%;
  border-radius: 8px;
}

.course-card h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 15px 0 10px;
}

.course-card p {
  color: #aaa;
  font-size: 16px;
  font-weight: 400;
}

.course-card:hover {
  transform: scale(1.05);
}



/* ==============================
   BLUR BACKGROUND BEHIND FIXED NAV
   (zalijepi NA KRAJ)
============================== */

.nav-main {
  /* stakleni efekat */

  backdrop-filter: blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;

  /* opcionalno: fina linija dole */
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ako želiš još jači blur samo na desktopu */
@media (min-width: 992px) {
  .nav-main {
  
    backdrop-filter: blur(16px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  }
}

/* ako želiš malo jači "glass" na telefonu */
@media (max-width: 991.98px) {
  .nav-main {
  
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }
}



/* =========================================
   CONTACT PAGE – TYPO & FORM COLORS
========================================= */

.contact-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.contact-text {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

/* labeli u formi */
.contact-form .form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #ffffff;
}

/* inputi / textarea na tamnoj pozadini */
.contact-form .form-control {
  background-color: #141414;
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffffff;
  border-radius: 12px;
  min-height: 35px;
  
  max-height: 200px;
}

.contact-form .form-control:focus {
  background-color: #141414;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.contact-form .form-control::placeholder {
  color: rgba(255,255,255,0.45);
}

/* malo lakši stack na mobilnom */
@media (max-width: 767.98px) {
  .contact-wrapper {
    margin-top: 10px;
  }
  .contact-card {
    margin-bottom: 18px;
  }
}


/* =========================================
   CONTACT PAGE – SOCIAL ICONS
========================================= */

.contact-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* krugovi oko ikonica */
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
  backdrop-filter: blur(3px);
  color: #ffffff;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

/* ikonica unutra */
.contact-socials i {
  font-size: 17px;
  color: #ffffff;
}

/* hover efekat */
.contact-socials a:hover {
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.4);
  transform: translateY(-2px) scale(1.05);
  opacity: 1;
}

/* na mobilu centriraj mreže ispod naslova */
@media (max-width: 767.98px) {
  .contact-socials {
    justify-content: center;
  }
}


/* =========================================
   CONTACT PAGE – INFO ICONS + LINKS
   (WhatsApp / Email / Adresa)
========================================= */

.contact-details {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
}

/* IKONICA + LABEL u istom redu, opis ispod */
.contact-item {
  display: flex;
  align-items: flex-start;   /* ikonica se poravna s prvim redom teksta */
  gap: 10px;
  margin-bottom: 18px;
}

/* krug iza ikonice */
.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(3px);
}

/* sama ikonica */
.contact-icon i {
  font-size: 15px;
  color: #ffffff;
  opacity: 0.95;
}

/* blok za tekst desno od ikonice */
.contact-body {
  display: flex;
  flex-direction: column;
}

/* labela: WHATSAPP / EMAIL / ADRESA
   → stoji u istom redu s ikonicom (prvi red),
   a opis/link ide U NOVOM REDU ispod */
.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.75);
  margin: 0 0 2px 0;
  display: block;            /* forsira novi red za opis */
}

/* običan tekst (bez <a>) */
.contact-item p,
.contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  margin: 0;
}

/* linkovi u detaljima + generički .contact-link */
.contact-link,
.contact-details a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

/* hover efekat: blago plavi akcenat */
.contact-link:hover,
.contact-details a:hover {
  color: #1e8bff;
  border-color: rgba(30,139,255,0.7);
  opacity: 1;
}
/* ==============================
   FOOTER (FINAL – ista pozadina kao sajt)
============================== */

.footer {
  position: relative;
  margin-top: 100px;
  padding-top: 3rem;
  padding-bottom: 2rem;

  /* ISTI GRADIENT KAO BODY */
  background: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(28,28,28,1) 30%,
    rgba(38,38,38,1) 50%,
    rgba(28,28,28,1) 70%,
    rgba(0,0,0,1) 100%
  );

  color: #f5f5f5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  animation: footerFadeIn 0.6s ease-out 0.1s both;
}

/* linkovi u footeru */
.footer a {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, letter-spacing 0.25s ease;
}

/* underline animacija */
.footer .list-unstyled a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transition: width 0.25s ease;
}

.footer .list-unstyled a:hover::after {
  width: 100%;
}

.footer a:hover {
  color: #ffffff;
  opacity: 1;
  letter-spacing: 0.03em;
}

/* naslovi u footeru */
.footer h6 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* animacija ulaska stupaca */
.footer-top-row > div {
  opacity: 0;
  transform: translateY(6px);
  animation: footerItemFade 0.5s ease-out forwards;
}

.footer-top-row > div:nth-child(1) { animation-delay: 0.1s; }
.footer-top-row > div:nth-child(2) { animation-delay: 0.18s; }
.footer-top-row > div:nth-child(3) { animation-delay: 0.26s; }

/* list item spacing */
.footer .list-unstyled li + li {
  margin-top: 4px;
}

/* red sa BRZIM LINKOVIMA */
.footer-social-row {
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  animation: footerItemFade 0.5s ease-out 0.34s forwards;
}

/* ikonice – samo malo veći gap */
.footer-socials {
  display: inline-flex;
  gap: 16px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.9;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 55%);
  backdrop-filter: blur(2px);
  text-decoration: none !important;
  color: #fff;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.footer-socials a:hover {
  opacity: 1;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.06);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22), transparent 60%);
}

.footer-socials i {
  font-size: 16px;
  color: #ffffff !important;
}

/* border linija + copyright tekst */
.footer .border-top {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer .small {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
  font-size: 15px;
}

.footer .small span {
  font-weight: 600;
  color: #ffffff;
}

/* animacije */
@keyframes footerFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes footerItemFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* responsive footer */
@media (max-width: 767.98px) {
  .footer { text-align: left; }
  .footer-top-row > [class^="col-"] { margin-bottom: 12px; }
  .footer-social-row,
  .footer .small { text-align: center; }
  .footer-socials { justify-content: center; }
}
