
body {
  background-color: #1e1e1e;
  color: #f3f3f3;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  line-height: 1.6;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #121212;
  padding: 20px;
  border-bottom: 3px solid #ff7b00;
}

header img {
  height: 80px;
  margin-right: 20px;
  transition: transform 0.3s;
}

header img:hover {
  transform: rotate(-5deg) scale(1.1);
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #ff7b00;
}

header p {
  margin: 0;
  font-style: italic;
  color: #d0d0d0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #2b2b2b;
  border-bottom: 2px solid #ff7b00;
}

nav li {
  margin: 0;
}

nav a {
  display: block;
  padding: 15px 25px;
  color: #f3f3f3;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 3px;
  background: #ff7b00;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 50%;
}

nav a:hover {
  color: #ff7b00;
}

main {
  background-color: #2b2b2b;
  padding: 40px;
  margin: 30px auto;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1.2s ease-in-out;
}
.sponzori {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px; 
  padding: 20px 0;
}

.sponzori img {
  width: 150px;       
  height: 100px;      
  object-fit: contain;  
  background-color: white;
  padding: 10px;       
  border-radius: 10px; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
  transition: transform 0.2s ease;
}

.sponzori img:hover {
  transform: scale(1.05);
}
button {
  background-color: #ff7b00;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #ff9833;
  transform: scale(1.05);
}


footer {
  background-color: #1f1f1f;
  color: #dcdcdc;
  padding: 40px 60px 20px;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-left img {
  width: 80px;
  margin-bottom: 10px;
}

.footer-left p {
  max-width: 250px;
  color: #bbb;
}

.footer-right h3 {
  color: #ff7b00;
  margin-bottom: 10px;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin: 6px 0;
}

.footer-center a {
  color: #dcdcdc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-center a:hover {
  color: #ff7b00;
}

.social-icons a {
  color: #dcdcdc;
  font-size: 1.4rem;
  margin-right: 15px;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: #ff7b00;
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

.mapa {
  margin-top: 30px;
  text-align: center;
}

.map-container {
  border: 3px solid #ff7b00;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
}

.map-info {
  margin-top: 15px;
  color: #e0e0e0;
}

.map-info h3 {
  color: #ff7b00;
  font-size: 1.2rem;
}

.map-info p {
  margin: 5px 0 10px;
}

.map-button {
  display: inline-block;
  background-color: #ff7b00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

.map-button:hover {
  background-color: #ff9833;
  transform: scale(1.05);
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h2 {
  position: relative;
  color: #ff7b00;
  margin-bottom: 15px;
  text-transform: uppercase;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #ff7b00;
  border-radius: 2px;
}
a {
  color: #ff7b00;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px #ff7b00;
}
.cil-projektu {
  text-align: center;    
  max-width: 800px;     
  margin: 0 auto 40px;     
}

.cil-projektu h2 {
  margin-bottom: 20px;
}

.cil-projektu p {
  line-height: 1.6;
}


.map-container iframe {
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.3);
}
.projekt-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.projekt-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.3);
}

.projekt-text {
  flex: 1;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #121212;
  color: #aaa;
  border-top: 2px solid #ff7b00;
  font-size: 0.9rem;
}




@media (max-width: 992px) {

  header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  header img {
    width: 100px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  main {
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-left img {
    margin: 0 auto;
  }

  .footer-center ul {
    display: inline-block;
  }

  .sponzori {
    gap: 20px;
  }

  .sponzori img {
    max-width: 140px;
  }
   .footer-left p {
    text-align: center;
    margin: 0 auto;
  }
   .projekt-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .projekt-text {
    width: 100%;
  }

  .projekt-image img {
    max-width: 90%;
    margin-bottom: 20px;
  }
}


@media (max-width: 600px) {

  body {
    font-size: 0.95rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav ul {
    flex-direction: column;
    gap: 5px;
  }

  nav a {
    display: block;
    padding: 10px;
    border-radius: 8px;
    background-color: #2b2b2b;
  }

  nav a:hover {
    background-color: #ff7b00;
    color: #fff;
  }

  main {
    padding: 15px;
  }

  section h2 {
    font-size: 1.2rem;
  }

  .sponzori img {
    max-width: 110px;
  }

  footer {
    padding: 30px 20px;
  }

  .footer-content {
    gap: 25px;
    
  }

  .social-icons a {
    font-size: 1.2rem;
    margin-right: 10px;
  }
  .footer-bottom {
    text-align: center; 
    font-size: 0.8rem; 
  }
 
   .footer-left p {
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  header img {
    width: 80px;
  }

  header h1 {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 3px;
  }

  .sponzori img {
    max-width: 90px;
  }
}
