/* Základní reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Grid layout pro celou stránku */
body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  font-family: 'Playfair Display', serif;
  background-color: #F5F1EB;
  color: #566D64;
}

/* Header */
.header {
  background-color: #8AA899;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  color: white;
}

/* Navigation container */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Logo */
.logo a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Navigation menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #333;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 500;
}

/* Hamburger menu - zobrazí se na mobilu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* MOBILE STYLES */
@media (max-width: 767px) {
  /* Zobraz hamburger na mobilu */
  .hamburger {
    display: flex;
  }
  
  /* Skryj menu na mobilu */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #8AA899;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding-top: 0px;
    transition: left 0.3s ease;
    border-top: 1px solid #e0e0e0;
  }
  
  /* Zobraz menu když má třídu 'active' */
  .nav-menu.active {
    left: 0;
  }
  
  /* Styling menu položek na mobilu */
  .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-link {
    display: block;
    padding: 20px;
    font-size: 1.1rem;
  }
}

/* TABLET A DESKTOP */
@media (min-width: 768px) {
  .nav-container {
    padding: 0 40px;
  }
  
  .nav-menu {
    gap: 40px;
  }
}

/* Main content */
.main-content {
  /* Main bude automaticky v druhé řadě gridu a roztáhne se (1fr) */
}

/* Hero section pro hlavní stránku */
.hero-section {
  padding: 100px 0;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-title {
  font-size: 6rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}

.name {
  display: inline;
  font-size: 4.5rem;
}

p.priority {
  color: red;
  font-color: red;
  font-size: 1rem;
}

.subtitle {
  display: block;
  font-size: 3rem;
  font-weight: 400;
  margin-top: 20px;
  letter-spacing: 0.1em;
  text-transform: none;
}

/* Univerzální container pro obsah */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page section - obal pro obsah stránky */
.page-section {
  padding: 30px 0;
}

/* Page header */
.page-header {
  margin-bottom: 20px;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Page content */
.page-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Text content - pro odstavce */
.text-content p {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0;
  display: inline;
}

.text-content p + p::before {
  content: " ";
}

/* About section layout */
.about-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-container .text-content {
    flex: 1;
}

.photo-container {
    flex: 0 0 300px;
}

.about-photo {
    width: 90%;
    height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(138, 168, 153, 0.2);
}

/* Mobile responsivity */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .photo-container {
        flex: none;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Témata sekce */
.topics-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.topic-item {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #8AA899;
  border-radius: 50px;
  padding: 20px 30px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.topic-item:hover {
  background-color: #8AA899;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 168, 153, 0.3);
}

.topic-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* Vzdělání sekce */
.education-section {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #8AA899;
}

.education-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.education-item {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.education-item:last-child {
  margin-bottom: 0;
}

.education-year {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 120px;
  flex-shrink: 0;
}

.education-detail {
  font-size: 1.1rem;
  line-height: 1.4;
}

.storno-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid;
}

.storno-title {
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.storno-text {
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Ceník sekce */
.therapy-section {
  margin-bottom: 40px;
}

.therapy-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.therapy-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.pricing-bubble {
  display: flex;
}

#pair_therapy {
  margin-left: 61px;
}

.price-item {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #8AA899;
  border-radius: 50px;
  padding: 20px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.price-item:hover {
  background-color: #8AA899;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 168, 153, 0.3);
}

.price-value {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.pricing-description {
  text-align: center;
  margin: 20px 0;
}

.pricing-description p {
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Kontakt sekce */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px auto 0;
}

/* Mapa - vycentrování */
.mapa-container {
    grid-column: 1 / -1; /* rozprostře se přes obě kolony gridu */
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0; /* vycentrování */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mapa-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.contact-section {
  margin-bottom: 30px;
  text-align: left;
}

.contact-section:last-child {
  margin-bottom: 0;
}

.contact-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.4;
}

.contact-phone, 
.contact-email {
  font-size: 1.1rem;
  text-decoration: none;
  color: inherit;
}

.contact-ico {
  font-size: 1.1rem;
  font-weight: 500;
}


/* RESPONSIVE */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
  
  .page-section {
    padding: 40px 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .text-content p {
    font-size: 1rem;
  }

}

@media (max-width: 767px) {
  .hero-section {
    padding: 60px 0; /* menší padding na mobilu */
  }
  
  .main-title {
    font-size: clamp(2rem, 8vw, 4rem); /* min 2rem, ideálně 8vw, max 4rem */
    line-height: 1.1; /* trochu volnější řádkování */
  }
  
  .name {
    font-size: clamp(1.8rem, 7vw, 3.5rem);
  }
  
  .subtitle {
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    margin-top: 15px; /* menší mezera */
  }
}

/* Dodatečné jištění proti přetečení */
@media (max-width: 767px) {
  .hero-content {
    padding: 0 15px; /* menší padding po stranách */
  }
  
  /* Skryj přetečení pokud by se něco stalo */
  .hero-section {
    overflow-x: hidden;
  }
}

@media (max-width: 767px) {
    .contact-info {
        grid-template-columns: 1fr; /* na mobilu jen jeden sloupec */
    }
    
    .mapa-container {
        max-width: 100%;
        margin: 30px auto 0;
    }
    
    .mapa-container iframe {
        height: 300px;
    }
}

/* Footer */
.footer {
  background-color: #F5F1EB;
  border-top: 1px solid #e0e0e0;
  padding: 30px 0;
}

.footer-content {
  text-align: center;
}

.footer-text {
  font-size: 0.9rem;
}

/* EUKALYPTUS */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 300px;
  background-image: url('/eukalyptus.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

body::before {
  left: 20px;
}

body::after {
  right: 20px;
  transform: translateY(-50%) scaleX(-1); /* zrcadlí pravou stranu */
}
		