@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;
  justify-content: space-between;
  align-items: center;
  background: #323522;
  padding: 32px 60px 0 60px;

  margin-bottom: 0;
  box-shadow: none;
  position: relative;
  z-index: 1000;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 60px;
  transform: translateX(-50%);
}




.nav-center a {
  text-decoration: none;
  color: #F5F4E6;
  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 #F5F4E6;

  background: #323522;
}

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

.nav-right {
  display: flex;
  align-items: center;
  position: absolute;
  right: 60px;
  top: 60px;

}

.nav-right .cta-btn {
  background: #F5F4E6;
  color: #23281C;
  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: #e0ddcc;
}


.main-hero {
  text-align: center;
  padding: 150px 16px 100px 16px;
  background: #323522;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 20vh;
  font-family: 'Libre Bodoni', serif;
  position: relative;
}

.main-title {
  font-size: 2.5rem;
  font-family: 'Libre Bodoni', serif;
  font-weight: bold;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
  text-align: center;
  color: #23281C;
}

.main-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 32px 0;
  text-align: center;
  color: #23281C;
}

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

.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: #323522;
  padding: 80px 16px 0px 16px;
  text-align: center;
  position: relative;
  margin-top: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.section-green h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  font-family: 'Libre Bodoni', serif;
  font-weight: 600;
  color: white;
  text-align: center
}

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

}

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

.section-brown {
  background: #CDC5B0;
  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-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-family: 'Libre Bodoni', serif;
  font-size: 2.2rem;
  margin-bottom: 28px;
  text-align: center;
}

.section-beige h2 {
  font-family: 'Libre Bodoni', serif;
  font-size: 2.2rem;
  margin-bottom: 28px;
}

.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 menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  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);
}

.hamburger.active span,
body.menu-open .hamburger span {
  background: #23281C;
}

/* Mobile menu overlay */
.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;
}

body.menu-open .fixed-logo,
.hamburger.active + .fixed-logo,
.hamburger.active ~ .fixed-logo {
  background: #23281C;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

body.menu-open .fixed-logo:hover {
  background: #2e3a1f;
}

body.menu-open .fixed-logo img,
body.menu-open .fixed-logo svg {
  filter: brightness(0) invert(1) sepia(0%);

}

.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);
}



/* .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;
}


@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 {
  transform: scale(1.05) rotate(5deg);
  transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {

  .main-title {
    font-size: 3em;
    line-height: 1.2;
    margin-top: 10px;
    /* Zmenšení horního okraje */
    margin-bottom: 5px;
    /* Zmenšení spodního okraje */
  }

  .main-subtitle {
    font-size: 1.2em;
    /* Zmenšení podnadpisu */
  }

  .particle {
    width: 3px;
    height: 3px;
  }

  .animate-slide-up {
    transform: translateY(20px);
  }

  .hero-entrance {
    animation-duration: 1s;
  }
}

@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;
  }
}

/* Centered block with left-aligned text */
.section-content {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* Ensure left alignment for text within centered blocks */
.section-content p,
.section-content ul {
  text-align: left !important;
  margin-left: 0;
  margin-right: auto;
}


body.contact-page {
  background: #F5F4E6;
}

.contact-page .section-green {
  background: #FDE6E6 url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="8" y="14" width="24" height="12" rx="3" fill="%23F9B4B4"/><path d="M8 14l12 9 12-9" stroke="%23fff" stroke-width="2"/></svg>') repeat;
}

.contact-page .contact-form {
  border: 2px solid #F9B4B4;
  background: #fff;
}

.contact-page .contact-form button {
  background: #F9B4B4;
  color: #fff;
  font-weight: 600;
}

.contact-page .contact-form button:hover {
  background: #e98a8a;
}

.contact-block {
  background: #2d3121;
  color: #323522 !;
  padding: 48px 16px 32px 16px;
  border-radius: 0 0 40px 0;
  text-align: center;
  margin: 0 auto 40px auto;
  max-width: 700px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}
/* 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; */
.contact-block__title {
  font-family: "Gazpacho" !important;
  font-size: 2.2rem !important;
  font-weight:500;
  margin-bottom: 24px;
}

.contact-block__subtitle{
  font-family: "Gazpacho" !important;
  font-size: calc(13px + (21 - 14) * ((100vw - 375px) / (1600 - 375))) !important;
  font-weight: 500;
  margin-bottom: 24px;

}

.contact-block__photo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 0 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  /* Jemný stín */
  background: linear-gradient(135deg, #B8C2A7, #F5F4E6);
  /* Gradientní rámeček */
  padding: 3px;
}

.contact-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  
  /* Animace při najetí */
}



.contact-block__photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
}



.contact-block__info {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 40px 0;
  color: white;
}

.contact-block__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Mezera mezi jednotlivými položkami */
  min-width: 280px;
}

.contact-block__col:first-child {
  align-items: flex-start;
}

.contact-block__col:last-child {
  align-items: flex-end;
  text-align: right;
}

.contact-block__logo {
  margin: 32px auto 0 auto;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .contact-block__info {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .contact-block__col {
    align-items: center !important;
    text-align: center !important;
  }
}

.section-green.contact-block {
  background: #2d3121;
  color: #323522;
  padding: 56px 16px 32px 16px;
  border-radius: 0 0 40px 0;
  text-align: center;
  margin: 0 auto 40px auto;
  max-width: 700px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-green.contact-block .contact-block__title {
  
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
  color: #fff;
  text-align: center;
}

.section-green.contact-block .contact-block__photo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.section-green.contact-block .contact-block__info {
  display: flex;
  justify-content: center;
  gap: 120px;
  width: 100%;
  max-width: none;
  padding: 32px 0;
}

.contact-block__col {
  flex: 1 1 100px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  font-size: 1.18rem;
}

.section-green.contact-block .contact-block__col:not(:last-child) {
  border-right: 1.5px solid rgba(255, 255, 255, 0.18);
  padding-right: 24px;
}

.section-green.contact-block .contact-block__col:not(:first-child) {
  padding-left: 24px;
}

.contact-block__col div {
  margin: 0;
  padding: 0;

  font-size: 1.08em;
  line-height: 1.5;
  word-break: break-word;
}

.section-green.contact-block .contact-block__item {

  font-size: 1.18rem;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 18px 0;
  padding: 0;
  line-height: 1.5;
  word-break: break-word;
}

.contact-block__item i {
  font-size: 1.18em;
  margin-right: 10px;
  color: #fff;
  vertical-align: middle;
}

@media (max-width: 700px) {
  .navbar {
    background: #323522;
    
  }
  body.menu-open .navbar {
    background: #F5F4E6;
  }
  .hero-svg-icon svg{
    width: 240px;
    height: 240px;
  }
  .section-green.contact-block .contact-block__info {
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
  }

  .section-green.contact-block .contact-block__col {
    border: none !important;
    padding: 12px 0 !important;
    align-items: center !important;
    text-align: center !important;
  }
}



@media (max-width: 900px) {

  .contact-info-box span,
  .contact-info-box a {
    color: white;
  }

  .contact-block__info--cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .contact-info-box {
    min-width: 0;
    width: 90vw;
    max-width: 98vw;
    justify-content: flex-start;
    padding: 18px 28px;
    transform: none;
  }

  .contact-info-box:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  }
}


#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;
}



.contact-block__info--cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin: 60px auto 40px auto;
  perspective: 1200px;
}

.contact-info-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;

  padding: 25px 35px;
  min-width: 280px;
  max-width: 400px;
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  gap: 30px;
  cursor: pointer;

}

.contact-info-box i {
  font-size: 1.4em;
  color: #1a1a1a;
  
  border-radius: 50%;  background: #F5F4E6;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);

  backface-visibility: hidden;
}

.contact-info-box span {
  text-align: left;
  word-break: break-word;
  line-height: 1.6;
  text-decoration: none;
  color: inherit;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


.contact-info-box:hover {

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.2) inset;
  background: rgba(255, 255, 255, 0.08);
}

.contact-info-box:hover i {

  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

@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 104px 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;
  }

  .contact-block__photo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0 0 0;
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .contact-info-box {
    padding: 15px 20px !important;

  }

  .particle {
    width: 3px;
    height: 3px;
  }


  .hero-entrance {
    animation-duration: 1s;
  }



  .section-green p {
    text-align: justify;
    margin: 0px 16px;
    font-size: 18px;
    line-height: 1.9;
  }

  .contact-block__info--cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 2em 0em 0em 0em;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 0;

  }

  .contact-info-box {
    width: 90%;
    max-width: 100%;
    padding: 20px 24px;
    font-size: 1.2rem;
    gap: 24px;
  }

  .contact-info-box i {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    padding: 10px;
  }

  .contact-info-box span {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }

  .contact-block__photo {
    width: 250px;
    height: 250px;
    margin: 24px auto;
  }

  .section-green p {
    text-align: center !important;
  }
}


.footer {
  text-align: center;
  padding: 16px 0px 16px 0;
  background: #323522; 
}

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

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

@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);
  }
}

.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: #F5F4E6;
  color:black;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(36,40,28,0.12);
  padding: 12px; 
  box-sizing: border-box;
}
.fixed-logo:hover {
  background: #e0ddcc;
}

@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;
  }

  .contact-block__subtitle {
    font-size: 18px !important;
    line-height: 1.9;
  }

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