:root {
  --navy: #1E2A38;
  --yellow: #FFD43B;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --sky: #8ED1FC;
  --green: #C6F68D;
  --pink: #FFB6C1;
  --orange-light: #FFEB99;
}

/* Reset */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--navy);
  background: var(--white);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 16px;
}

/* Logo */
.logo a img {
  height: 54px;
  vertical-align: middle;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo a:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px var(--yellow));
}
@media (min-width: 1440px) { .logo a img { height: 72px; } }
@media (min-width: 2000px) { .logo a img { height: 84px; } }

/* Navigation */
.main-menu ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.main-menu a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.main-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 0%;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}
.main-menu a:hover {
  transform: translateY(-2px);
  color: var(--yellow);
}
.main-menu a:hover::after {
  width: 70%;
}

/* CTA Button */
.cta-btn {
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(255, 212, 59, 0);
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 212, 59, 0.4);
}

/* Hero */
.hero {
  background: var(--light) url('../images/hero.jpg') center/cover no-repeat;
}
.hero .overlay { background: rgba(255,255,255,0.8); }
.hero .container { padding: 90px 16px; text-align: center; }
.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.hero h1 span {
  font-weight: 600;
  font-size: 0.8em;
  color: var(--navy);
}
.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0 0 24px;
}
.btn-main {
  display: inline-block;
  background: linear-gradient(90deg, var(--yellow), var(--orange-light));
  color: var(--navy);
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(255, 212, 59, 0.4);
}

/* Features Section */
.features {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 60%, #f2f4f5 100%);
  border-top: 6px solid var(--light);
  border-bottom: 6px solid var(--light);
}
.features .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 48px 0;
}
.feature {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(30,42,56,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 320px;
}
.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(30,42,56,0.1);
  border-color: rgba(255,212,59,0.4);
}
.feature-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}
.feature:hover .feature-img { transform: scale(1.05); }

/* Reviews */
.reviews {
  background: var(--light);
  border-top: 6px solid var(--sky);
  border-bottom: 6px solid var(--pink);
}
.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.review {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  border: 2px solid rgba(255,212,59,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.review:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 16px rgba(0,0,0,0.1);
}

/* Video Demo */
.video-demo {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 60%, #f2f4f5 100%);
  border-top: 6px solid var(--light);
  border-bottom: 6px solid var(--light);
  text-align: center;
}
.video-demo video {
  max-width: 900px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 10px 25px rgba(30,42,56,0.1);
  border: 1px solid rgba(30,42,56,0.08);
  border-radius: 16px;
}

/* ========================= */
/* COURSES PAGE STYLES       */
/* ========================= */
.courses-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 60%, #f3f5f6 100%);
  border-top: 6px solid var(--light);
  border-bottom: 6px solid var(--light);
  text-align: center;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  padding: 40px 0;
}
.course-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(30,42,56,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.course-body { padding: 20px; }
.course-body h3 { margin: 0 0 10px; font-size: 20px; }
.course-body p { margin: 0; color: #334; font-size: 16px; }
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(30,42,56,0.12);
  border-color: rgba(255,212,59,0.4);
}

/* ========================= */
/* TRIAL PAGE STYLES         */
/* ========================= */
.trial-hero {
  background: url('https://images.pexels.com/photos/8612992/pexels-photo-8612992.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
}
.trial-hero .overlay {
  background: rgba(255,255,255,0.85);
  padding: 90px 16px;
  text-align: center;
}
.trial-section {
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 60%, #f3f5f6 100%);
}
.trial-card {
  background: var(--white);
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(30,42,56,0.08);
  border: 1px solid rgba(30,42,56,0.08);
  max-width: 640px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30,42,56,0.12);
}
.form {
  display: grid;
  gap: 14px;
}
.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfd8dc;
  font: inherit;
}
button.primary {
  background: linear-gradient(90deg, var(--yellow), var(--orange-light));
  color: var(--navy);
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}
button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(255,212,59,0.4);
}
.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}
.secondary-btn {
  display: inline-block;
  text-align: center;
  background: var(--light);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.secondary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}
.note {
  text-align: center;
  color: #546e7a;
  margin-top: 10px;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 16px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--yellow);
  text-decoration: none;
}

/* General Utility */
.section { padding: 48px 0; }
h2.title { margin: 0 0 16px; font-size: clamp(22px, 3vw, 32px); }
.sub { margin: 0 0 22px; color: #334; }

@media (max-width: 900px) {
  .features .grid, .course-grid, .review-list { grid-template-columns: 1fr; }
  .main-menu ul { gap: 8px; }
}
/* ========================= */
/* CONTACT PAGE STYLES ONLY  */
/* ========================= */
.contact-hero .overlay {
  background: rgba(255,255,255,0.85);
  padding: 90px 16px;
  text-align: center;
}

.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 60%, #f3f5f6 100%);
  border-top: 6px solid var(--light);
  border-bottom: 6px solid var(--light);
  text-align: center;
}

.contact-card {
  background: var(--white);
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(30,42,56,0.08);
  border: 1px solid rgba(30,42,56,0.08);
  max-width: 500px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30,42,56,0.12);
}

.contact-details p {
  margin: 10px 0;
  font-size: 18px;
  color: var(--navy);
}

.contact-qr {
  width: 180px;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


/* === V4 header sizing & sticky fix === */
:root { --header-h: 80px; }
.site-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  height: var(--header-h) !important;
  display: flex !important;
  align-items: center !important;
  z-index: 1000 !important;
}
.site-header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
.logo img {
  max-height: 48px !important;
  height: 48px !important;
  width: auto !important;
  display: block !important;
}
.main-menu ul { 
  display: flex !important; 
  gap: 20px !important; 
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.cta-btn { 
  line-height: 1 !important; 
  padding: 10px 16px !important; 
  border-radius: 8px !important; 
  text-decoration: none !important;
}
/* Prevent overlap: push content below fixed header */
.site-main { 
  margin-top: calc(var(--header-h) + 16px) !important; 
}
/* Make sure hero image/section is visible after margin change */
.hero, .banner, .masthead { 
  scroll-margin-top: calc(var(--header-h) + 16px); 
}
/* === Header & logo fine-tuning === */
:root { --header-h: 80px; }

/* visina headera i centriranje sadržaja */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 84px !important;        /* bilo 80px → spušta header malo niže */
  background-color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  z-index: 1000 !important;
  border: none !important;
  margin: 0 !important;
  padding: 6px 0 !important;      /* smanjuje prazan prostor gore */
}

.logo img {
  margin-top: 6px !important;     /* spušta logo još malo niže */
}

/* uklanja poslednji trag bele linije između headera i hero-a */
body, html {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.hero, .hero-section, .banner {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}
/* LOGO: malo veći i spušten par piksela */
.logo{ display: flex; align-items: center; }
.logo img{
  display: block !important;
  max-height: 60px !important;        /* veći logo */
  height: auto !important;
  width: auto !important;
  margin-top: 10px !important;         /* “spusti” logo mrvicu niže */
  transition: filter .25s ease, transform .25s ease !important;
}

/* ORIGINALNI žuti “glow” na hover (boja logotipa) */
.logo:hover img{
  transform: translateY(1px) scale(1.02);
  /* dva sloja žutog sjaja + blagi spoljašnji */
  filter:
    drop-shadow(0 0 6px #F1C40F)
    drop-shadow(0 0 12px rgba(241,196,15,.55))
    drop-shadow(0 2px 2px rgba(0,0,0,.15));
}

/* nema bele linije između headera i hero-a */
html, body{ margin:0 !important; padding:0 !important; }
.hero, .hero-section, .banner{ margin-top:0 !important; padding-top:0 !important; }
.site-main{ margin-top: calc(var(--header-h) + 8px) !important; } /* da sadržaj ne ulazi ispod fiksiranog headera */
/* === Fine-tune header nav and button alignment (without logo) === */
.site-header,
header,
.navbar,
.main-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 30px !important;   /* spušta ceo sadržaj headera */
  padding-bottom: 4px !important;
}

/* spušta navigaciju (Home, Courses, Trial, Pricing, Contact) */
.navbar-nav,
.menu,
.site-navigation {
  margin-top: 30px !important;
}

/* spušta Book a Trial dugme proporcionalno */
.header-button,
.book-trial,
.book-btn {
  margin-top: 30px !important;
}
/* === Pricing only: force light background === */
.pricing-section,
section.pricing,
.pricing-table,
.pricing-hero,
.pricing-wrapper {
  background: #f9fafb !important;
}

/* Ako je roditelj main/site-content povukao tamno, izravnaj ga: */
.site-content,
.site-main,
main {
  background: transparent !important;
}

/* Bezbedno: ostale stranice ostaju kakve jesu,
   jer targetiramo samo pricing sekcije klasama iz tvog CSS-a. */


