/* ====== Základ ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', sans-serif;
  color: black;
  font-size: 1.2em; /* větší text v sekcích */
  font-weight: 500; 
  background: #fdfcf9;
}

/* ====== Navigace ====== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e6e4df;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 70px;
}

/* ====== Logo sekce ====== */
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.7em;
  font-weight: 200;
 
  
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
nav a {

/* ====== Menu sekce ====== */
  text-decoration: none;
  font-weight: 200; /*text menu*/
  font-size: 1.5em;
  transition: 0.3s;
}


/* ====== Hero obrazek ====== */
.hero {
  position: relative;
  background: url('img/hero.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #f9f8f4;
  margin-top: 110px; /* ✨ posune celou hero sekci pod menu */
  overflow: hidden; /* skryje přesahy překryvu */
  min-height: 350px;
}
/* ====== Hero prekryv ====== */
.hero::after {
  content: '';
  position: absolute;
  top: 0px; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
/* ====== Hero velky text ====== */
.hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3em;
  font-weight: 600;       /* normální tučnost; pro tučnější zvol 600–700 */
  line-height: 1.5; 
  margin-bottom: 10px;
}
/* ====== Hero maly text ====== */
.hero-text {
  position: center;
  z-index: 2; /* pozice textu - pred predkrytim/za - aktualne pred */
  font size: 2em;
  font-weight: 600;       /* normální tučnost; pro tučnější zvol 600–700 */
  line-height: 1.5; 
  color: #ffffff;
  font-width: 400px;
  padding-inline: 10px;
}


/* ====== Tlacitko - domluv si foceni ====== */
.btn {
  display: inline-block;
  background: #ffffff;
  color: #000;
  padding: 12px 25px;
  margin-top: 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

a, a:visited, a:hover, a:active {
  color: #000 !important;          /* černá barva */
  text-decoration: none !important; /* žádné podtržení */
}

/* ====== vsechny Sekce ====== */
.section { 
  padding: 50px 10%; 
  padding-bottom: 0px;
  text-align: center; 
}

div.section {
  padding-top: 0;  
}

section {
  scroll-margin-top: 120px; /* uprav podle výšky menu */
}
.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2em;
  font-weight: 600;

  margin-bottom: 25px;
}

/* ====== Galerie ====== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  text-align: center;
}
.gallery img {
  width: 100%;
  border-radius: 12px;
  filter: brightness(98%);
  transition: 0.3s;
}
.gallery img:hover {
  transform: scale(1.02);
  filter: brightness(100%);
}
.gallery-item {
  position: relative;
}


.gallery-item figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5); /* černý průhledný pás */
  color: #fff;
  padding: 10px;
  font-size: 1em;
  text-align: center;
  opacity: 0;             /* skryté */
  transition: 0.3s;
  border-radius: 0 0 12px 12px;
  box-sizing: border-box;
}

.gallery-item:hover figcaption {
  opacity: 1;             /* zobrazí se při hoveru */
}

/* ====== Recenze ====== */
/* ====== Recenze ====== */
.reviews {

  padding: 50px 10%;
  text-align: center;
}

.reviews h2 {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 30px;
  color: #3a2f1b; /* tmavá hnědá */
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.review-card {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1em;
  line-height: 1.5;
  transition: 0.3s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.review-author {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  font-size: 0.9em;
}

/* ====== Hamburger menu ====== */
.hamburger {
  --size: 44px;
  display: inline-grid; place-items: center;
  width: var(--size); height: var(--size);
  border: 1px solid var(--border);
  border-radius: 10px; background: transparent; color: inherit;
  cursor: pointer;
}
.hamburger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hamburger .lines { position: relative; width: 22px; height: 14px; }
.hamburger .lines::before,
.hamburger .lines::after,
.hamburger .line { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; }
.hamburger .lines::before { top: 0; }
.hamburger .line { top: 6px; }
.hamburger .lines::after { bottom: 0; }

/* ====== oteviraci animace ====== */
.hamburger[aria-expanded="true"] .lines::before { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] .line       { opacity: 0; }
.hamburger[aria-expanded="true"] .lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ====== Navigacni panel (mobil) ====== */
.panel {
  overflow: hidden;
  transform-origin: top;
  max-height: 0;
  opacity: 0;
  transition: transform 200ms ease, max-height 200ms ease, opacity 150ms ease;
  border-bottom: 1px solid transparent;
  position: absolute;
}
.panel.open {
  max-height: 420px;
  opacity: 1;
  border-color: var(--border);
}

#main-nav {
  padding: 20px 5%;
}
  
/* ====== koncovka - email a copyright ====== */
footer {
  text-align: center;
  padding: 20px;
  font-size: 1em;
  font-weight: 100;
  margin-top: 50px;
}

/* ====== Responsivita ====== */
@media only screen and (max-width: 480px) {
  /* Styl pro malé mobily (iPhone SE, Galaxy Mini apod.) */
  nav {
    padding-inline: 0px;
  }

  nav ul {
    flex-direction: column;
  }

  .desktop-menu {
    display: none;
  }

  .panel {
    left: -10px;
    padding-left: 10px;
  }

  .hero h2 {
    font-size: 2em;
  }
}

/* Malé zařízení (telefony, horizontálně) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
  /* Styl pro běžné telefony (iPhone, Pixel, Samsung S) */
  nav {
    padding: 20px 5%;
  }

  nav ul {
    flex-direction: column;
  }

  .desktop-menu {
    display: none;
  }

  .panel {
    left: -10px;
    padding-left: 10px;
  }

  .hero h2 {
    font-size: 2em;
  }
}

/* Střední zařízení (tablety, vertikálně) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /* Styl pro iPad Mini, tablety apod. */
  nav {
    padding: 20px 5%;
  }

  .panel {
    left: -10px;
    padding-left: 10px;
  }

  .desktop-menu {
    display: none;
  }
}

/* Velká zařízení (tablety horizontálně / malé notebooky) */
@media only screen and (min-width: 1024px) and (max-width: 1279px) {
  nav {
    padding: 20px 5%;
  }

  .panel {
    display: none;
  }

  .hamburger {
    display: none;
  }
}

/* Extra velká zařízení (běžné notebooky, monitory) */
@media only screen and (min-width: 1280px) and (max-width: 1919px) {
  .panel {
    display: none;
  }

  .hamburger {
    display: none;
  }
}

/* Ultra široké monitory */
@media only screen and (min-width: 1920px) {
  .panel {
    display: none;
  }

  .hamburger {
    display: none;
  }
}