:root {
    --goldies: #C5B358; /* Definice proměnné s názvem "zadek" */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: rgb(36, 34, 34);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* průhledná barva */
    padding: 30px;
    text-align: end;
    justify-content: space-around;
    z-index: 2;
    
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
    font-weight: bold;

}

.navbar a:hover {
    color: white; /* Barva textu při hover */
 
}

.hero {
    height: 100vh;
    background: url('/Fig/Salon.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    background-attachment: fixed;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* tmavý překryv pro lepší čitelnost loga */
    filter: blur(3px); /* Pouze zde je rozmazání pozadí */
    z-index: 1;
}

.barbut{
    background-color: var(--goldies);
    padding: 1rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    color: black;
    
}
.barbut:hover {
    color: white; /* Barva textu při hover */
    transform: scale(1.2); /* Zvětšení odkazu při hover */
}
.barbut.sluzby {
    color: black;
}

.cenik {
  color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 50rem;
  margin: auto;
  margin-top: 6rem;
  background-color: rgb(48, 38, 18);
}



/* Další styling */
.hstyle {
  text-align: center;
  font-weight: 700;
  font-family: "Teko", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 0.3rem solid var(--goldies);
}

.h2style {
  text-align: center;
  margin-top: 2rem;
}

.sluzba {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ffffff;
}

.sluzba:last-child {
  border-bottom: none;
}

.sluzba-content {
  display: flex;
  flex-direction: column;
}

.nazev-sluzby {
  font-weight: bold;
  margin-bottom: 5px;
}

.popis-sluzby {
  color: rgb(151, 148, 148);
  font-size: 12px;
  margin-top: 0;
  text-decoration: underline;
}

.popis-sluzby:hover {
  text-decoration: none;
}

.tecky {
  flex-grow: 1;
  text-align: center;
  margin: 0 10px;
}

.cena {
  color: var(--goldies);
  margin-right: 20px;
  font-family: "Teko", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.bubble {
  display: none;
  position: absolute;
  top: 100%; /* Umístíme bublinu pod cenou */
  left: 0;
  width: 100%;
  background-color: #f9f9f9;
  color: #333;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Zajistí, že bublina bude na nejvyšší vrstvě */
  white-space: normal;
  font-size: 14px;
  text-align: justify;
}

.popis-sluzby:hover + .bubble,
.bubble-active {
  display: block;
}
.sluzba {
  position: relative; /* Zajistí, že bublina bude vázána na tento kontejner */
  padding-bottom: 20px; /* Rezerva pro bublinu */
}
.popis-sluzby {
  cursor: pointer; /* Změní kurzor na ruku, aby bylo jasné, že je to klikatelné */
}

/* Pro mobilní zařízení */
@media (max-width: 768px) {
  .cenik {
    width: 90%; /* Zajistí, že se obsah přizpůsobí menší šířce obrazovky */
    padding: 10px;
    margin-top: 4rem;
  }

  .sluzba {
    position: relative; /* Relativní pozice, aby se bublina umístila správně vůči obsahu */
    flex-direction: column; /* Položky budou pod sebou */
    align-items: center; /* Zarovná je na střed */
    text-align: center; /* Text bude na střed */
  }

  .nazev-sluzby {
    font-size: 1.2rem; /* Zmenší velikost názvu služby */
    margin-bottom: 5px;
  }

  .popis-sluzby {
    text-align: center; /* Odkaz bude zarovnán na střed */
    align-self: center;
    margin-bottom: 10px; /* Přidáme mezery pod odkazem */
  }

  .cena {
    margin-top: 10px; /* Cena bude pod názvem služby a odkazem */
    margin-right: 0;
    font-size: 1.2rem; /* Zmenšíme velikost ceny */
  }

  .tecky {
    display: none; /* Skryjeme tečky na mobilu */
  }

  .bubble {
    top: 100%; /* Bublina bude těsně pod cenou */
    left: 0;
    width: 100%; /* Bublina bude mít šířku 100% */
    z-index: 1000; /* Zajistí, že bude nad ostatními prvky */
    box-shadow: none; /* Zrušíme stín, aby byla méně nápadná */
  }
}



  
  .features {
    border-top: 0.3rem solid var(--goldies);
  display: flex;
  justify-content: space-around;
  padding: 5px 20px;
  background-color: #222;
  text-align: center;
  margin-top: 3rem;
  

}

.feature {
  justify-content: center;
  text-align: center;
  width: 30%;
}

.feature h2 {
    margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--goldies);
}

.feature p {
  color: #ddd;
  justify-content: space-around;
}
.feature a {
    text-decoration: none; /* Odstraní podtržení odkazu */
    color: white; /* Umožní odkazu mít stejnou barvu jako okolní text */
  }
  .feature a i {
    margin-right: 8px; /* Vzdálenost mezi ikonou a textem */
  }

.mapouter {
  display: flex;
  justify-content: center; /* Vystředění mapy */
  padding: 10px 0; /* Volitelně: přidání paddingu kolem mapy */
  justify-content: center; /* Vystředění mapy */
  width: 100%; /* Zajišťuje, že mapa se rozšiřuje na šířku svého kontejneru */
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  margin-left: auto;
}

.burger span {
  height: 3px;
  background-color: white;
  width: 100%;
  border-radius: 5px;
}




.contact-right {


  display: flex;
  justify-content: center; /* Zarovnání na střed horizontálně */
  margin-bottom: 3rem;
  margin-top: 3rem;
}

form {
  display: flex;
  flex-direction: column; /* Boxy pod sebou */
  width: 100%;
  max-width: 600px; /* Maximální šířka formuláře */
  margin: 0 auto; /* Zarovnání na střed */
  color: white;

}

input, textarea {
  margin-bottom: 1rem; /* Odsazení mezi jednotlivými prvky */
  padding: 1rem;
  font-size: 1rem;
  background-color: #181616;
  color: white;
}
.btn {
  background-color: var(--goldies); /* Modré tlačítko */
  color: white; /* Bílý text */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
}
.textin{
  border-bottom: solid 0.3rem #C5B358;
  text-align: center;
  align-items: center;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: #ddd;
}

@media (max-width: 768px) {
  .navbar {
      position: fixed;
      top: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      padding: 10px;
      text-align: center;
      
  }

  .navbar a {
      display: none; /* Skryj odkazy */
      margin: 10px 0;
      font-size: 18px;
      
  }

  .navbar.active a {
      display: block; /* Zobraz odkazy při aktivaci */
      padding: 1rem;
      margin-left: 2rem;
      margin-right: 2rem;
  }

  .burger {
      display: flex; /* Zobraz burger menu */
  }

  .hero {
      background-size: cover;
      padding: 20px;
  }

  .logo img {
      max-width: 100px;
  }

  .phone-link {
      font-size: 14px;
      padding: 1rem;
      padding-left: 2rem;
      padding-right: 2rem;
  }

  .firma {
      font-size: 1.5rem;
      padding: 1rem;
  }

  .grid-container {
      grid-template-columns: 1fr;
      padding: 10px;
  }

  .image-box img {
      width: 100%;
      height: auto;
  }

  .grid-wrapper {
      grid-template-columns: 1fr;
      max-width: 100%;
      margin: 20px auto;
      padding: 10px;
  }

  .carousel img {
      width: 100%;
  }

  .contact-right form {
      max-width: 100%;
      padding: 10px;
  }

  .features {
      flex-direction: column;
      padding: 10px;
  }

  .feature {
      width: 100%;
      margin-bottom: 20px;
  }

  .feature h2 {
      font-size: 1.5rem;
  }

  .feature p {
      font-size: 1rem;
  }
  .navbar a {
      display: none; /* Skryj odkazy */
      margin: 10px 0;
      font-size: 18px;
  }

  .navbar.active a {
      display: block; /* Zobraz odkazy při aktivaci */
  }

  .burger {
      display: flex; /* Zobraz burger menu */
      
  }

  
}

