body{
    margin: 0;
    background-color: #F0F0F0; /* Light gray background */
    height: 100%;   
}
html {
    height: 100%;
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}  

#scroll{
    position: fixed;
}
#scroll {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #494a48ab ;
    width: 100%;
    height: 7rem; 
    position: fixed;      
    z-index: 1000; /* Ensure the nav bar is always on top */
    transition: height 0.3s ease-in-out, background-color 0.3s ease-in-out; 
    border-bottom: #403939 2px solid; /* Dark green border at the bottom */
}

#scroll.shrink {
    height: 4rem;
    background-color: #494a48;
}
#scroll .logo {
    width: 100px;
    height: 100px;
    transition: width 0.3s, height 0.3s;
}
#scroll.shrink .logo {
    width: 60px;
    height: 60px;
}
#scroll a {
    font-size: 1.2rem;
    transition: font-size 0.3s;
}
#scroll.shrink a {
    font-size: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s, font-size 0.3s;
    margin: 0;
}
 
li a:hover {
    color:  #282928ab; 
    font-size: 1.5rem;
}

.logo{
    width: 100px;
    height: 100px;   
}
.logo:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

ul{
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
}   
li{
    padding-left: 10rem;
    margin-right: 5rem;
}


/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("fotky/heroimage.jpeg");

  /* Set a specific height */
  height:   100vh;
  width: 100%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  border-bottom: #2D4F2B 3px solid;
}
.hero-text {
  color: white;
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.background {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('fotky/background.jpg'); /* Light gray background */
  padding: 2rem;
  background-size: cover;
  background-position: center;
  margin-top: -5rem;
}

.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color:   #9c7a47;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  margin-left: 35%;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.button:hover .icon {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color:  white; /* Dark gray for better contrast */
    background-color:  #494a48;
    border-radius: 2rem;
    padding: 1rem;
    width: 50%;
    margin-left: 25%;
    margin-bottom: 10rem;
    margin-top: 10rem;
    border: #a4b496 2px solid;
}

.service-item1 {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    color: white;
    background-color: #494a48;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 60%;
    text-align: center;
    position: relative;
    top: 12.5rem;
    border: #a4b496 2px solid;
}
.img1 {
    width: 25%;
    height: 25%;
    margin-bottom: 1rem;
    position: relative;
    left: 60%;
    top: -10rem;
    border: white 2px solid;
}


.service-item2 {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    color: white;
    background-color:  #494a48ab;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 60%;
    text-align: center;
    position: relative;
    left: 55%;
    top: -32.5rem;
    border: #a4b496 2px solid;
}
.img2 {
    width: 20%;
    height: 20%;
    margin-bottom: 1rem;
    position: relative;
    left: 20%;
    top: -5rem;
    border: white 2px solid;
}



.service-item3 {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    color: white;
    background-color: #494a48ab;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 60%;
    text-align: center;
    position: relative; 
    top: -12.5rem;
    border: #a4b496 2px solid;
}
.img3 {
    width: 30%;
    height: 30%;
    margin-bottom: 1rem;
    position: relative;
    left: 60%;
    top: -30rem;
    border: white 2px solid;
}
/* Footer styling */
footer {
    background:  #494a48;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    margin-top: 3rem;
    margin-top: -2rem;
    position: relative;
}

footer .follow {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    font-family: 'Pridi', serif;
}

footer .social-icons {
    margin-bottom: 1rem;
}

footer .social-icons img {
    width: 36px;
    height: 36px;
    margin: 0 0.5rem;
    vertical-align: middle;
    filter: brightness(0) invert(1) grayscale(1);
    transition: filter 0.3s, transform 0.2s;
    cursor: pointer;
}

footer .social-icons img:hover {
    filter: brightness(1) invert(0) grayscale(0);
    transform: scale(1.15);
}

footer .copy {
    font-size: 0.95rem;
    color: #e6e6e6;
    margin-top: 1rem;
    letter-spacing: 0.03em;
}

.services {
    margin-bottom: -10rem;
}
.service-item1 h3{
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff; /* White for better contrast */
}
.service-item1 p {
    font-size: 1.1rem;
    color: #e6e6e6; /* Light gray for better readability */
}

.service-item2 h3{
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff; /* White for better contrast */
}
.service-item2 p {
    font-size: 1.1rem;
    color: #e6e6e6; /* Light gray for better readability */
}

.service-item3 h3{
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff; /* White for better contrast */
}
.service-item3 p {
    font-size: 1.1rem;
    color: #e6e6e6; /* Light gray for better readability */
}
a{
    text-decoration: none;
}

/* Kontaktný formulár */
.contact-section {
    width: 430px;
    margin: 8rem auto 8rem 6vw;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px rgba(44, 70, 41, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
}


.contact-section h2 {
    font-family: 'Pridi', serif;
    color: #2D4F2B;
    margin-top: 2rem;
    margin-bottom: 5rem;
    font-size: 2rem;
    letter-spacing: 0.04em;
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}
#scroll {
    height: 7rem;
    transition: height 0.3s, background-color 0.3s;
}
#scroll.shrink {
    height: 4rem;
    background-color: #494a48; /* Optional: more solid background on scroll */
}
#scroll .logo {
    width: 100px;
    height: 100px;
    transition: width 0.3s, height 0.3s;
}
#scroll.shrink .logo {
    width: 60px;
    height: 60px;
}
#scroll a {
    font-size: 1.2rem;
    transition: font-size 0.3s;
}
#scroll.shrink a {
    font-size: 1rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: #708A58;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #E6C767;
    border-radius: 0.8rem;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    background: #FFF1CA;
    color: #2D4F2B;
    transition: border-color 0.2s;
    box-sizing: border-box;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #708A58;
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 220px;
}

.contact-form .button {
    width: 100%;
    margin-top: 1rem;
    margin-left: 0;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-radius: 2rem;
    background: #E6C767;
    color: #2D4F2B;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(44, 70, 41, 0.10);
}

.contact-form .button:hover {
    background: #2D4F2B;
    color: #fff;
    transform: scale(1.03);
}

.kontakt-body{
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('fotky/bcg-kontakt.jpg'); /* Light gray background */
    background-size: 100vw 275vh;
    background-position: center;

}

.contact-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 6vw;
    margin-top: 2rem;
    gap: 3rem; /* medzera medzi formulárom a ikonami */
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    margin: 8rem auto 6rem 6vw;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px rgba(44, 70, 41, 0.10);
    min-width: 80px;
    width: 430px;
    background-color: #fff;
}

.contact-info p{
    text-align: center;
}

.contact-icons p{
    font-size: 1.2rem;
}



.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: auto;
    padding: 1rem;
    border-radius: 5rem;
    background-color: #708A58;
}

.context{
    font-family: 'Pridi', serif;
    color: #2D4F2B;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0;  
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 4rem;
  padding: 20px;
  max-width: 1000px;
  margin: 10rem auto;
}

.gallery img {
  width: 10vw;
  height: 15vh;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: -2rem;
}

.gallery img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2D4F2B;
    color: #fff;
    padding: 1.2rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(44, 70, 41, 0.15);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 2000;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    animation: fadeIn 0.7s;
}
.cookie-btn {
    background: #E6C767;
    color: #2D4F2B;
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.cookie-btn:hover {
    background: #fff;
    color: #2D4F2B;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

.galeria-body{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('fotky/bcg-galeria.jpg'); /* Light gray background */
    background-size: 100vw 300vh;
    background-position: center;
}

.max{
    width: 15rem;
    height: 10rem;
}

/* Bottom section layout */
.bottom-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 3rem auto;
    padding: 2rem 1rem;
    background: #494a48;
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px rgba(44, 70, 41, 0.08);
}

.bottom-left {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.bottom-photo {
    width: 22rem;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(44, 70, 41, 0.10);
}

.bottom-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #494a48;
}

.bottom-heading {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #E6C767; /* Light yellow for contrast */
    font-family: 'Pridi', serif;
    letter-spacing: 0.03em;
}

.bottom-text {
    font-size: 1.1rem;
    color: white;
    line-height: 1.7;
    word-break: break-word;
}

/* Responsive for mobile */
@media (max-width: 900px) {
    .bottom-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    .bottom-left, .bottom-right {
        align-items: center;
        justify-content: center;
    }
    .bottom-right {
        align-items: center;
    }
}
.max:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}  
.burger {
    display: none;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    margin-right: 1.5rem;
    z-index: 2001;
    align-items: center;
    margin-top: 1rem;
    position: relative;
}
/*tablet and mobile styles*/

@media (max-width: 1200px) {
    ul {
        align-items: center;
        margin-left: -2rem;
    }
    .logo{
        width: 8    0px;
        height: 80px;
        margin-left: 1rem;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));;
        gap: 3rem;
        width: 90%;
    }
    .gallery img {
        width: 12vw;
        height: 12vh;
        margin-bottom: 1rem;
    }
    .kontakt-body{
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('fotky/bcg-kontakt.jpg'); /* Light gray background */
    background-size: 100vw 100vh;
    background-position: center;
    background-repeat: no-repeat;
}
.contact-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: -6vw;
    margin-top: 2rem;
    gap: 2rem; /* medzera medzi formulárom a ikonami */

}
    footer{
        margin-top: 0;
        padding: 1rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 1250px) {
    .services h2 {
        width: 90%;
        margin-left: 5%;
        font-size: 2rem;
    }
    .service-item1{
        width: 90%;
        margin-left: 2%;
        top: -3rem;
    }
    .img1{
        margin-top: -10rem;
        width: 80%;
        margin-left: -37.5rem;
        scale: 0.5;
    }
     .service-item2{
        width: 90%;
        margin-left: -37.5rem;
        top: -105rem;
    }
    .img2{
        margin-top: -25rem;
        width: 80%;
        margin-left: -5rem;
        scale: 0.5;
    }
    .service-item3{
        width: 90%;
        margin-left: 3rem;
        top: -45rem;
    }
    .img3{
        margin-bottom: -3rem;
        width: 80%;
        margin-left: -35.5rem;
    }
    .hero-image {
        height: 80vh; /* Adjusted height for smaller screens */
        width: 100%;
    }
}


@media (max-width: 1250px) {
    nav {
        flex-wrap: wrap;
        height: 5rem;
    }
    .burger {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
    }
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 5rem;
        left: 0;
        width: 100vw;
        background: #708a58;
        padding: 0;
        margin: 0;
        display: none;
        z-index: 2000;
        border-bottom: #2D4F2B 2px solid;
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        width: 100%;
        text-align: center;
        padding: 1.2rem 0;
        border-bottom: 1px solid #a4b496;
        margin: 0;
    }
    nav ul li:last-child {
        border-bottom: none;
    }
    .logo {
        width: 60px;
        height: 60px;
        margin-left: 1rem;
    }
}

@media (max-width: 1000px) {
    .services h2 {
        width: 90%;
        margin-left: 5%;
        font-size: 2rem;
    }
    .service-item1{
        width: 90%;
        margin-left: 2%;
        top: -3rem;
    }
    .img1{
        margin-top: 7rem;
        width: 80%;
        margin-left: -30.5rem;
    }
     .service-item2{
        width: 90%;
        margin-left: -30rem;
        top: -62rem;
    }
    .img2{
        margin-top: 17rem;
        width: 80%;
        margin-left: -32rem;
    }
    .service-item3{
        width: 90%;
        margin-left: 2%;
        top: -32rem;
    }
    .img3{
        margin-bottom: -13rem;
        width: 80%;
        margin-left: -30.5rem;
    }
        
    }
@media (max-width: 1024px) {
        .hero-image {
            height: 100vh; /* Adjusted height for smaller screens */
            width: 100%;
        }
        .burger{
            margin-top: -1rem;
        }
        .service-item1{
            width: 90%;
            margin-left: 2rem;
            top: -3rem;
        }
        .img1{
            margin-top: -5rem;
            width: 80%;
            margin-left: -30.5rem;
        }
         .service-item2{
            width: 90%;
            margin-left: -30rem;
            top: -90rem;
         }
         .img3{
            margin-bottom: -13rem;
            width: 80%;
            margin-left: -30.5rem;
            top: -40rem;

         }
    }

@media (max-width: 768px) {
    .hero-text {
        font-size: 2rem; /* Smaller font size for hero text */
        top: 60%; /* Adjusted position for smaller screens */
    }
   .button{
    margin-left: 6rem;
   }
   .img1 {
        width: 80%;
        height: auto;
        margin-left: -21rem;
    }
    .service-item2 {
        width: 90%;
        margin-left: -22.5rem;
        top: -100rem;
    }
    .img2 {
        width: 80%;
        height: auto;
        margin-left: -4rem;
        top: -30rem;
    }

    .service-item3 {
        width: 90%;
        margin-left: 2rem;
        top: -65rem;
    }
    .img3 {
        width: 80%;
        height: auto;
        margin-left: -22rem;
        top: -60rem;
    }
}
@media (max-width: 376px) {
    .services h2{
        margin-left: -0.3rem;
    }
    
}
@media (max-width: 426px) {
    .button {
        margin-left: 3rem;
    }
    .services h2{
        margin-left: 0;
    }
    .service-item1 {
        width: 90%;
        margin-left: 0;
        top: -3rem;
    }
    .img1 {
        height: auto;
        width: 200%;
        margin-left: -25.5rem;
    }

    .service-item2 {
        width: 90%;
        margin-left: -12.5rem;
        margin-top: -20rem;
    }
    .img2 {
        height: auto;
        width: 200%;
        margin-left: -16rem;
        display: flex;
    }
    .service-item3 {
        width: 90%;
        margin-left: 0;
        top: -50rem;
    }
    .img3 {
        height: auto;
        width: 100%;
        margin-left: -13rem;
        top: -40rem;
    }

    .contact-info
    {
            display: flex;
            width: 90%;
            margin-left: -28rem;
            padding: 1.5rem;
            margin-top: 60rem;
            margin-right: 1rem;
        }
    .contact-section {
       scale: 0.9;
    }
}
@media (max-width: 376px) {
    .button {
        margin-left: 50px;
    }
    .service-item1 {
        width: 90%;
        margin-left: 0;
        top: -3rem;
    }
    .img1 {
        height: auto;
        width: 200%;
    }
    
    .service-item2 {
        width: 90%;
        margin-left: -10.5rem;
        top: -110rem;
    }
    .img2 {
        height: auto;
        width: 200%;
        margin-left: -13.5rem;
        display: flex;
    }

    .service-item3 {
        width: 90%;
        margin-left: 0;
        top: -70rem;
    }
    .img3 {
        height: auto;
        width: 100%;
        margin-left: -11.5rem;
        top: -70rem;
    }
    .services {
        max-height: 3000px;
    }
    .background{
        height: 3000px;
    }

}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

.services {
  height: auto !important;
  padding-bottom: 1rem;
  overflow: hidden;
}

footer {
  margin-bottom: 0;
  padding-bottom: 2rem;
}

