
:root {
  /* Colors */
  --color-primary: #002244;
  --color-accent: #E67829; 
  --color-secondary: #6AB0C9; 
  --color-gray: #B7B7B7;         
  --color-beige: #d7c8b99f;                 
  --color-light: #FFFFFF;          
 
  /* Fonts*/
  --font-text: 'Open Sans', sans-serif; font-weight: 400;
  --font-special: 'Montserrat', sans-serif; font-weight: 700;
}

html { box-sizing: border-box; }

*, ::before, ::after {
  box-sizing: inherit;
  text-decoration: none;
}

body {
  font-family: var(--font-text);
  color: var(--color-primary);
  font-weight: 400;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-special);
  color: var(--color-primary);
  font-weight: 700;
  margin: 0.5rem 0
}


header, footer {
  background-color: var(--color-primary);
  color: var(--color-light);
  
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* skryté, dokud uživatel nesjede dolů */
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.scroll-top i {
  color: var(--color-light);
}


/* HEADER */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/*off-screen-menu*/
.off-screen-menu {
  background-color: var(--color-primary);
  opacity: 0.95;
  color: var(--color-primary);
  height: fit-content;
  width: 100%;
  max-width: 250px;
  position: fixed;
  top: 50px;
  right: -450px;
  border-radius: 25px 0 0 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
  font-size: 2rem;
  transition: 0.3s ease;
}

.off-screen-menu.active {
  right: 0;
}

.menu-link {
  color: var(--color-light);
  padding: 0.7rem;
  font-weight: 600;
}

.menu-link:hover {
  color: var(--color-secondary);
}

.menu-link:last-child {
  color: var(--color-accent);
}

.menu-link:last-child:hover {
  color: var(--color-secondary);  
}

/*Hamburger menu*/
.nav-menu {
  padding: 1rem;
  display: flex;

}

.ham-menu {
  height: 50px;
  width: 40px;
  margin-left: auto;
  position: relative;
}

.ham-menu span {
  background-color: var(--color-accent);
  height: 5px;
  width: 100%;
  border-radius: 25px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3a ease;
}

.ham-menu span:nth-child(1) {
  top: 25%;
}

.ham-menu span:nth-child(3) {
  top: 75%;
}

/*křížek v menu*/
.ham-menu.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%,-50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
  opacity: 0;
}

.ham-menu.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}


.logo {
  height: 120px;
}

/* SEKCE HERO */

.hero {
  background: var(--color-primary);
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}

.hero__title {
  color: var(--color-light);
  font-size: 2.5rem;
  margin: 0.5rem 0;
  text-align: center;
}

.hero__content {
  color: var(--color-light);
  font-size: 1.2rem;
  padding: 0.5rem 20px;
  text-align: center;
}

.hero__content span {
  font-weight: 700;
  color: var(--color-secondary);
}

.hero__content b {
  font-weight: 700;
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-light);
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  margin-bottom: 30px;
  text-transform: uppercase;
  min-width: 240px;
  text-align: center;
}

.btn:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* SEKCE SLUŽBY */

.services {
  background-color: var(--color-beige);
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding-top: 40px;
}

.services p {
  font-size: 1.2rem;
  padding: 0 20px;
}

.services-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 1rem;
}

.card {
  padding: 10px 15px;
  background: var(--color-light);
  border: 2px solid var(--color-primary);
  border-radius: 15px;
  box-shadow: 0 4px 8px var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center; 
}

.card i {
  font-size: 2rem;
  color: var(--color-accent);
  margin: 5px 0 0 0;
}

.services-pic {
  display: none;
  width: 450px;
  border-radius: 15px;
  box-shadow: 0 4px 8px var(--color-primary);
  margin-block: 20px;
}

.services-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-text {
  max-width: 600px;
  margin-bottom: 20px;
  padding: 0 15px;
  text-align: center;
}

.services-list {
  list-style: circle;
  padding: 5px 20px;
  margin-inline: 15px;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 500px;
  text-align: justify;
}

.services-list li {
  margin-bottom: 7px;
}

.services-list span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* SEKCE CENÍK */
.pricing {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.pricing h2 {
  text-align: center;
  color: var(--color-primary);
}

.pricing-category {
  margin-bottom: 2rem;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  background: var(--color-light);
}

.pricing-category h3 {
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.pricing-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.pricing-category li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.pricing-category li:last-child {
  border-bottom: none;
}

.pricing-category strong {
  color: var(--color-primary);
}

.package-title {
  color: var(--color-secondary);
  font-size: 1.3rem;
  text-align: center;
  margin-top: 1rem;
}

.package-info {
  font-size: 1.2rem;
  text-align: center;
  margin: 0.5rem auto 0 auto;
  max-width: 700px;
}

.package-info span {
  font-weight: 700;
  color: var(--color-accent);
}

/* SEKCE KONTAKT */
.contact {
  background-color: var(--color-beige);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form {
  margin: 15px;
  max-width: 300px;
}

.contact h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  ;
}

.contact-context {
  font-size: 1.2rem;
  padding: 0 20px;
  text-align: center;
}

.contact-info {
  padding: 10px 15px;
  margin-block: 20px;
  background: var(--color-light);
  border: 2px solid var(--color-primary);
  border-radius: 15px;
  box-shadow: 0 4px 8px var(--color-primary);
  text-align: center;
}

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

.contact-line.active {
  color: var(--color-light);
}

.contact-line i {
  color: var(--color-light);
  margin-right: 8px;
  padding: 10px;
  font-size: 1.1rem;
  background-color: var(--color-secondary);
  border-radius: 50%;
}

.contact-line span {
  font-weight: 700;
  font-family: var(--font-special);
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
  margin-top: 10px;
}

.contact-form {
  padding: 15px 20px;
  background-color: var(--color-light);
  border: 2px solid var(--color-primary);
  border-radius: 15px;
  box-shadow: 0 4px 8px var(--color-primary);
  margin-bottom: 30px;
}

.contact-form h4 {
  text-align: center;
  margin-bottom: 10px;
}


label {
  font-weight: 600;
  font-family: var(--font-special);
}

input, textarea {
  padding: 8px;
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  font-family: var(--font-text);
  font-size: 0.9rem;
}

.btn--form {
  width: fit-content;
  margin: 10px auto 0 auto;
  cursor: pointer;
  font-weight: 600;
}

.form-message {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: bold;
  text-align: center;
  transition: opacity 0.3s;
}

.form-privacy {
  font-size: 11px;
  text-align: center;
}

.form-privacy a {
  color: var(--color-accent);
  text-decoration: none;
}

/* FOOTER */

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 20px;
}

.footer-links--right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--color-light);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer__author {
  font-size: 0.9rem;
  color: var(--color-highlight);
  text-align: center;
}

.footer__author a {
  color: var(--color-highlight);
  text-decoration: none;
}

.logo__author {
  display: inline-block;
  width: 40px;              
  height: 40px;             
  margin-left: 8px;        
  vertical-align: middle;   
}

/* Cookies banner */

.cookies-container {
  margin: 20px auto;
  padding: 20px;
  max-width: 900px;
  text-align: justify;
}

 #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary); 
    color: #fff;
    padding: 15px 20px;
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    z-index: 9999;
    pointer-events: auto;
  }

  #cookie-banner .cookie-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  #cookie-banner a {
    color: var(--color-accent, #f9d342);
    text-decoration: underline;
  }

  .cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cookie-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
  }

  #accept-cookies {
    background: var(--color-accent, #f9d342);
    color: #000;
  }

  #reject-cookies {
    background: #fff;
    color: var(--color-primary, #1f5c4b);
  }

  #settings-cookies {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
  }

  .privacy-policy-container {
    margin: 20px auto;
    padding: 20px;
    max-width: 900px;
    text-align: justify;
  }

/* MEDIA QUERIES */

@media (min-width: 769px) and (max-width: 1024px) {
  .off-screen-menu {
    position: static;         /* žádné fixed */
    right: auto;              /* reset */
    top: auto;
    flex-direction: row;      /* horizontální menu */
    background: none;         /* transparentní */
    max-width: none;
    border-radius: 0;
    font-size: 1rem;          /* menší písmo */
    justify-content: flex-end;
    gap: 1.5rem;
    transition: none;
  }
  
  .nav-menu {
    display: none;
  }
  .ham-menu {
    display: none;
  }
  
  .services-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-category ul {
    font-size: 1rem;
}

  
}


@media (min-width: 1023px) {
  .off-screen-menu {
    position: static;         /* žádné fixed */
    right: auto;              /* reset */
    top: auto;
    flex-direction: row;      /* horizontální menu */
    background: none;         /* transparentní */
    max-width: none;
    border-radius: 0;
    font-size: 1.3rem;          /* menší písmo */
    justify-content: flex-end;
    gap: 1.5rem;
    transition: none;
  }
  
  .nav-menu {
    display: none;
  }
  .ham-menu {
    display: none;
  }
  
  .services-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .card {
    padding: 25px 30px;
  }
 
  .services-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 15px;
  }
  
  /* obrázek */
  .services-pic {
    display: inline-block;
    max-width: 40%;   /* obrázek zabere 40 % šířky */
    border-radius: 10px;
  }

/* textová část */
  .services-text {
    max-width: 55%;   /* text zabere zbytek */
  }

  .package-info {
    font-size: 1.3rem;
  }

 .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 2rem; 
  max-width: 700px;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



}




