@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  
  color: #23281C;
}

.navbar {
  display: flex; /* Použije flexbox */
  justify-content: flex-end; /* Přesune prvky na konec řádku */
  align-items: center;
  background: #F5F4E6;
  padding: 32px 60px 0 60px;
  position: relative; /* Udrží navigační prvky na jednom místě */
  z-index: 1000;
  gap: 20px; /* Přidá mezery mezi prvky, pokud jich je více v řadě */
}

.nav-center {
  position: absolute; /* Vytáhne `.nav-center` z toku dokumentu */
  left: 50%;
  transform: translateX(-50%); /* Vycentruje menu horizontálně */
  display: flex;
  align-items: center;
  gap: 18px;
  top: 60px; /* Nastaví vertikální pozici */
}


.nav-center a {
  text-decoration: none;
  color: #23281C;
  font-size: 1.05rem;
  padding: 12px 10px;
  border-radius: 24px;
  border: 1.5px solid transparent;
  font-weight: 400;
  background: none;
  transition: border 0.2s, background 0.2s;
  white-space: nowrap;
  display: inline-block;
  min-width: 120px;
  text-align: center;
}

.nav-center a.nav-logo,
.nav-center a.nav-active {
  border: 1.5px solid #23281C;
  
  background: #F5F4E6;
}

.nav-center a:hover {
  border: 1px solid black;
  background: #F5F4E6;
}

.nav-right {
    position: absolute; /* Vytáhne `.nav-right` z toku dokumentu */
    right: 60px;
    top: 60px; /* Nastaví vertikální pozici */
}


.nav-right .cta-btn {
  background: #23281C;
  color: #fff;
  border-radius: 24px;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 1.05rem;
 
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  white-space: nowrap;
  display: inline-block;
  min-width: 120px;
  text-align: center;
}

.nav-right .cta-btn:hover {
  background: #3a4a2a;
}

.main-hero {
  text-align: center;
  padding: 60px 16px 0px 16px;
  background: #F5F4E6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  font-family: 'Libre Bodoni', serif;
  position: relative;
}
.main-title {
  font-family: "Gazpacho" !important;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.8125rem;
  margin: 100px 0 20px 0;
  letter-spacing: -0.5px;
  text-align: center;
  color: #323522;
}

.main-subtitle {
  font-size: 1.8rem;
  font-family: "Gazpacho" !important;
  font-weight: 500;
  line-height: 1.8125rem;

  margin: 0 0 32px 0;
  text-align: center;
  color: #323522;
}

.hero-svg-icon {
  margin: 24px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 4em 1em;
}

.hero-svg-icon svg {
  display: block;
  margin: 0 auto;
  width: 250px;
  height: 250px;
  padding: 5em;
}



.wave {
  display: block;
  width: 100%;
  height: 120px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.section-green {
  background: #B8C2A7;
  padding: 20px 16px 40px 16px;
  text-align: center;
  position: relative;
  margin-top: -60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.section-green h2 {
  font-size: 2.5rem;
  padding-bottom: 24px;
  font-family: 'Libre Bodoni', serif;
  font-weight: 600;
  color: #23281C;
  font-family: "Gazpacho";

  font-weight: 500;
  line-height: 1.8125rem;
  text-align: center
}

.section-green p {
  margin: 0px 0 16px 0;
  font-size: 1.13rem;
  line-height: 1.7;
  text-align: right !important;

}

.section-icon {
  font-size: 2.2rem;
  margin: 32px 0 0 0;
  text-align: center;
}

.section-brown {
  background: #CDC5B0;
  padding: 20px 16px 40px 16px;
  text-align: center;
  position: relative;
  margin-top: -60px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-beige {
  background: #E6E3D2;
  padding: 80px 16px 90px 16px;
  text-align: center;
  position: relative;
  margin-top: -60px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



.section-brown h2 {

  font-size: 2.2rem;
  margin-bottom: 28px;
  text-align: center;
  font-family: "Gazpacho" !important;

    font-weight: 500;
    line-height: 1.8125rem;
}



.section-brown p, .section-brown ul {
  max-width: 700px;
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
  line-height: 1.75;
  text-align: left;
}

.section-beige p, .section-beige ul {
  max-width: 700px;
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
  line-height: 1.75;
  text-align: left;
  justify-content: left;
  align-items: left;

}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #23281C;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #F5F4E6;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu a {
  text-decoration: none;
  color: #23281C;
  font-size: 1.5rem;
  padding: 15px 30px;
  border-radius: 24px;
  border: 1.5px solid transparent;
  font-weight: 400;
  transition: border 0.2s, background 0.2s;
  text-align: center;
  min-width: 200px;
}

.mobile-menu a.nav-logo,
.mobile-menu a.nav-active {
  border: 1.5px solid #23281C;
  
  background: #F5F4E6;
}

.mobile-menu a:hover {
  border: 1px solid black;
  background: #F5F4E6;
}

.mobile-menu .cta-btn {
  background: #23281C;
  color: #fff;
  border-radius: 24px;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.5rem;
  
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 200px;
  text-align: center;
}

.mobile-menu .cta-btn:hover {
  background: #3a4a2a;
}


button, input[type="submit"] {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s ease;
}

button:hover, input[type="submit"]:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 1200px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 10px 0 10px;
  }
  
  .nav-center {
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex: none;
  }
  
  .nav-center a {
    min-width: 100px;
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .nav-right {
    margin-left: 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }
  
  .nav-right .cta-btn {
    min-width: 100px;
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .main-hero {
    padding: 40px 8px 24px 8px;
  }
  

  
  .section-green p {
    font-size: 1rem;
  }
  
  
  .section-beige p, .section-beige ul {
    font-size: 1rem;
  }

  .hamburger {
    position: fixed !important;
    display: flex;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  
  .nav-center {
    display: none;
  }
  
  .nav-right {
    display: none;
  }
  
  .mobile-menu.active {
    display: flex;
  }
} 


.main-hero * {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}


.main-title {
  animation-delay: 0.2s;
}

.main-subtitle {
  animation-delay: 0.4s;
}

.hero-svg-icon {
  animation-delay: 0.6s;
}

/* Fade-in animation keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced hover effects */
.main-title:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.main-subtitle:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

.hero-svg-icon:hover {

  transition: transform 0.3s ease;
}


.main-title,
.main-subtitle,
.hero-svg-icon {
  transition: all 0.3s ease;
}


@media (prefers-reduced-motion: reduce) {
  .animate-fade-in,
  .animate-slide-up,
  .animate-float,
  .hero-entrance,
  .particle,
  .float {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
} 

.section-content {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
} 

.section-content p {
  text-align: justify !important;
  font-family: DM Sans;
  font-size: calc(13px + (21 - 14) * ((100vw - 375px) / (1600 - 375))); 
  line-height: 2.1;
  color: #23281C;
  margin-bottom: 50px;


}

.section-content h3{
  text-align: left !important;
  margin-left: 0;
  margin-right: auto;
  font-size: calc(15px + (21 - 14) * ((100vw - 375px) / (1600 - 375)));
  font-family: "Gazpacho" !important;
    font-weight: 500;
    line-height: 1.8125rem;
  color: #23281C;
  margin-bottom: 10px;

}

.section-content ul li strong {
  color: #2d3121;
  
  font-weight: 500;
}

.section-content ul li {
  padding-bottom:10px;
  font-size: calc(11px + (21 - 14) * ((100vw - 375px) / (1600 - 375)));
  font-family: DM Sans;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

#scrollUpBtn {
  position: fixed;
  right: 3%;
  bottom: 5%;
  z-index: 999;
  background: none;
  height: 64px;
  width: 64px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(44, 50, 33, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  pointer-events: none;
}

#scrollUpBtn svg {
  width: 40px;
  height: 40px;
  transition: filter 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


#scrollUpBtn {
  --btn-bg: #B8C2A7; 
  --btn-fg: #23281C; 
  background: #F5F4E6; 
  filter: hue-rotate(50deg);
}

#scrollUpBtn svg {
  width: 40px;
  height: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}



#scrollUpBtn:hover {
  background:#F5F4E6;
  transform: scale(1.12);

}

#scrollUpBtn.show {
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 768px) {
  .hero-svg-icon svg{
    width: 200px;
    height: 200px;
  }
  .particle {
    width: 3px;
    height: 3px;
  }
  
  .animate-slide-up {
    transform: translateY(20px);
  }
  
  .hero-entrance {
    animation-duration: 1s;
  }

  .section-content {
    padding: 48px 25px 40px 25px;
    width: auto;
  }

  .section-content p {
    text-align: justify !important;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: normal;
    text-justify: inter-word;
    word-spacing: normal;
    font-size: 15px; 
  }

  .section-content h3 {
    text-align: justify !important;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: normal;
    text-justify: inter-word;
    word-spacing: normal;
    font-size: 18px; 
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .section-content ul{
    padding-left: 5%;
  
    word-spacing: normal;
  }
  .section-content ul li {
    font-size: 14px; 
    line-height: 1.6;
    padding-bottom: 8px;
    
  }
}
.footer {
  text-align: center;
  padding: 16px 0px 16px 0;
  background: #CDC5B0; 
}

.footer-text {
  font-size: 0.9rem;
  color: #23281C; 
  font-family: 'Lato', sans-serif;
}

@media (max-width: 768px) {
  .footer-text {
    font-size: 0.8rem; 
  }
  .center-cap-text {
    text-align: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:0 !important;
    margin:0 !important;;
  }
}

@media (max-width: 480px) {
  .footer-text {
    font-size: 0.7rem; 
  }
}


.hero-subnav {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.4s ease-out forwards;
  animation-delay: 1s;
}

.hero-subnav a {
  color: rgba(120, 120, 120, 0.55);
  background: none;
  opacity: 1;
  text-decoration: none;
  padding: 2px 0;
  margin: 0;
  border-radius: 0;
  transition: color 0.3s;
}

.hero-subnav a:hover {
  color: rgba(35, 40, 28, 0.8);
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-break {
  display: none;
}
.desktop-and {
  display: inline;
}

@media (max-width: 700px) {
  .mobile-break {
    display: inline;
  }
  .desktop-and {
    display: none;
  }
  
  .main-title{
    font-size: 2.1rem;
    font-family: 'Libre Bodoni', serif;
    font-weight: bold;
    margin: 60px 0 20px 0;
    letter-spacing: var(--btn-fg);
    text-align: center;
    line-height: normal;
    
    color: #23281C;
  }
  .main-subtitle{
    font-size: 20px;
    padding: 0;
    margin: 0;
    
  }
}
.cap-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 0 24px 0;
}

.cap-photo img {
  width: 80px;
  padding: 5px;
  height: auto;
  display: block;
}
.center-cap-text {
  text-align: center !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:0 !important;
  margin:0 !important;;
}
.section-svg-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
  width: 100%;
}
.section-svg-icon svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.section-svg-icon svg {
  width: 250px !important;
  height: 250px !important;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  padding: 0;
}

.fixed-logo {
  position: fixed;
  top: 50px;
  left: 3%;
  width: 55px;
  height: 55px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #23281C;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(36,40,28,0.12);
  padding: 12px; 
  box-sizing: border-box;
}
.fixed-logo:hover {
  background: #3a4a2a;
}

@media (max-width: 768px) {
  .center-cap-text {
    text-align: right !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .fixed-logo {
    top: 15px;
  }

  .section-content h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-top: 10px;
  }

  .section-content p {
    font-size: 18px;
    line-height: 1.9;
  }

  .section-content ul li  {
    font-size: 15px !important; 
    line-height: 1.7;
    padding-bottom: 8px;
    
  }
}








.section-content h2,
.section-green h2,
.section-brown h2,
.section-beige h2 {
  display: block;
  position: relative;
  text-align: center;
  margin: 0 auto 18px;
  padding-bottom: 12px;
}


.section-green h2::after,

.section-beige h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  height: 2px;       
  width: 35%;        
  background: rgba(44,50,33,0.12);
  border-radius: 4px;
}

.section-brown h2::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  height: 2px;       
  width: 15%;        
  background: rgba(44,50,33,0.12);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .section-content h2::after,
  .section-green h2::after,
  .section-brown h2::after,
  .section-beige h2::after {
    height: 2px;
    width: 60%;
  }
}