body{
    background-color: white;
    color:#1e3c72 ;
}

.navbar {
  background-color: #1e3c72 ;
  height: 90px;
  padding: 0 20px;
}

.navbar-brand img {
  height: 20vw;   /* logo bude 8% šírky obrazovky */
  max-height: 90px; 
  width: auto;
}

.nav-link {
  color: white;
  font-weight: 600; 
  font-size: 18px;
  margin: 0 15px;
  transition: 0.3s;
}

.nav-link:hover {
  color:#9e9e9e; /* zvýraznenie pri hoveri */
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: invert(100%);
}






/* Hero sekcia */
.main-hero {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  position: relative;
  overflow: hidden;
}


/* Vlna v pozadí */
.main-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150%;
  height: 120%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50% 50% 0 0;
  transform: translate(-10%, 40%);
  z-index: 0;
}

/* Hover efekt pre karty */
.hover-zoom {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-zoom:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.25);
}

.card, .crd{
  color: #1e3c72; 
}

.logo-card{
  height: 200px;
}

.btn-primary {
  background-color: #1e3c72;
  border-color: #1e3c72;
  color: white; 
  transition: 0.3s; 
}

.btn-primary:hover {
  background-color: white; 
  color: #1e3c72; 
  border-color: #1e3c72; 
}


/* Sekcia Prečo Skillnet */
.why-skillnet {
  background-color: #f8f9fa;
}





/* Footer */
.footer {
  background-color: #1e3c72;
  color: white;
  padding: 30px 0 20px 0;
}

.footer p {
  margin-bottom: 10px;
}

.footer h6 {
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Riadok vo footeri */
.footer-row {
  text-align: center;
  align-items: center;
}

/* Logo */
.footer-logo {
  height: 60px;  
  max-height: 120px;
  width: auto;
}

/* Logo link layout */
.footer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: white;
  text-decoration: none;
}

/* Na väčších obrazovkách zarovnať doľava */
@media (min-width: 768px) {
  .footer-logo-link {
    justify-content: flex-start;
  }
}

/* Odkazy */
.footer-link {
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-link:hover {
  color: #cfd8ff;
}

/* Oddelovacia čiara */
.footer hr {
  opacity: 0.3;
}

/* Spodný text */
.footer-bottom {
  text-align: center;
  opacity: 0.8;
}


/* ===== LEADERBOARD STRÁNKA ===== */


/* Tabuľka */
.leaderboard-table {
  background-color: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.leaderboard-table table thead {
  background-color: #1e3c72;
  color: white;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.leaderboard-table table th,
.leaderboard-table table td {
  vertical-align: middle;
  text-align: center;
}

.leaderboard-table table tbody tr:hover {
  background-color: #eaf0ff;
  transition: background-color 0.3s ease;
}

/* ===== PROFIL STRÁNKA ===== */

.profile-section {
  background-color: #f8f9fa;
  min-height: 100vh;
}

.profile-card {
  background: linear-gradient(135deg, #ffffff, #f3f6ff);
  border-radius: 1.5rem;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #1e3c72;
  object-fit: cover;
}

.profile-card .btn {
  font-weight: 600;
  border-radius: 10px;
  transition: 0.3s;
}

.profile-card .btn:hover {
  transform: translateY(-2px);
}

.stat-card {
  background-color: #fff;
  border: 2px solid #e5e9f2;
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
}








/* ===== Accordion štýl ===== */
.accordion-button {
  background-color: #1e3c72; /* rovnaké ako navbar/footer */
  color: white;
  font-weight: 600;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  transition: 0.3s;
}

.accordion-button:focus {
  box-shadow: none; /* odstráni modrý outline pri kliknutí */
}

.accordion-button:not(.collapsed) {
  background-color: #2a5298; /* tmavší odtieň pri otvorenom stave */
  color: white;
}

.accordion-button:hover {
  background-color: #2a5298; /* jemný hover efekt */
}

.accordion-body {
  background-color: #f8f9fa; /* jemne svetlý kontrast k tlačidlu */
  color: #000;
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1rem;
}

.accordion-item {
  border: none; /* odstráni default border */
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}



/* ===== Login/Register stránka ===== */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.login-page::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 150%;
  height: 150%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-10%, 40%);
  z-index: 0;
}

/* Box */
.login-box {
  background: white;
  color: #000;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.3);
  padding: 2.5rem 3rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Logo */
.login-box img {
  width: 150px;
  margin-bottom: 1rem;
}

/* Nadpis */
.login-box h2 {
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 1rem;
}

/* Inputy */
.form-control {
  border-radius: 10px;
  border: 2px solid #dcdcdc;
  transition: 0.3s;
}

.form-control:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

/* Label */
label {
  font-weight: 600;
  color: #333;
}

/* Tlačidlo */
.btn-primary {
  background-color: #1e3c72;
  border-color: #1e3c72;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #fff;
  color: #1e3c72;
  border-color: #1e3c72;
  transform: translateY(-2px);
}

/* Odkaz pod formulárom */
.login-box .form-text a {
  color: #1e3c72;
  text-decoration: none;
  font-weight: 600;
}

.login-box .form-text a:hover {
  text-decoration: underline;
}

/* ===== Responzivita podľa výšky obrazovky ===== */
@media (max-height: 840px) {

  .login-box {
    padding: 1.8rem 2rem;
    max-width: 360px;
    border-radius: 1.2rem;
  }

  .login-box img {
    width: 110px;
    margin-bottom: 0.7rem;
  }

  .login-box h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  .login-box p {
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
  }

  .form-control {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
  }

  label {
    font-size: 0.85rem;
  }

  .btn-primary {
    padding: 0.5rem;
    font-size: 0.95rem;
  }

}







