* {
    margin: 0;
    padding: 0;
    font-family: "classico-urw", sans-serif;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
}

:root{
    --color-pink: #EE9ECF;
    --color-grey: #303030;
    --color-green: #004225; 
}

/* Document font size start */

h1 {
    font-family: "classico-urw", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: var(--color-pink);
}

h2 {
    font-family: "classico-urw", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.25rem, 4vw, 2.5rem);
    color: var(--color-pink);
    padding: 30px;
    text-align: center;
}

h3 {
    font-family: "classico-urw", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.125rem, 3.5vw, 2rem);
    color: var(--color-grey);
}

.place-title {
    color: var(--color-pink);
}

p {
    font-family: "classico-urw", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-grey);
}

a {
    font-family: "classico-urw", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-grey);
}


a:hover{
  color: var(--color-pink);
}

span{
    font-family: "classico-urw", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-grey);
}

.container-header p{
    font-family: "classico-urw", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: white;
}

/* Document font size end */


/* header start */
.homeArea {
    background: url("../Galerie/mydva.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.container-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    align-self: center;
}

/* header end */

/* navigation start */

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(2px);
    z-index: -1;
}


.logo{
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.navbar a{
    font-size: 1.15rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

.navbar a:hover {
    color: var(--color-pink)
}

.navbar .confirm-button:hover {
  color: var(--color-grey);
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color:#fff;
    cursor: pointer;
    display: none;
}

@media (max-width: 1365px) {
    .header{
        padding: 1.1rem 5%;
    }
}

@media (max-width: 1213px) {
    .icons {
        display: block;
    }

    #check:checked~.icons #menu-icon{
        display: none;
    }

    .icons #close-icon{
        display: none;
    }

    #check:checked~.icons #close-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0,0,0,0.3);
        backdrop-filter: blur(2px);
        box-shadow: 0 .5rem 1fr rgba(0,0,0,0.1);
        overflow: hidden;
        transition: .3s ease;
    }

    #check:checked~.navbar {
        display: block;
        height: 20rem;
    }

    .navbar a{
        display: block;
        font-size: 1.3rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .2s ease;
    }

    #check:checked~.navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }

  .navbar a.confirm-button {
    display: block;
    width: fit-content;
    padding: 8px 24px;
    background-color: var(--color-pink);
    border-radius: 24px;
    margin: 1.5rem auto 0 auto; /* nahoře mezera, centrování */
    text-align: center;
  }
}



.scrolled {
    background-color: var(--color-grey);
}

.header.scrolled::before {
    background: var(--color-grey);
}

.scrolled .navbar a {
    background-color: transparent;
}

.confirm-button{
    background-color: var(--color-pink);
    border-radius: 24px;
    padding: 8px 16px;
}

.navbar a.confirm-button,
.scrolled .navbar a.confirm-button {
    background-color: var(--color-pink);
}

/* navigation end */

/* Timer Container start */

.container-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; 
    background-color: #EE9ECF;
}

.dateTime {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; 
}

.dateTime div {
    margin-top: 10px;
    flex-basis: 100px;
    text-align: center;
    margin-bottom: 20px;
}

.dateTime div p {
    font-size: clamp(1.5rem, 5vw, 3rem);
}

/* Timer Container end */

/* Main places start */

.container-place {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
}

.content-place-wedding-photo,
.content-place-hotel-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-place-wedding-photo img,
.content-place-hotel-photo img {
    width: clamp(250px, 80%, 500px);
    height: auto;
    object-fit: cover;
}

.content-place-wedding-text,
.content-place-hotel-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Mobilní verze */
@media (max-width: 768px) {
    .container-place {
        grid-template-columns: 1fr;
        padding: 0px 0px 40px 0px
    }

    .content-place-wedding-photo {
        order: 2;
    }

    .content-place-wedding-text {
        order: 1;
    }

    .content-place-hotel-photo {
        order: 4;
    }

    .content-place-hotel-text {
        order: 3;
    }
}


/* Main places end */

/* Form intro start */

.container-title{
    background: url(/Galerie/mainpage-form.jpg); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    width: 100%;
    height: 700px;  
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.container-title h2{
    background: var(--color-pink);
    color: white;
}

@media (max-width: 768px) {
    .container-title {
        height: 250px;
    }
}

/* Form intro end */


/* form start */

.container-form {
    display: grid;
    grid-template-columns: minmax(300px, 1fr);
    justify-items: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 400px;
    text-align: center;
}

.form-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.form-text button {
    padding: 10px 20px;
    font-size: clamp(1.125rem, 3.5vw, 2rem);
    background-color: var(--color-pink);
    color: white;
    border: 2px solid var(--color-pink);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-text button a{
    all: unset;
    cursor: pointer;
}

.form-text button:hover {
    background-color: white;
    color: var(--color-grey);
}

@media (max-width: 768px) {
    .container-form {
        grid-template-columns: 1fr;
        padding: 40px;
        min-height: 300px;
    }
    }

/* form end */

/* footer start */

footer{
    background-color: var(--color-green);
    padding: 40px 0px;
}

.container-footer{
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: clamp(3rem, 3.78788vw, 5rem);
    align-items: start;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-colum{
    display: flex;
    flex-direction: column;
    align-items: left;
}

.footer-colum h3 {
  display: inline-block;
  color: white;
  border-bottom: 2px solid var(--color-pink);
  padding-bottom: 5px;
  margin-bottom: 15px;
  width: fit-content;
}

.footer-colum ul {
    list-style: none;
}

.footer-colum ul li {
    margin: 5px 0;
}

.footer-colum a {
    text-decoration: none;
    color: white;
}

.footer-colum a:hover {
    color: var(--color-pink)
}

.footer-colum p{
    color: var(--color-pink);
}

@media (max-width: 768px) {
    .container-footer {
        grid-template-columns: 1fr;
    }
    .footer-colum{
        text-align: center;
        align-items: center; 
    }
 }

 /* footer end */


 /* color palet start */

.color-palette-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0px 0px 30px 0;
}

.color-card-container {
  flex: 1 1 220px;
  max-width: 220px;
  display: flex;
  justify-content: center;
}

.color-card {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3; /* drží poměr stran (např. 2:3) */
  transition: .3s ease;
  overflow: hidden;
}

.color-card-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.9) saturate(1) contrast(1);
  transform: scale(1);
  transition: .3s ease;
}

.color-card:hover .color-card-background {
  transform: scale(1.15);
  background-size: 260px;
}

.color-palette-section:has(.color-card:hover) .color-card:not(:hover) {
  transform: scale(0.9);
}

.color-palette-section:has(.color-card:hover) .color-card:not(:hover) .color-card-background {
  filter: blur(2px);
  transition: filter .3s ease;
}

.card-heading {
  position: absolute;
  top: 50%;
  left: 0;
  padding: 25px;
  color: white;
  transform: translateY(-50%);
}

/* Mobile – stacked layout */
@media (max-width: 767px) {
  .color-card-container {
    max-width: 40%;
    flex: 1 1 40%;
    padding: 0 1px;
  }

  .card-heading {
    left: 5%;
  }

  .color-card,
  .color-card a {
    pointer-events: none; /* pokud potřebuješ zakázat hover/klikání */
  }
}

/* Tablet – two columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .color-card-container {
    max-width: 45%;
    flex: 1 1 45%;
  }

  .card-heading {
    left: 10%;
  }

   .color-card,
  .color-card a {
    pointer-events: none; /* pokud potřebuješ zakázat hover/klikání */
  }
}
     /* color palet end */

.article-text p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto; 
}

.article-text a {
  text-align: center;
  max-width: 800px;
  margin: 0 auto; 
}

.article-text-end p{
  text-align: center;
  max-width: 800px;
  margin: 0 auto; 
  padding-bottom: 30px;
}

@media (max-width: 768px){
  .article-text p{
    max-width: 300px;
}
}

@media (max-width: 768px){
  .article-text-end p{
    max-width: 300px;
}
}

/* acomodation start */

/* .accommodation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px 0px 20px 0px;
  max-width: 1000px;
  margin: 0 auto; 
}

.accommodation-item {
  border: 1px solid #ccc;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.accommodation-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 12px;
}


@media (max-width: 767px) {
  .accommodation-grid {
    grid-template-columns: 1fr;
    max-width: 85%;
  }
} */

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px 0 40px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.accommodation-item {
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center; 
}

.accommodation-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.accommodation-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.accommodation-item h3 {
  font-size: 1.2rem;
  margin: 16px 0 8px 0;
  color: #3c3c3c;
}

.accommodation-item p {
  font-size: 1rem;
  color: #666;
  margin: 4px 0;
}

.accommodation-item a {
  display: inline-block;
  margin: 12px 0 12px 0;
  padding: 8px 16px;
  background-color: var(--color-pink);
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.accommodation-item a:hover {
  background-color: white;
  border: 2px solid var(--color-pink);
  color: var(--color-grey); 
}

@media (max-width: 767px) {
  .accommodation-grid {
    grid-template-columns: 1fr;
    max-width: 90%;
  }
}


/* acomodation end */

/* faq start */

     .faq-container {
      max-width: 700px;
      margin: 0 auto;
      padding-bottom: 30px;
    }

    .faq-item {
      background: #fff;
      border-radius: 10px;
      margin-bottom: 10px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }

    .faq-question {
      padding: 1rem;
      font-weight: bold;
      cursor: pointer;
      position: relative;
      background-color: #eaeaea;
    }

    .faq-question::after {
      content: '+';
      position: absolute;
      right: 1rem;
      font-size: 1.5rem;
      transition: transform 0.3s;
    }

    .faq-item.active .faq-question::after {
      content: '−';
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      padding: 0 1rem;
      background-color: #fff;
    }

    .faq-item.active .faq-answer {
      padding: 1rem;
      max-height: 500px;
    }

    @media (max-width: 767px) {
     .faq-container {
      max-width: 85%;
      margin: 0 auto;
    }
}

/* faq end */

/* carusel start */
.gallery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 0;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* sekce pro šipky + tečky */
.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  gap: 15px;
}

.prev, .next {
  font-size: 1.5rem;
  color: var(--color-grey);
  padding: 8px 12px;
  cursor: pointer;
  background-color: rgba(255,255,255,0.85);
  border-radius: 6px;   /* lehce zaoblený čtverec */
  user-select: none;
  transition: background-color 0.3s;
}

.prev:hover, .next:hover {
  background-color: rgba(220,220,220,1);
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: var(--color-pink);
}

/* Lightbox styl */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

/* Mobil */
@media (max-width: 767px) {
  .slideshow-container {
    max-width: 95%;
  }

  .prev, .next {
    font-size: 1.2rem;
    padding: 6px 10px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 70%;
  }
}
/* carusel end */
/* contact grid start */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0px;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.contact-photo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.contact-text h3 {
  margin-bottom: 10px;
}

.contact-text p {
  margin: 5px 0;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
}

.contact-text a{
font-size: clamp(0.8rem, 2vw, 1.1rem);
}
/* Mobilní verze – 1 sloupec grid + skládání kontaktu pod sebe */
@media (max-width: 1284px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-item {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 10px;
  }

  .contact-text {
    text-align: center;
  }
}/* contact grid end */

.signature {
    color: var(--color-pink);
    text-align: right;
    padding-top: 10px;
    padding-right: 15px;
    font-size: 14px

}

.signature {
    color: var(--color-pink);
    text-align: right;
    padding-top: 10px;
    padding-right: 15px;
    font-size: 14px

}

@media (max-width: 767px){
    .signature{
        text-align: center;
        padding-top: 10px;
        padding-right: 0px;
    }
      .contact-grid {
    padding: 10px 0px 0px 0px;
} 
}

