/* ZÁKLADNÍ NASTAVENÍ A FONT */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth; /* Pro plynulé rolování po kliknutí na odkaz v menu */
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-weight: 700;
}

/* ZÁHLAVÍ S VIDEEM */
.video-header {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* NAVIGACE */
.main-nav {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10;
    width: 100%;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.main-nav .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #007bff;
}

/* OBSAHOVÉ SEKCE */
.content-section {
    padding: 130px 0;
    text-align: center;
}
.content-section-dark {
    background-color: #f4f4f4;
    padding: 80px 0;
    text-align: center;
}
.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* SEKCE SLUŽBY (GRID) */
.sluzby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
    text-align: left;
}

.sluzba-item {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sluzba-item h3 {
    margin-top: 0;
    color: #007bff;
}

/* SEKCE REFERENCE */
.reference-placeholder {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
 
   
}
.reference-placeholder span {
    padding: 20px 40px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

/* SEKCE KONTAKT */
.kontakt-info {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}
.kontakt-info a {
    color: #007bff;
    text-decoration: none;
}
.kontakt-info a:hover {
    text-decoration: underline;
}


/* PATIČKA */
.main-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* RESPONZIVITA PRO MOBILNÍ ZAŘÍZENÍ */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    .main-nav {
        flex-direction: column;
    }
    .main-nav ul {
        margin-top: 10px;
    }
    .sluzby-grid {
        grid-template-columns: 1fr;
    }
    .reference-placeholder {
        flex-direction: column;
    }
}
.contact-container {
 
  max-width: 800px;
  margin: 0rem auto 0rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 1rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  animation: fadeIn 1s ease-in-out;
}
#confirmationMessage {
  display: none;
  position: fixed;
  top: 50%;
  right: 50%;
  transform: translate(50%, -70%);
  background-color: #28a745;
  color: white;
  padding: 15px 30px;
  border-radius: 20px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgb(0, 0, 0);
  animation: showConfirmation 2s ease-out forwards;
}
.valid-text {
        z-index: 9;
    font-size: 0.8rem;
    font-weight: bolder;
    display: none;
    position: absolute;
    bottom: -1.1rem;
    color: #ffd064;
    background-color: rgb(255 50 0);
  
  border-radius: 1rem;
  padding: 0px 11px;
}
/* STYL PRO ODKAZ V PATIČCE */
.main-footer .footer-link {
    color: #fff;
    text-decoration: underline;
}
.main-footer .footer-link:hover {
    text-decoration: none;
}
 