@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    align-items: center;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

    
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f2f2f2;
    overflow-x: hidden;
      width: 100%;

}

#menu-toggler {
  display: none;
}

/* Styl pro hamburger ikonu */
#hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 1001;
  position: absolute; /* nebo fixed – záleží na tvé navigaci */
  top: 20px;
  right: 0px;
}

#hamburger-btn svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

#hamburger-icon {
  width: 32px;
  height: 32px;
  fill: white;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    max-width: 100vw;
    height: 9%;
    display: flex;
    justify-content: center;
    background: #7f8274;
}

.navbar {
    display: flex;
    padding: 0 10px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.navbar input#menu-toggler {
    display: none;
}

.navbar #hamburger-btn {
    cursor: pointer;
    display: none;
}

.navbar .all-links {
    display: flex;
    align-items: center;
}

.navbar .all-links li {
    position: relative;
    list-style: none;
}

.navbar .logo a {
    display: flex;
    align-items: center;
    margin-left: 0;
}

header a, footer a {
    margin-left: 40px;
    text-decoration: none;
    color: #fff;
    height: 100%;
    padding: 20px 0;
    display: inline-block;
}

header a:hover, footer a:hover {
    color: #ddd;
}

.homepage {
  height: 100vh;
  width: 100%;
  position: relative;
  background-image: url("images/HOME.photo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.homepage::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.homepage .content {
    display: flex;
    height: 75%;
    z-index: 3;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 120px;
}

.homepage .content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
}

.homepage .content .text {
    margin-bottom: 30px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.content a {
    color: #000;
    display: block;
    font-size: 18px;
    margin: 0 10px;
    padding: 10px 30px;
    border-radius: 5px;
    background: #fff;
    border: 2px solid #fff;
    transition: 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.content a:hover {
    color: #fff;
    background: rgba(255,255,255,0.3);
}

.anniversary-banner {
  text-align: center;
  padding: 20px 0;
}

.anniversary-banner img {
  max-width: 100%;
  height: auto;
  width: 15vw; /* nebo třeba max-width: 200px; */
}


section {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 80px 0 0;
}

section h2 {
    font-size: 2rem;
}

section > p {
    text-align: center;
}

section .cards {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-top: 50px;
    padding: 0 10px;
    justify-content: space-between;
}

section.about {
    margin: 0 auto;
    max-width: 1200px;
}

.about .company-info {
    margin-top: 30px;
}

.about h3 {
    margin: 30px 0 10px;
}

.about .team {
    text-align: left;
    width: 100%;
}

.about .team ul {
    padding-left: 20px;
}

section .cards .card {
    background: #fff;
    padding: 40px 15px;
    list-style: none;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
    width: calc(100% / 3 - 30px);
    text-align: center;
}

.portfolio .cards .card {
    padding: 0 0 20px;
}

.services .card img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 100%;
    object-fit: cover;
}

.portfolio .card img {
    width: 100%;
    padding-bottom: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 7px;
}

.cards .card p {
    padding: 0 15px;
    margin-top: 5px;
}

.about .row {
    padding: 0 10px;
}

.contact .row {
    margin: 60px 0 90px;
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.contact .row .col {
    padding: 0 10px;
    width: calc(100% / 2 - 50px);
}

.contact .col p {
    margin-bottom: 10px;
}

.contact .col p i {
    color: #7a7a7a;
    margin-right: 10px;
}

.contact form input {
    height: 45px;
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    outline: none;
    border: 1px solid #bfbfbf;
}

.contact form textarea {
    padding: 10px;
    width: 100%;
    font-size: 16px;
    height: 150px;
    outline: none;
    resize: vertical;
    border: 1px solid #bfbfbf;
}

.contact form button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    background: #7f8274;
    transition: 0.2s ease;
}

.contact form button:hover {
    background: #525252;
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #7f8274;
    padding: 20px 0;
}

footer div {
    padding: 0 10px;
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

footer span {
    color: #fff;
}

footer a {
    padding: 0;
}

@media screen and (max-width: 920px) {
    .navbar .all-links {
        position: fixed;
        left: -100%;
        width: 215px;
        display: block;
        height: 42vh;
        top: 132px;
        background: #7f8274;
        transition: left 0.3s ease;
    }

    .navbar #menu-toggler:checked ~ .all-links {
        left: 0;
    }

    .navbar .all-links li {
        font-size: 18px;
    }

    .navbar #hamburger-btn {
        display: block;
    }

    section > p {
        text-align: center;
    }

    section .cards .card {
        width: calc(50% - 15px);
        margin-bottom: 30px;
    }

    .homepage .content h1 {
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .homepage .content .text {
        font-size: 17px;
    }

    .content a {
        font-size: 17px;
        padding: 9px 20px;
    }

    .anniversary-banner img {
        width: 40vw;
    }

    .map-container {
        padding: 20px;
    }

    .contact .row {
        flex-direction: column;
    }

    .contact .row .col {
        width: 100%;
    }

    .contact .row .col:last-child {
        margin-top: 40px;
    }

    footer a {
        height: 0;
    }
}

/* Další úpravy pro max 860px, ale styly už jsou zahrnuté výše, tak řešíme pouze top */
@media screen and (max-width: 860px) {
    .navbar .all-links {
        top: 115px;
        height: 35vh;
    }
}

/* Navigace pro max-width 768px */
@media screen and (max-width: 768px) {
    #hamburger-btn {
        display: block;
    }

    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #333;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    #menu-toggler:checked ~ .menu {
        max-height: 500px;
    }

    .menu li {
        padding: 1rem;
        border-bottom: 1px solid #444;
    }

    .menu li a {
        color: white;
        text-decoration: none;
    }
}

/* Úpravy pro mobily a menší zařízení */
@media screen and (max-width: 560px) {
    .navbar .all-links {
        top: 95px;
        height: 52vh;
    }

    section .cards .card {
        width: 100%;
        margin-bottom: 30px;
    }

    .map-container h2 {
        font-size: 1.5rem;
    }

    .anniversary-banner img {
        width: 55vw;
    }
}

@media screen and (max-width: 450px) {
    .navbar .all-links {
        top: 120px;
        height: 55vh;
    }

    section .cards .card {
        width: 100%;
        margin-bottom: 30px;
    }

    .map-container h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 380px) {
    .navbar .all-links {
        top: 100px;
        height: 60vh;
    }
    header{
        height: 12%;
    }

    section .cards .card {
        width: 100%;
        margin-bottom: 30px;
    }

    .map-container h2 {
        font-size: 1.5rem;
    }
}


.spacer {
    display: block;
    height: 20px;
}




.navbar .all-links li {
    transition: transform 0.5s ease;
  }
  
  .navbar .all-links li:hover {
    transform: scale(1.2);
  }
  
  
  
  
  .logo {
    transition: transform 0.5s ease;
  }
  
  .logo:hover {
    transform: scale(1.2);
  }

  .navbar .all-links li {
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }



.link {
  color: #fff;
  text-decoration: none;
  transition: transform 0.5s ease; /* Plynulý přechod pro zvětšení */
}
.link:hover {
  transform: scale(1.2); /* Zvětšení odkazu */
  color: #ffcc00;        /* Změna barvy textu při hoveru */
}
  



  .logo {
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

 
/* Kontejner pro celou sekci mapy */
#map {
  width: 100%;
  max-width: 1200px;  /* Maximální šířka pro širší obrazovky */
  margin: 40px auto;  /* Zarovná sekci na střed a přidá mezery nad a pod */
  padding: 20px;
  text-align: center;  /* Zarovná texty na střed */
}

/* Kontejner pro text "Kde nás najdete" */
.map-text-container {
  margin-top: 50px;  
  margin-bottom: 20px; /* Mezera pod textem */
}

/* Text "Kde nás najdete" */
.map-text-container h2 {
  font-size: 2rem;
  color: #000000;
  margin: 20px;  /* Zrušíme standardní margin h2 */
  text-align: center;
}

/* Styl pro mapu */
#google-map {
  width: 100%;
  height: 500px; /* Výška mapy */
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3); /* Stín pro mapu */
}


.card {
    /* BEZ transform, to ponecháš pro GSAP */
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    cursor: pointer;
}

.card-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card a {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.card img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.1);
}



.row.team {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.row.team h3 {
    text-align: center;
  margin-bottom: 20px;
}

.row.team ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; 
}

.row.team ul li {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  text-align: left;
}

.row.team ul li:hover {
  transform: translateY(-5px);
}

.row.team ul li strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.row.team ul li a.contact {
  color: #333;
  text-decoration: none;
}

.row.team ul li a.contact:hover {
  text-decoration: underline;
}

.contact-details p {
  display: flex;
  align-items: flex-start;
  margin: 0 0 8px;
}

.contact-details i {
  width: 20px;
  margin-top: 3px;
  color: #555;
}

.contact-details .multi-line {
  display: inline-block;
}
.contact-details a {
  color: inherit;            /* zachová barvu textu rodiče */
  text-decoration: none;     /* odstraní podtržení */
  transition: border-bottom 0.3s ease;
  border-bottom: 1px solid transparent;
}

.contact-details a:hover {
    text-decoration: underline;
}

.home {
  scroll-margin-top: 80px; /* přizpůsob výšce svého fixního headeru */
}
.about {
  scroll-margin-top: 80px; /* přizpůsob výšce svého fixního headeru */
}
.portfolio {
  scroll-margin-top: 80px; /* přizpůsob výšce svého fixního headeru */
}
.his {
  scroll-margin-top: 80px; /* přizpůsob výšce svého fixního headeru */
}
.map {
  scroll-margin-top: 80px; /* přizpůsob výšce svého fixního headeru */
}
.contact {
  scroll-margin-top: 80px; /* přizpůsob výšce svého fixního headeru */
}





  
