html {
  scroll-behavior: smooth;
}


nav {
  font-family: 'Space Grotesk', sans-serif;
  position: fixed;
}

.logo {
  margin-left: 2%;
}

.logo a {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  padding: 0 clamp(20px, 5%, 120px);

}


.logo a:hover {
  color: #28a745;
}

.nav-item a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: black;
  text-decoration: none;
  padding-left: 10%;
}

.nav-link {
  padding-left: clamp(0.5rem, 2vw, 2.5rem) !important;
  /* Min. 0.5rem, max. 1.5rem */
  padding-right: clamp(0.5rem, 2vw, 2.5rem) !important;
}

.nav-item a:hover {
  color: #28a745;
}

.nav-btn-custom,
.nav-btn-custom-mobile {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #a8f79c;
  color: black;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.5rem 1.6rem;
  font-size: 1rem;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-btn-custom-mobile {
  display: none !important;
}


.nav-btn-custom:hover {
  background-color: #93e88b;
  color: black;
  cursor: pointer;
}




/*-----------animace ----------*/

.reveal {
  opacity: 0;
  transform: translateY(30px);
  /* Posun dolů na začátku */
  transition: opacity 2.5s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  /* Plynulé zobrazení na místě */
}




/* Sekce head 
.head-section {
  position: relative;
  max-height: 560px;
  overflow: hidden;
}*/

.head-section {
  position: relative;
  width: 100vw;
  /* Celá šířka viewportu */
  height: 100vh;
  /* Celá výška viewportu */
  background-image: url('images/obrazek1.png');
  /* Ujisti se, že obrázek odpovídá */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
}

.head-image {

  width: 100%;
  height: auto;


}

.head-text-box {
  position: absolute;
  color: #FFF;
  text-align: center;
  text-shadow: 2px 4px 11px rgba(0, 0, 0, 0.25);
  font-family: Lora, serif;
}

.head-text-box h1 {
  font-size: 100px;
  /* Velikost hlavního nadpisu */
  font-weight: 500;
  line-height: normal;
  margin: 0;
}

.head-text-box p {
  color: #FFF;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Space Grotesk";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px;
  /* 112.5% */
  margin-top: 10px;
}


.text-box {
  background-color: #ffffff;
  font-family: Lora;
  font-size: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding-left: 10%;
  /*max-width: 900px;*/
  width: 100%;
  max-height: 200px;
  line-height: normal;
  letter-spacing: -0.96px;
}

.text-content {
  flex: 1;
  text-align: left;
}

.flower-icon {
  max-width: 20%;
  /* Obrázek bude maximálně zabírat 20% šířky rodiče */
  height: auto;
  /* Zachování poměru stran při zmenšování */
  margin-right: 5%;
}


/*
  .flower-icon {
    height: 200px; /* Velikost obrázku květiny 
    width: auto;
  }*/





.citat-section {
  background-color: #F8F3EC;
  padding: 150px 0;
  text-align: center;

}

.content {
  /*margin-left: clamp(20px, 8%, 86px);*/
  /* Dynamické odsazení od levého okraje */

  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.8px;
  line-height: 1.6;
  /* Řádkování pro lepší čitelnost */
  color: #333;


}

.citat-section p {
  text-align: center;
}



/*--------------features section ------------------*/

.features-section {
  background-color: white;
  /* Jemně béžové pozadí */
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

.feature-container {
  display: flex;
  gap: 40px;
  /* Mezera mezi boxy */
  justify-content: center;
  align-items: stretch;
  /* Všechny boxy budou stejně vysoké */
}

.feature-box {
  background-color: #F8F3EC;
  /* Světle krémová barva */
  border-radius: 13px;
  /* Zaoblené rohy */
  padding: 30px;
  text-align: center;
  /* Pevná šířka boxu */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* Jemný stín */
  width: 366px;
  height: 495px;
}

.feature-box img {
  width: auto;
  /* Nastavení jednotné šířky */
  height: 220px;
  /* Nastavení jednotné výšky */
  object-fit: contain;
  /* Zachová poměr stran a přizpůsobí obrázek */
  margin-bottom: 20px;
}

.feature-title {
  font-family: "Space Grotesk";
  font-size: 30px;
  font-weight: 600;
  color: #3D2E24;
  margin-bottom: 20px;
  line-height: 44px;
}

.feature-text {
  font-family: "Lora", serif;
  font-size: 16px;
  font-weight: 400;
  color: #3D2E24;
  line-height: 24px;
}



/*----------------------sekce o nas--------------------------*/

.about-section {
  display: flex;
  align-items: center;
  gap: 0px;
  /* Mezera mezi obrázkem a textovým boxem */
  align-items: stretch;
  margin-left: 2%;
  margin-right: 2%;

}

.image-container {
  flex: 1.3;
  overflow: hidden;
  display: flex;
}

.img-fluid {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: right;
}

.about-text-box {

  background-color: #E27456;
  color: #ffffff;
  height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.about-text-box a.btn-custom {
  align-self: flex-start;
}

.section-title {
  color: #FFF;

  font-family: Lora;
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.96px;
  margin-bottom: 50px;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 10%;
}

.section-description {
  font-family: Lora;
  font-size: 18px;
  line-height: 1.6;

  margin-left: 10%;
  margin-right: 10%;
}

.more-text {
  font-family: Lora;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 80px;
  margin-left: 10%;
  margin-right: 10%;
}

.btn-custom {
  background-color: #a8f79c;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  text-align: left;
  margin-left: 10%;
  margin-right: 10%;
}

.about-btn {

  display: none;
}


.btn-custom:hover {
  background-color: #93e88b;
  color: #000;
  text-decoration: none;
}

/*---------------------wedding--------------------*/

.wedding-section {
  background-color: #F8F3EC;
  max-height: 100vh;
}

.wedding-text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
}

.wedding-content {
  max-width: 500px;
}

.wedding-title {
  font-family: Lora;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  /* 48px */
  letter-spacing: -0.96px;
  margin-bottom: 6%;
}

.wedding-text {
  font-family: Lora;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 6%;
}

.wedding-btn {

  background-color: #a8f79c;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  text-align: left;
  margin-left: 10%;
  margin-right: 10%;

}

.wedding-btn:hover {
  background-color: #89C02D;
}

/* Pravá část - obrázek */
.wedding-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
  max-height: 100vh;
}

.wedding-image {


  object-fit: cover;
}


/*--------------kvetinarstvi--------------------*/

.container {
  max-width: 90%;
  padding: 0;
}


.gallery-section {
  background-color: #ffffff;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-title {
  font-family: Lora;
  font-size: 80px;
  font-style: normal;
  font-weight: 500;
  line-height: 85px;
  letter-spacing: -2.4px;
  text-align: left;
  margin-left: 5%;
  flex: 2;
  margin: 0;
}

.gallery-subtitle {
  font-family: "Space Text", sans-serif;
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
  flex: 1;
  text-align: right;
  margin: 0;
  line-height: normal;
}

.gallery-card {
  text-align: center;
}

.gallery-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}

.gallery-caption {
  font-family: "Space Text", sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Nadpis vlevo, text-box vpravo */
}


/*--------------model pro zvětšený obrázek -------------------*/

/* Modal - skrytý na začátku */
.modal {
  display: none;
  /* Skrytý */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  /* Černé pozadí s průhledností */
}

/* Obrázek v modalu */
.modal-content {
  margin: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
  margin-top: 10%;
}

/* Zavírací tlačítko */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #ccc;
}

/*------------------services section ------------------*/


.services-section {
  background-color: #fefaf5;
}

.services-title {
  font-family: Lora;
  font-size: 48px;
  font-size: 2.5rem;
  color: #333;
  text-align: left;
  margin-left: 5%;
}

.service-card {
  background-color: #fefaf5;
  border: none;
  /* Odstranění okraje */
  text-align: center;
  border-radius: 10px;
}

.service-icon {
  width: 50px;
  height: auto;
}

.service-title {
  font-family: Lora;
  font-size: 48px;
  color: #333;
  margin-bottom: 15px;
}

.btn-dark {
  background-color: #000;
  color: #fff;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 8px;
}

.btn-dark:hover {
  background-color: #333;
}


/*------------------form section ------------------*/

/* Obecný styl sekce */
.form-section {
  font-family: "Lora", serif;
  color: #3d2e24;
}

/* Popis nad formulářem */
.form-description {
  font-family: Lora;
  font-size: 42px;
  font-style: normal;
  font-weight: 400;
  line-height: 113%;
  /* 54.24px */
  letter-spacing: -0.96px;
  display: flex;
}

/* Kontejner pro formulář */
.form-container {
  background-color: #f9f5ef;
  /* Světle béžová barva */

  border-radius: 10px;
}

.mb-3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Nadpis formuláře */
.form-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #3d2e24;
  line-height: 1.2;
}

/* Štítky formuláře */
.form-label {
  font-size: 1rem;
  font-weight: 600;
  color: #8b8884;
  width: 120px;
  text-align: right;
}

/* Inputy formuláře */
.form-control {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  flex: 1;
  padding: 10px;
}

/* Styl tlačítka */
.btn-submit {
  background-color: #bfffa2;
  /* Světle zelená */
  font-family: "Lora", serif;
  color: #000;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: block;
  margin-left: auto;
  max-width: min-content;
}

.btn-submit:hover {
  background-color: #a1e88f;
}

.form-text {
  font-family: Lora;
  font-size: 18px;
  line-height: 1.6;
  margin-right: 20%;
}

/*--------------------mapa---------------------------*/

.map-section {
  background-color: #F8F3EC;
  padding: 10px 0;
  text-align: center;
}

.map-title {
  font-family: "Lora", serif;
  font-size: 28px;
  font-weight: 600;
  color: #3D2E24;
  margin-bottom: 20px;
}

.map-container {
  width: 100%;

  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}


/*--------------------contact section---------------------------*/

.contact-section {
  padding: 40px 0;
  font-family: "Lora", serif;
  color: #3d2e24;
}

.container_contact {
  max-width: 800px;
  margin: 0;
  /* Odstranění centrování */
  padding-left: 5%;
  /* Malé odsazení od levého okraje */
  text-align: left;
  /* Zarovnání textu vlevo */
}

.contact-title {
  /* display: flex;*/
  align-items: end;
  /* Zarovná text a ikony na stejnou úroveň */
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.social-icon {
  width: 24px;
  height: 24px;
  margin-left: 2px;
  margin-right: 5px;
  /* Mezera mezi ikonami */

}

.contact-info {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  /* Text v kontaktu vlevo */
}

.contact-info a {
  color: #3d2e24;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}


.contact-photo {}


/*-----------------------footer-------------------*/

.footer {
  background-color: #F8F3EC;
  /* Stejné pozadí jako web */
  padding: 40px 0;
  text-align: center;
}

.footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.footer-brand {
  font-family: "Lora", serif;
  font-size: 22px;
  font-weight: 600;
  color: #3D2E24;
}

.footer p,
.footer a {
  font-family: "Lora", serif;
  font-size: 16px;
  color: #3D2E24;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.social-icon {
  width: 20px;
  height: auto;
  margin-left: 5px;
}


textarea::placeholder {
  font-size: 14px;
  font-style: italic;
}

/*měřítko*/
/* Výchozí měřítko pro širokoúhlé monitory (16:9) */

/* Pro obrazovky s poměrem stran 4:3 nastav škálování na 80% */


@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Skryje horizontální posuvník */
  }

  .navbar {
    padding-left: 5vw;
    /* Okraj vlevo */
    padding-right: 5vw;
    /* Okraj vpravo */
  }

  .nav-btn-custom {
    display: none;
  }

  .nav-btn-custom-mobile {
    display: block !important;
  }

  /* Hlavní sekce na celou šířku */
  .head-section {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 90vh;
    background-image: url('images/obr1-mobil.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;

    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  /* Odstranění nechtěných marginů */
  .container,
  .container-fluid {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Oprava textového boxu */
  .head-text-box {
    font-size: 30px !important;

  }


  .head-text-box h1 {
    font-size: 40px;

  }

  .head-text-box p {

    font-size: 18px;


  }



  /* Odstranění extra odsazení */
  .text-box {
    width: 100vw !important;
    max-width: 100vw !important;
    font-size: 1.5rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0 !important;
  }

  .flower-icon {
    max-width: 18%;
    /* Květinová ikona mírně větší */
  }

  /*-----------------citat-----------------*/

  .citat-section {
    padding: 50px 0;

  }

  .content {
    font-size: 1rem;
  }

  /*-------------------features---------------*/

  .row>* {

    width: auto !important;
  }


  .feature-box {

    padding: 30px;

    width: 270px;
    height: 365.164px;

  }

  .feature-box img {

    height: 130px;

    margin-bottom: 15px;
  }

  .feature-title {
    font-weight: 500;

  }

  .feature-text {}



  /*-------------ABOUT-------------*/

  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 40px;
    margin-bottom: 30px;
  }

  .section-description {
    margin-left: 4%;
    margin-right: 4%;
    font-size: 18px;
    margin-bottom: 5px;

  }

  .about-text-box {
    padding: 20px;
  }

  .btn-custom {

    font-size: 0.8rem;
    margin: 10px auto;
  }






  .more-text {
    display: none;
    margin-left: 4%;
    margin-right: 4%;
  }

  .about-btn {
    color: white;
    display: block;
    font-size: 16px;
    padding: 8px 16px;

    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }




  /*------------------features-----------------------*/

  .features-section .feature-box {
    text-align: center;
    padding: 15px;
  }

  .service-card {
    margin-bottom: 20px;
    /* Odstup mezi kartami */
  }


  .mb-3 {
    flex-direction: column;
  }

  .btn-submit {
    width: 100%;
    /* Tlačítko na celou šířku */
  }


  .navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-btn-custom {
    order: 2;
    /* Tlačítko se přesune doprava */
  }

  .navbar-toggler {
    order: 1;
    /* Hamburger menu se přesune doleva */
  }

  /*------------wedding section----------*/

  .wedding-image-container {


    overflow: hidden;

  }

  .wedding-title {

    font-size: 32px;

  }

  .wedding-text {

    font-size: 20px;

  }

  .wedding-image {

    display: none;
    object-fit: cover;
  }



  /*------------form-----------------*/

  .form-control {
    width: max-content;
  }

  .form-description {
    padding-left: 5%;
    font-size: 24px;
  }

  .form-title {
    font-family: "Space Grotesk";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    padding-bottom: 5%;
    text-align: left;
  }

  .form-label {
    text-align: left;
    width: fit-content;

  }

  .btn-submit {
    /*text-align: left;*/
    max-width: none;


    font-family: "Space Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
  }



  .mb-3 {
    /*display: block !important;*/
    flex-direction: row !important;
  }

  .form-text {
    text-align: left;
    margin-right: 0%;
    display: none;
  }

  .row {
    display: block;
  }


  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /*-----------------------*/

  .contact-title {
    padding-left: 5%;
  }

  .contact-info {
    padding-left: 5%;
  }

  .contact-photo {
    width: 70%;
    margin-bottom: 4%;
  }






  .contact-section {
    padding: 0px 0;

  }

  .container_contact {}

  .contact-title {
    font-family: Lora;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    display: block;
  }

  .social-icon {}

  .contact-info {
    display: none;
  }

  .contact-info a {}

  .contact-info a:hover {}


  /*------------------FOOTER-------------------*/

  .footer .row {
    flex-direction: column;
    text-align: center;
  }

  .footer .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-links {
    padding: 0;
    text-align: center;
  }

  .social-icon {
    display: inline-block;
    margin: 0 10px;
  }


}