/* Styl pro všechny odkazy */
a {
  color: white;
  text-decoration: none; 
}

/* Styl pro odkaz po najetí myší */
a:hover {
  text-decoration: none;
  color: white; 
}

/* Zabraňuje horizontálnímu posouvání stránky */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Aby se žádný obrázek nevymkl layoutu */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Bezpečné výpočty šířek */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #111;
  background: #fff;
}

h1, h2, h3 {
  margin: 0;
}

.hero {
  color: white;
  display: flex;    
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  background-image: url('images/head.jpg');
  background-repeat: no-repeat;        
  background-position: center;         
  background-size: cover;
  position: relative;
  min-height: 750px;
}

.header-text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  text-align: left;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-content span {
  color: #00b7c2;
}

.hero-logo {
  position: absolute;
  top: -100px;     
  right: 0px;                      
}

.btn {
  background: #00b7c2;
  color: white;
  border: none;
  padding: 12px 25px;
  margin-top: 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

.section {
  padding: 80px 10%;
}

.section h2 {
  color: #00b7c2;
  margin-bottom: 30px;
}

.podval-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.podval-content img {
  width: 45%;
  flex-shrink: 0;
  object-fit: cover;
  margin-right: 70px;
  border-radius: 10px;
}

.podval-content > div {
  flex: 1;
}

.servis-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.servis-steps div {
  width: 22%;
}

.rezervace {
  background: url('images/background_reservation.jpg') center/cover;
  color: white;
  text-align: center;
}

.rezervace-form {
  background: rgba(0, 0, 0, 0.7);
  display: inline-block;
  padding: 30px 20px;       /* menší padding, aby se drželo uvnitř boxu */
  border-radius: 10px;
  max-width: 500px;         /* pevný strop místo % */
  width: 90%;               /* přizpůsobí se mobilu */
  box-sizing: border-box;   /* jistota správného výpočtu */
  color: white;
}

/* GROUP radio options on desktop */
.radio-group {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

/* Všechny inputy KROMĚ radio */
.rezervace-form input:not([type="radio"]),
.rezervace-form button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 5px;
  border: none;
  box-sizing: border-box;
}

.rezervace-form input[type="radio"] {
  width: auto;
  margin: 0;
  padding: 0;
}

.dark {
  background: #1e1e1e;
  color: white;
  text-align: center;
}

.recenze {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.kontakt {
  background: url('images/background_kontakt.svg') center/cover;
  color: white;
  text-align: left;
  min-height: 750px;
}

.kontakt-info {
  line-height: 2;
}

  footer {
    text-align: center;
    padding: 10px;
    color: #777;
    font-size: 14px;
    background-color: #000;
  }

  /* COOKIE BANNER + GDPR + Google Analytics */
  
  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e1e1e;
    color: #fff;
    padding: 20px;
    font-family: Arial, sans-serif;
    display: none;
    flex-direction: column; /* í ½í²¡ Umožní lépe centrovat na mobilu */
    align-items: center;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
  }

  #cookie-banner p {
    margin: 0 0 10px 0;
    font-size: 14px;
    max-width: 900px;
  }

  #cookie-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* í ½í²¡ Umožní zalomení na menších obrazovkách */
    margin-top: 10px;
    width: 100%;
  }

  #cookie-banner button {
    border: none;
    color: white;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background 0.3s ease;
    min-width: 130px;
  }

  #accept-cookies {
    background: #4caf50;
  }

  #accept-cookies:hover {
    background: #45a049;
  } 

  #decline-cookies {
    background: #d9534f;
  }

  #decline-cookies:hover {
    background: #c9302c;
  }

  a.gdpr-link {
    color: #66b3ff;
    text-decoration: underline;
  }

 
 /* ===== CAROUSEL PODVAL ===== */

.carousel {
  width: 45%;
  flex-shrink: 0;
  margin-right: 70px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  flex: 0 0 100%;
  height: 350px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.carousel-dots {
  text-align: center;
  margin-top: 12px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #00b7c2;
}


/* ===== MOBILE ÚPRAVA ===== */

@media (max-width: 768px) {

  .carousel {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

}

 
  

                                      /* -------------------------- */
                                     /* RESPONSIVE (mobilní verze) */
                                    /* -------------------------- */
@media (max-width: 768px) {

  .hero {
    flex-direction: column; /* prvky pod sebe */
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding-top: 100px; /* prostor pro logo */
    height: 650px;
    background-image: url('images/head.png');
    background-repeat: no-repeat;        
    background-position: center;         
    background-size: cover;
    position: relative;
  }

  .hero-logo {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px; /* velikost loga na mobilu */
  }

  .hero-logo img {
    width: 100%;
    height: auto;
  }

  .header-text {
    color: #f2f2f2;
    font-size: 12px;
    padding: 0;
    margin-top: 150px; /* posune text pod logo */
    text-align: left;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content span {
    color: white;
  }

  .section {
    padding: 40px 10%;
  }

  .podval-content {
    display: flex;
    flex-direction: column;
  }
      
  .podval-content img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .servis-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .servis-steps div {
    width: 100%;
  }

  .rezervace-form {
    background: rgba(0, 0, 0, 0.7);
    display: inline-block;
    padding: 25px 15px;
    max-width: 90%;
    border-radius: 10px;   
  } 
  
  .radio-group {
    flex-direction: column;
    gap: 14px;
  }

  .radio-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .rezervace-form input[type="radio"] {
  width: auto;
  margin: 0;
  border-radius: 5px;
  }
  
  .rezervace-form input[type="date"] {
  padding-right: 12px;
  }
  
  .kontakt {
    background: url('images/background_kontakt.svg') center/cover;
    color: white;
    text-align: left;
    min-height: 650px;
  }

  #cookie-banner {
    padding: 15px;
  }

  #cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  #cookie-banner button {
    width: 100%;
    max-width: 250px;
  }
      
}
