/* Resetování základních stylů pro prohlížeče */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/* Tělo stránky */
body {
  font-family: 'Yu Gothic UI Semibold', sans-serif;
  line-height: 1.6;
  background-color: #444;
  color: #fff;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background-color: #000;
  height: 100px;
  width: 100%;
  color: #ee7a11;
}

/* logo – menší a vlevo */
.logo {
  max-width: 80px;
  height: auto;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Navigační odkazy – napravo od loga */
#nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

#nav-links li {
  list-style: none;
}

#nav-links li a {
  color: #ee7a11;
  text-decoration: none;
  font-size: 1.2rem;
}

#nav-links li a:hover {
  color: #ee7a11;
}

/* Tlačítko menu (pro mobil) */
#menu-toggle {
  display: none;
  background: #000;
  color: #ee7a11;
  border: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hlavní část stránky */
main {
  padding: 2rem;
}

h1, h2, h3 {
  color: #fff;
  margin-bottom: 1rem;
}

h2 {
  text-align: left;
  margin-bottom: 2rem;
}

/* Styly pro formuláře */
form {
  background-color: #555;
  color: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.05);
  max-width: 600px;
  margin: 0 auto;
  margin-top: 2rem;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #999;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
}

form input[type="submit"] {
  background-color: #000;
  color: #ee7a11;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

form input[type="submit"]:hover {
  background-color: #ee7a11;
  color: #000;
  box-shadow: 0 0 15px #ee7a11;
}

/* Galerie */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 2rem 0;
}

.image-wrapper {
  width: 100%;
  max-width: 600px;
}

.galerie-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

/* Komentáře */
#comments-section {
  margin-top: 2rem;
}

.comment {
  background-color: #555;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.05);
}

/* Popisky na obrázcích v galerii */
.image-wrapper {
  position: relative;
  overflow: hidden;
}

.image-wrapper .portfolio-img {
  display: block;
  width: 100%;
  height: auto;
}

.caption {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 0.95rem;
  transition: bottom 0.3s ease-in-out;
}

.image-wrapper:hover .caption {
  bottom: 0;
}

/* Tlačítko recenze */
.btn-recenze {
  background-color: #ee7a11;
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 2rem auto;
  display: block;
}

.btn-recenze:hover {
  background-color: #ff9933;
  transform: scale(1.05);
  box-shadow: 0 0 15px #ee7a11;
}

/* Zpět na hlavní stránku – tlačítko */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #444;
  text-decoration: none;
  font-weight: bold;
  background-color: #ee7a11;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  transition: 0.3s ease;
}

.back-link:hover {
  background-color: #ff9933;
  color: #000;
  box-shadow: 0 0 15px #ee7a11;
}

form input[type="submit"] {
  background-color: #000;
  color: #ee7a11;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  margin-top: 1rem;
}

form input[type="submit"]:hover {
  background-color: #ee7a11;
  color: #000;
}

/* Galerie */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 2rem 0;
}

.image-wrapper {
  width: 100%;
  max-width: 600px;
}

.galerie-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

/* Komentáře */
#comments-section {
  margin-top: 2rem;
}

.comment {
  background-color: #555;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.05);
}

/* Popisky na obrázcích v galerii */
.image-wrapper {
  position: relative;
  overflow: hidden;
}

.image-wrapper .portfolio-img {
  display: block;
  width: 100%;
  height: auto;
}

.caption {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 0.95rem;
  transition: bottom 0.3s ease-in-out;
}

.image-wrapper:hover .caption {
  bottom: 0;
}
.btn-recenze {
  background-color: #ee7a11; /* oranžová z loga */
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 2rem auto;
  display: block;
}

.btn-recenze:hover {
  background-color: #ff9933;
  transform: scale(1.05);
  box-shadow: 0 0 15px #ee7a11;
}@media (max-width: 768px) /* Resetování základních stylů pro prohlížeče */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/* Tělo stránky */
body {
  font-family: 'Yu Gothic UI Semibold', sans-serif;
  line-height: 1.6;
  background-color: #444;
  color: #fff;
}

/* Navigace */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background-color: #000;
  height: 100px;
  width: 100%;
  color: #ee7a11;
}

/* logo – menší a vlevo */
.logo {
  max-width: 80px;
  height: auto;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Navigační odkazy – napravo od loga */
#nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

#nav-links li {
  list-style: none;
}

#nav-links li a {
  position: relative;
  color: #ee7a11;
  text-decoration: none;
  font-size: 1.2rem;
  padding-bottom: 4px;
}

#nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ee7a11;
  transition: width 0.3s ease-in-out;
}

#nav-links li a:hover::after {
  width: 100%;
}

/* Tlačítko menu (pro mobil) */
#menu-toggle {
  display: none;
  background: #000;
  color: #ee7a11;
  border: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hlavní část stránky */
main {
  padding: 2rem;
}

h1, h2, h3 {
  color: #fff;
  margin-bottom: 1rem;
}

h2 {
  text-align: left;
  margin-bottom: 2rem;
}

/* Formuláře */
form {
  background-color: #555;
  color: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.05);
  max-width: 600px;
  margin: 2rem auto 0 auto;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #999;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
}

form input[type="submit"] {
  background-color: #000;
  color: #ee7a11;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

form input[type="submit"]:hover {
  background-color: #ee7a11;
  color: #000;
  box-shadow: 0 0 15px #ee7a11;
}

/* Galerie */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 2rem 0;
}

.image-wrapper {
  width: 100%;
  max-width: 600px;
  position: relative;
  overflow: hidden;
}

.galerie-img, .portfolio-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.caption {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 0.95rem;
  transition: bottom 0.3s ease-in-out;
}

.image-wrapper:hover .caption {
  bottom: 0;
}

/* Komentáře */
#comments-section {
  margin-top: 2rem;
}

.comment {
  background-color: #555;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.05);
}

/* Tlačítko recenze */
.btn-recenze {
  background-color: #ee7a11;
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 2rem auto;
  display: block;
}

.btn-recenze:hover {
  background-color: #ff9933;
  transform: scale(1.05);
  box-shadow: 0 0 15px #ee7a11;
}

/* Zpět na hlavní stránku */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #444;
  text-decoration: none;
  font-weight: bold;
  background-color: #ee7a11;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  transition: 0.3s ease;
}

.back-link:hover {
  background-color: #ff9933;
  color: #000;
  box-shadow: 0 0 15px #ee7a11;
}

/* Mobilní verze */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    font-size: 1.5rem;
    background-color: transparent;
    color: #ee7a11;
    border: 2px solid #ee7a11;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 1rem;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    text-align: center;
  }

  #nav-links.visible {
    display: flex;
  }

  #nav-links li {
    margin: 10px 0;
  }
}
