/* Reset & základy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #222;
  line-height: 1.6;
  padding-top: 60px;
}

/* Navigace */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #2e2e2e;
  color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #66aaff;
}

/* Hero sekce */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  padding: 2rem;
  color: white;
}

.hero { position: relative; overflow: hidden; }
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.1);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1;
}

.hero h1, .hero p, .hero .hero-buttons { position: relative; z-index: 2; }



/* Text uvnitř hero */
.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0072ff;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
}

/* O nás sekce */

.about { 
  position: relative; 
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
  overflow: hidden;
}

.about .about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}

.about .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.about p {
  font-size: 1.2rem;
  color: #f0f0f0;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: #2e2e2e;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
}

.footer-content p {
  margin: 0.3rem 0;
}


.gallery-section {
  position: relative;
  min-height: 90vh;
  background: url('background_img.webp') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  z-index: 1;
}

.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.gallery-box {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  text-align: center;
}

.gallery-box h2 {
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-grid img {

  width: 100%;
  aspect-ratio: 1 / 1;   
  object-fit: cover;    
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;

}

.gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}


.contact-section {
  position: relative;
  min-height: 90vh;
  background: url('background_img.webp') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  z-index: 1;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.contact-box {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.contact-info {
  flex: 1 1 300px;
  text-align: left;
  font-size: 1.1rem;
}

.contact-info a {
  color: #66aaff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem;
  background-color: #66aaff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #5599dd;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.contact-box {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.contact-info a {
  color: #66aaff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}


.job-section {
  position: relative;
  min-height: 100vh;
  background: url('background_img.webp') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  z-index: 1;
}

.job-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.job-box,
.application-box {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  margin-bottom: 2rem;
}

.job-box h2,
.application-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.job-box h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #66aaff;
}

.job-box ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.application-form input,
.application-form textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.application-form input[type="file"] {
  background-color: #fff;
  color: #222;
}

.application-form button {
  padding: 0.75rem;
  background-color: #004fb1;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.application-form button:hover {
  background-color: #005dcf;
}

.application-form label {
  font-size: 1rem;
  color: #f0f0f0;
}


.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.btn {
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.btn.primary {
  background-color: #004fb1;
  color: #fff;
  border: none;
}

.btn.primary:hover {
  background-color: #005dcf;
}


.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}


.thankyou-section {
  position: relative;
  min-height: 90vh;
  background: url('background_img.webp') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  z-index: 1;
}

.thankyou-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.thankyou-box {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.thankyou-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thankyou-box p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}


.hero-buttons .job-cta {
  position: relative; 
}

.hero-buttons .job-cta::after {
  content: "!";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #66aaff;       
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(255, 255, 255, 0.2); 
  animation: jobPulse 2.4s ease-out infinite; 
}

@keyframes jobPulse {
  0%   { box-shadow: 0 0 0 0 rgba(102,170,255,0.55), 0 2px 6px rgba(0,0,0,0.25); }
  70%  { box-shadow: 0 0 0 10px rgba(102,170,255,0),  0 2px 6px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(102,170,255,0),     0 2px 6px rgba(0,0,0,0.25); }
}


.application-form .error-msg {
  color: #ffb3b3;
  font-size: 0.9rem;
  margin: 0.3rem 0 0.6rem;
  min-height: 1em;
}
.application-form .error-input {
  border: 2px solid #ff6b6b !important;
  outline: none;
}


/* ===== Mobile layout (<=768px) ===== */
@media (max-width: 768px) {

  
  body { 
    padding-top: 112px; 
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: .75rem 1rem;
  }

  .logo {
    font-size: 1.6rem;
    line-height: 1.1;
    margin: 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(255,255,255,.15);
  }

  .nav-links a {
    display: inline-block;
    padding: .35rem .65rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
  }


  .hero {
    padding: 5rem 1rem 2rem; 
  }
  .hero h1 { font-size: 2rem; line-height: 1.2; }
  .hero p  { font-size: 1rem; max-width: 28rem; }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }


  .about {
    min-height: unset;   
    padding: 3rem 0;      
  }
  .about .content {
    margin: 0 1rem;       
    padding: 1.5rem;
  }
  .about h2 { font-size: 2rem; }
  .about p  { font-size: 1.05rem; }

  footer { padding: 1.25rem .75rem; }
}


@media (max-width: 380px) {
  body { padding-top: 128px; }
}

/* Styl pro tel: odkazy na mobilech */
a[href^="tel"] {
  color: #66aaff;          
  font-weight: 600;        
  text-decoration: none;   
}

a[href^="tel"]:hover {
  color: #99cfff;          
  text-decoration: underline;
}

meta[name="viewport"] { content: "width=device-width, initial-scale=1, viewport-fit=cover"; }

/* Sekce – společné */
.section-dark,
.section-light {
  position: relative;
  padding: 4rem 1.5rem;
}

.section-dark {
  background: url('background_img.webp') center/cover no-repeat;
  color: #fff;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 0;
}

.section-light {
  background: #f6f8fb;
  color: #222;
}

/* Kontejner a grid */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* Karty a média */
.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.75rem;
  backdrop-filter: blur(2px);
}
.section-light .card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}

.card h2 {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.card.center { text-align: center; }

.list {
  margin: .75rem 0 1.25rem;
  padding-left: 1.25rem;
}
.list li { margin: .25rem 0; }

.media {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,0.12);
}
.section-light .media {
  border: 1px solid rgba(0,0,0,0.06);
}

.contact-mini p { margin: .25rem 0; }
.contact-mini a { color: #66aaff; text-decoration: none; }
.contact-mini a:hover { text-decoration: underline; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.cta-row.job-row{
  justify-content: center;
}

@media (max-width: 768px) {
  .section-dark, .section-light { padding: 3rem 1rem; }
  .card { padding: 1.25rem; }
  .card h2 { font-size: 1.75rem; }
}


.hero::after { background: rgba(0,0,0,.55); }           
.about::before,
.gallery-section::before,
.contact-section::before,
.job-section::before,
.thankyou-section::before { background: rgba(0,0,0,.55); }

.btn{
  color:#fff;
  background: rgba(0,0,0,.48);          
  border: 1px solid rgba(255,255,255,.35);
}
.btn:hover{ background: rgba(0,0,0,.6); }
.btn.primary{ background:#004fb1; }      
.btn.primary:hover{ background:#0057c7; }

a[href^="tel"]{
  color:#ffffff;                         
  font-weight: 700;
  text-decoration: underline;            
}
.card .contact-mini p > a,
.contact-info a{
  color:#fff;
  text-decoration: underline;
  background: rgba(0,0,0,.35);
  padding:2px 6px;
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}

a:focus-visible,
button:focus-visible{
  outline: 3px solid #66aaff;
  outline-offset: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem; 
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff; 
}

.logo-icon {
  height: 32px;   
  width: auto;    
}
