/* Reset a základ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Celé pozadie stránky */
body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  background-image: url("../assets/images/background.jpeg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  background-color: #f1f8f5;
}




/* Hlavička */
.site-header {
  width: 90%;
  height: 100px;
  max-width: 1700px;
  margin: 20px auto 0 auto; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #498c4b;
  color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}


.admin-info {
  font-size: 14px;
  color: #ffffff;
  background: #498c4b;
  padding: 3px 10px;
  border-radius: 6px;
}



/* Logo */
.logo img {
  width: 90px;
  height: 90px;
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.05);
}

/* Hlavné menu */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav > ul > li > a,
.dropdown-toggle {
  position: relative;
  padding: 5px 10px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
  background: transparent;
  border: 2px solid transparent;
}
.main-nav > ul > li > a:hover,
.dropdown-toggle:hover {
  background: #536d53;
   cursor: pointer;
  color: #ffffff;
 
}

/* Dropdown menu */
.dropdown { position: relative; }
.dropdown-toggle .arrow { display:inline-block; transition: transform 0.3s ease; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #488c4a;
  border-radius: 0 0 8px 8px;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block;
  padding: 12px 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.dropdown-menu a:hover {
  background-color: #536d53;
  color: #ffffff;
}
.dropdown.open .dropdown-menu {
 background-color: #488c4a; 
 color: #488c4a;
 opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
    display: flex;           /* umožní použiť gap */
  flex-direction: column;  /* položky idú pod seba */
  gap: 4px; 
}
.dropdown.open .arrow { transform: rotate(180deg); }



/* Hero sekcia */
.hero {
  position: relative;
  width: 90%;
  max-width: 1700px;
  min-height: 500px;
  margin: 50px auto;
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: opacity 1s ease;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.5); 
}



.hero-content {
  position: relative;
  z-index: 2;
}
.hero-btn {
  position: absolute;
  right: 30px;
  bottom: 30px;
  background: #488c4a;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  z-index: 2;
  transition: all 0.3s ease;
}
.hero-btn:hover { background: #536d53; color: #ffffff; }
/* Nadpis hero sekcie */
.hero h1 {
  font-size: 4em;
  font-weight: 900;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* Podnadpis hero sekcie */
.hero p {
  font-size: 1.6em;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Obsah */
.content {
  max-width:1700px;
  margin:50px auto 70px auto;
  padding:30px;
  background-color: rgba(255,255,255,0.85);
  border-radius:15px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}
.content h2 { color:#488c4a; margin-bottom:20px; font-size:2em; }

/* Triedy */
.class-list { display:flex; flex-wrap:wrap; gap:20px; }
.class-card {
  flex:1 1 300px;
  background: rgba(255,255,255,0.85);
  padding:20px;
  border-radius:10px;
  box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

/* Galéria */
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.gallery-images div {
  flex: 1 1 calc(33.333% - 10px);
  max-width: 300px;
  height: 200px;
  position: relative;
  overflow: hidden;
  border: 2px solid #488c4a;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255,0.85);
}
.gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Kontakt */
.contact-dark {
  background: rgba(255,255,255,0.85);
  color: #488c4a;
  padding: 60px 40px;
  text-align: center;
  max-width: 1700px;
  margin: 50px auto;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.contact-dark h2 { font-size: 2.5em; font-weight: 700; margin-bottom: 30px; color: #0D9133; }
.contact-dark .contact-intro { font-size: 1.2em; margin-bottom: 40px; color: #0D9133; }

/* Info bloky */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}
.info-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 1 250px;
  background: #488c4a;
  color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: default;
  text-align: center;
}
.info-item:hover {
  background: #536d53;
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.info-item .icon {
  width: 40px;
  color: #ffffff;
  height: 40px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.info-item:hover .icon {color: #ffffff; }
.info-item p { text-align: center; margin: 0; font-size: 1.1em; color: inherit; }

/* Kontakt-form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  resize: vertical;
}
.contact-form button {
  width: 150px;
  padding: 12px 20px;
  background-color: #488c4a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  align-self: flex-start;
  transition: background 0.3s ease, transform 0.3s ease;
}
.contact-form button:hover {
  background-color: #536d53;
  color:#ffffff;
  transform: translateY(-2px);
}


.full-section-width {
  width: 90%;
  max-width: 1700px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: rgba(255,255,255,0.85);
}


.text-center {
  text-align: center;
}

/* Zamestnanci */


.gallery-images div {
  flex: 1 1 calc(33.333% - 10px);
  max-width: 300px;
  height: 200px; 
  position: relative;
  overflow: hidden;
  border: 2px solid #0D9133;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255,0.85);
}

.gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}



/* Hero prechod obrazkov */
.hero {
  transition: background-image 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Aktivity */
.activity-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}
.activity-text {
  flex: 1 1 400px;
  text-align: center;
}
.activity-img {
  flex: 1 1 250px;
  text-align: center;
}
.activity-img img {
  width: 150px;
}


ackground-color: rgba(255,255,255,0.85);
}


.text-center {
  text-align: center;
}

/* Zamestnanci */
.staff-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
}
.staff-column {
  flex: 1;
  min-width: 300px;
}
.staff-card {
  background: #ffffff;
  border: 2px solid #0D9133;
  border-radius: 15px;
  padding: 20px;
  margin: 15px auto;
  width: 250px;
  text-align: center;
}
.staff-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Aktivity */
.activity-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}
.activity-text {
  flex: 1 1 400px;
  text-align: center;
}
.activity-img {
  flex: 1 1 250px;
  text-align: center;
}
.activity-img img {
  width: 150px;
}
/* Hover efekt pre články */
.gallery-images div {
  flex: 1 1 calc(33.333% - 10px);
  max-width: 300px;
  height: 200px;
  position: relative;
  overflow: hidden;
  border: 2px solid #0D9133;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255,0.85);
  transition: all 0.3s ease; 
}

.gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease; 
}

.gallery-images div:hover {
  background-color: #0D9133; 
  border-color: #ffffff;      
}

.gallery-images div:hover img {
  filter: brightness(0.8); 
}
/* =========================
   HAMBURGER – SKRYTÝ NA DESKTOPE
   ========================= */
.nav-toggle {
  display: none;
}
/* =========================
   STICKY FOOTER – FUNGUJE VŠADE
   ========================= */

.site-footer {
  margin-top: auto; /* 🔥 JEDINÝ DÔLEŽITÝ RIADOK */

  background: #2a5934;
  color: white;
  text-align: center;
  padding: 15px 0;
}


.page-content {
  flex: 1;
}
/* =========================
   JEDNOTNÁ ŠÍRKA OBSAHU STRÁNOK
   ========================= */

.page-content {
  width: 90%;
  max-width: 1700px;
  margin: 40px auto 70px auto;
  padding: 0;
}

