/* Globálny základný font */
body {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #45aeab;
  color: #FEFFFF;
  }
  
  /* Nadpisy */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
  }
  
  /* Navbar odkazy */
  .navbar .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
  }
  
  /* Tlačidlá */
  .btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
  }

  .modern-nav {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
  }
  
  .modern-nav:hover {
    color: #FFD700;
    transform: translateY(-2px);
  }
  
  .navbar-toggler {
    border: none;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  
  /* === Hero Sekcia === */
.hero-fullscreen {
    height: 100vh;
    background-image: url('../imgs/pozadie.jpg'); /* uprav podľa skutočnej cesty */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-fullscreen .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* tmavý filter nad obrázok */
    z-index: 0;
  }
  
  .hero-fullscreen .content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
    padding: 20px;
  }
  
  /* Nadpis */
  .hero-fullscreen h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 2rem;
  }
  
  /* Formulár */
  .search-form {
    padding: 0;
  }
  
  .search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px; /* väčšie medzery medzi poľami */
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 16px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  
  .search-box:focus-within {
    box-shadow: 0 0 0 4px rgba(58, 175, 169, 0.4);
  }
  
  /* Polia */
  .custom-input {
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    padding: 0 20px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 1rem;
  }
  
  .custom-input::placeholder {
    color: #aaa;
  }
  
  /* Tlačidlo s lupou */
  .search-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #3AAFA9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background 0.3s ease;
  }
  
  .search-box {
    transition: gap 0.3s ease;
  }
  .search-box:focus-within {
    gap: 32px;
  }
  
  
  .search-btn:hover {
    background-color: #45aeab;
  }
  
  /* SVG lupa v tlačidle */
  .search-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
  }
  
  /* === Responzivita pre mobily === */
  @media (max-width: 768px) {
    .hero-fullscreen h1 {
      font-size: 1.5rem;
      line-height: 1.4;
      padding: 0 20px;
    }
  
    .search-box {
      flex-direction: column;
      gap: 16px;
      padding: 20px;
      border-radius: 30px;
      width: 90%;
    }
  
    .custom-input,
    .search-btn {
      width: 100%;
      max-width: none;
    }
  
    .search-btn {
      height: 48px;
      border-radius: 25px;
      background-color: #3AAFA9;
    }
  
    .search-btn svg {
      width: 20px;
      height: 20px;
    }
  }

  /*Prva sekcia home*/
  .how-it-works {
    background-color: #f5fafa;
    color: #17252A;
  }
  
  .section-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 2rem;
  }
  
  .section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    color: #3a3a3a;
    font-size: 1rem;
  }
  
  .text-highlight {
    color: #3AAFA9;
  }
  
  .feature-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }
  
  .icon-box {
    font-size: 2.5rem;
    color: #3AAFA9;
  }
  
/*druha sekcia*/
.section-divider {
    position: relative;
    background-color: #45aeab;
    color: white;
    overflow: hidden;
  }
  
  .section-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    display: block;
  }
  
  .section-divider .container {
    position: relative;
    z-index: 2;
  }
  
  .section-divider h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.75rem;
  }
  
  .section-divider p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
  }
  
  .section-divider .btn {
    background-color: #3AAFA9;
    border: none;
    border-radius: 30px;
    font-weight: 600;
  }
  
  .section-divider .btn:hover {
    background-color: #45aeab;
    color: #fff;
  }  

  /*tretia sekcia*/
  .latest-companies {
    background-color: #fff;
    color: #17252A;
  }
  
  .company-card {
    background-color: #fefefe;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  
  .company-logo {
    font-size: 2.5rem;
    color: #3AAFA9;
  }
  
  .company-location {
    font-size: 0.9rem;
  }
  
  .company-desc {
    font-size: 0.95rem;
    color: #333;
  }
  

/*stvrta sekcia*/
.why-trust {
    background-color: #418f8c;
  }
  
  .why-trust h2,
  .why-trust p,
  .why-trust li {
    color: #FEFFFF;
  }
  
  .why-trust i {
    font-size: 1.2rem;
  }
  

/*piata sekcia*/
.testimonials {
    background-color: #f5fafa;
    color: #17252A;
  }
  
  .testimonial-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
  }
  
  .testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .testimonials h6 {
    font-weight: 600;
    margin-top: 1rem;
  }
  

/*siesta sekcia*/
.stats-section {
    background-color: #f5fafa;
    color: #17252A;
  }
  
  .stat-box {
    background: white;
    border-radius: 1rem;
    padding: 30px 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .stat-box:hover {
    transform: translateY(-5px);
  }
  
  .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #45aeab;
  }
  
  .stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 10px;
  }
/*siedma sekcia*/
.cta-section {
    background-color: #45aeab;
    background-image: linear-gradient(135deg, #45aeab 0%, #3AAFA9 100%);
    color: #FEFFFF;
  }
  
  .cta-section .btn {
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .cta-section .btn:hover {
    background-color: #DEF2F1;
    color: #17252A;
  }

  /*footer*/
  .site-footer {
    background-color: #17252A;
    color: #FEFFFF;
    font-size: 0.95rem;
  }
  
  .site-footer a.footer-link {
    color: #FEFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .site-footer a.footer-link:hover {
    color: #FFD700;
  }
  
  .site-footer .social-icons a {
    color: #3AAFA9;
    font-size: 1.25rem;
    transition: color 0.3s ease;
  }
  
  .site-footer .social-icons a:hover {
    color: #FFD700;
  }

  
/*about*/
.about-hero {
    background: linear-gradient(135deg, #45aeab, #3AAFA9);
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
  }
  
  .about-hero h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
  }
  
  .about-vision,
  .about-story,
  .about-values {
    font-family: 'Inter', sans-serif;
    color: #17252A;
  }
  
  .about-values .value-card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .about-values .value-card:hover {
    transform: translateY(-5px);
  }
  
  .cta-section {
    background-color: #45aeab;
    background-image: linear-gradient(135deg, #45aeab 0%, #3AAFA9 100%);
    color: #FEFFFF;
  }
  
  .cta-section .btn {
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .cta-section .btn:hover {
    background-color: #DEF2F1;
    color: #17252A;
  }
  

  /*register*/
  

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

input, button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

button {
    background-color: #3AAFA9;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45aeab;
}

.error-box, .success-box {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.error-box {
    background: #ffe5e5;
    color: #a00;
}

.success-box {
    background: #e7fbe7;
    color: #206a20;
}

/* --- HERO SEARCH BAR (fix zarovnania) --- */
.search-form{
  /* box okolo vyhľadávača (nechaj, alebo odstráň, podľa dizajnu) */
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);

  /* layout */
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto; /* input, kat., mesto, tlačidlo */
  gap: 12px;
  align-items: center;
}

/* spoločné pre input aj select – rovnaká výška a zaoblenie */
.search-form .custom-input{
  height: 56px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  outline: none;
  font-size: 1rem;
  min-width: 0;           /* nech pekne zmenšujú v gride */
}

/* špeciálne pre selecty – šípka a zvislé centrovanie textu */
.search-form .form-select.custom-input{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 48px;               /* miesto pre šípku */
  background-position: right 18px center; /* šípka do stredu výšky */
}

/* tlačidlo s lupou – rovnaký rozmer ako polia */
.search-form .search-btn{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #3AAFA9;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.search-form .search-btn:hover{ background-color:#45aeab; }

/* mobile stack */
@media (max-width: 768px){
  .search-form{
    grid-template-columns: 1fr;
    border-radius: 24px;
    padding: 16px;
  }
  .search-form .search-btn{
    width: 48px; height: 48px; border-radius: 12px;
    justify-self: stretch;          /* tlačidlo na plnú šírku */
  }
}

/* ==== NAVBAR – MOBILE CLEANUP ==== */
@media (max-width: 991.98px){ /* Bootstrap lg breakpoint */

  /* celý panel po rozbalení */
  .navbar .navbar-collapse{
    background:#0f1d21;               /* jemne tmavšie než #17252A */
    border-radius:16px;
    padding:12px 16px;
    margin-top:12px;
  }

  /* hamburger – žiadne okraje, žiadny "glow" */
  .navbar .navbar-toggler{
    border:0 !important;
    box-shadow:none !important;
    outline:none !important;
    padding:.35rem .5rem;
    border-radius:10px;                /* jemné zaoblenie ikony */
    background:transparent;
  }
  .navbar .navbar-toggler:focus,
  .navbar .navbar-toggler:hover{
    background:rgba(255,255,255,.06);
  }

  /* menu položky na stred a s vyváženým riadkovaním */
  .navbar .navbar-nav{
    width:100%;
    align-items:center;
    text-align:center;
    gap:0;                             /* riadkujeme cez padding */
  }
  .navbar .nav-link{
    width:100%;
    padding:.65rem 0;
    font-size:1.05rem;
    letter-spacing:.2px;
    color:#fff !important;
    opacity:.95;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link:focus{
    opacity:1;
    background:rgba(255,255,255,.06);
    border-radius:8px;
  }

  /* blok s prihlásením – centrovaný a zjednotený */
  .navbar .d-flex.align-items-center{
    width:100%;
    justify-content:center;
    margin-top:8px;
  }
  .navbar .btn.btn-outline-light{
    border-width:1px;
    padding:.5rem .9rem;
    border-radius:10px;
  }
}

/* na väčších obrazovkách nech je všetko ako doteraz */
@media (min-width: 992px){
  .navbar .navbar-collapse{
    background:transparent;
    padding:0; margin:0;
  }
}

@media (max-width: 991.98px){
  .navbar .nav-link + .nav-link{ border-top:1px solid rgba(255,255,255,.06); }
}
