/* Reset & základy */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

form input,
form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 10px;
  border: none;
  background: #fff;
  color: #000;
  font-family: "Montserrat", sans-serif; 
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background-color: #1a1a1a;
  text-align: center;
}

.sidebar img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.sidebar a {
  display: block;
  color: #fff;
  padding: 20px 0;
  text-decoration: none;
  transition: background 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #000;
}

.sidebar i {
  font-size: 24px;
  margin-bottom: 5px;
}

/* Main content */
#main {
  margin-left: 120px;
  padding: 32px 16px 32px 0;
}

header {
  text-align: center;
  padding: 32px 0;
}

header h1 {
  font-size: 48px;
  font-weight: bold;
}

header p {
  font-size: 16px;
  margin-bottom: 20px;
}

header img {
  width: 95%;
  height: auto;
  max-width: none;
  display: block;
  margin: 0 auto;
  padding: 0;
}

/* About Section */
#about {
  max-width: 900px;
  margin: auto;
  padding: 64px 0;
}

#about h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

#about h3 {
  margin-top: 60px; /* zvýšime medzeru pred nadpisom */
  font-size: 25px;
}

#about hr {
  width: 280px;
  border: 1px solid #666;
  margin: 20px 0;
}

#about p {
  color: #ccc;
  margin-bottom: 20px;
}

.skills {
  margin-top: 30px;
}

.skills p {
  margin-bottom: 5px;
  font-size: 14px;
  letter-spacing: 2px;
}

.skill-bar {
  background-color: #fff;
  height: 28px;
  margin-bottom: 15px;
}

.skill-bar-inner {
  background-color: #444;
  height: 100%;
}

/* Counters */
.counters {
  display: flex;
  justify-content: space-between;
  text-align: center;
  background-color: #eee;
  color: #000;
  padding: 20px;
  margin-top: 40px;
  border-radius: 8px;
}

.counter {
  flex: 1;
}

.counter span {
  font-size: 24px;
  font-weight: bold;
}

/* Resume button */
.download-btn {
  background-color: #ccc;
  color: #000;
  padding: 12px 24px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
}

.download-btn i {
  margin-right: 8px;
}

/* Why us */
.why-choose-us {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 40px;
  text-align: left;
}

.why-choose-us h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}

.why-choose-us ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose-us li {
  margin-bottom: 12px;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.why-choose-us i.fa-check {
  color: #8e44ad; /* fialová */
  margin-right: 10px;
  font-weight: bold;
}

/* Pricing */
#price {
  max-width: 900px;
  margin: auto;
  padding: 64px 0;
}

#price h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

#price h3 {
  margin-top: 60px; /* zvýšime medzeru pred nadpisom */
  font-size: 25px;
}

#price hr {
  width: 280px;
  border: 1px solid #666;
  margin: 20px 0;
}

#price p {
  color: #ccc;
  margin-bottom: 20px;
}

#price .price-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.price-card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  color: #000;
  text-align: center;
  opacity: 0.95;
  transition: 0.3s;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.price-card:hover {
  opacity: 1;
}

.price-card .header {
  background: #333;
  color: white;
  font-size: 20px;
  padding: 32px;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card ul li {
  min-height: 60px;
  padding: 8px 10px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(12px, 4vw, 16px); /* Dynamické zmenšovanie textu */
  line-height: 1.4;
  word-break: break-word;
}

.price-card ul li.unavailable {
  color: #e53935;
  font-weight: bold;
}

.price-card li b {
  font-size: 40px;
}

.price-card .footer {
  background: #eee;
  padding: 24px;
}

.x {
  color: red;
  font-weight: bold;
  margin-right: 0.4rem;
}

.btn-link {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.btn-link:hover {
  background: #000;
  color: #fff;
}

.custom-service-box {
  background-color: #111;
  color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  margin-top: 40px;
  font-size: 18px;
  text-align: center;
  line-height: 1.6;
}

/* Photos */
#photos {
  max-width: 900px;
  margin: auto;
  padding: 64px 0;
}

#photos h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

#photos hr {
  width: 280px;
  border: 1px solid #666;
  margin: 20px 0;
}

.photo-grid {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.half {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.half img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

@media screen and (max-width: 600px) {
  .photo-grid  {
    flex-direction: column;
  }

  #main {
    margin-left: 0;
    padding: 16px;
  }

  .sidebar {
    display: none;
  }
  
   #price .price-tables {
    flex-direction: column;
  }

  .price-card ul li {
    min-height: 50px;
    font-size: 14px;
  }

}

/* Contact */
#contact {
  max-width: 900px;
  margin: auto;
  padding: 64px 0;
  position: relative;
}

#contact h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

#contact p {
  margin: 10px 0;
}

#contact hr {
  width: 280px;
  border: 1px solid #666;
  margin: 20px 0;
}

a.mail-link {
  color: inherit;
  text-decoration: none;
}

form input,
form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 10px;
  border: none;
  background: #fff;
  color: #000;
}

form button {
  background: #ccc;
  color: #000;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #000;
  color: #fff;
}

/* Footer */
footer {
  padding: 64px 0;
  text-align: center;
  font-size: 24px;
  color: #aaa;
}

footer i {
  margin: 0 10px;
  cursor: pointer;
}

footer a i {
  color: inherit;
}

footer p {
  font-size: 14px;
  margin-top: 10px;
}

footer a {
  color: inherit; 
  text-decoration: none; /* zruší podčiarknutie */
  margin: 0 10px;
  font-size: 24px;
}

footer a:hover {
  color: white; /* voliteľné zvýraznenie pri hover */
}

 {
text-align: center;
  min-height: 40px; /* rezervuje výšku */
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.popup-response {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  max-width: 90%;
  background-color: rgba(220, 220, 220, 0.9); /* jemne priesvitná sivá */
  color: #222; /* tlmený text */
  padding: 12px 18px;
  border: 1px solid #bbb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* jemnejší tieň */
  font-weight: normal; /* nie bold */
  z-index: 100;
  display: none;
  text-align: center;
  font-family: inherit;
  font-size: 0.95em;
}

#contact {
  position: relative;
}
