﻿/* Základní stylování */
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
    background-color: #fff;
    color: #002F6C;
}

header {
    position: relative;
    width: 100%;
    height: 30vh; /* 1/3 výšky obrazovky */
    overflow: hidden;
}

header img {
    width: auto;
    height: 100%;
    object-fit: contain; /* zachování proporcí bez ořezu */
    display: block;
    margin: 0 auto;
}

.logo {
    position: absolute;
	max-height: 60px;
    top: 20px;
    left: 40px;
    font-size: 2em;
    font-weight: bold;
    color: #002F6C;
}

.logo img {
        width: 200px;
        height: auto;
}

nav {
    position: absolute;
    top: 20px;
    right: 40px;
}

.links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.links a {
    text-decoration: none;
    color: #002F6C;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.links a.active {
  font-weight: bold;
  color: #d11f26; /* např. červená z loga */
}

.links img {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

main {
    padding: 10px 40px 40px;
    text-align: center;
}

h1 {
    font-size: 2.5em;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

p {
    font-size: 1.2em;
    color: #333;
}

/* Mobilní optimalizace */
@media (max-width: 1100px) {
    body {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 10px;
    }

	 header {
        height: 20vh;
		min-height: 150px;
    }
	
	main {
        padding: 10px 10px 10px;
    }

	nav {
        top: 10px;
        right: 10px;
    }

    header .banner {
        width: 180px;
        height: auto;
    }

	nav .links {
        flex-direction: column;
        align-items: flex-end; /* zarovnání doprava */
		text-align: right;     /* zarovná text v odkazech doprava */
        gap: 2px; /* zmenšeno z 10px na 4px */
        padding-left: 5px;
        padding-top: 5px;
    }

    nav .links a {
        display: block;
        width: 100%;
		padding: 2px 0;
        font-size: 17px;
		line-height: 1;     /* menší výška řádku */
    }
	
	.logo {
        top: 10px;
        left: 10px;
        font-size: 1.5em;
    }
	
    .logo img {
        width: 60px;
        height: auto;
        margin: 10px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item {
        text-align: center;
    }

    .service-item img {
        width: 60px;
        height: auto;
    }

    h1 {
        font-size: 24px;
        text-align: center;
		margin-top: 2px; /* nebo i méně, podle potřeby */
    }

    h3 {
        font-size: 20px;
        margin-top: 30px;
    }

    ul.custom-list {
        padding-left: 1.2em;
    }

    ul.custom-list li::before {
        left: 0;
    }

    .intro p {
        text-align: left;
    }

    footer {
        font-size: 14px;
        text-align: center;
    }

    .lang-link img {
        width: 24px;
        height: auto;
    }
}

/* Stylování pro moderní seznam služeb */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.service-item {
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}


/* Sekce O nás */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
}

.about-mission {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #444;
}

.executives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.executive {
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.executive img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.executive h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2b2b2b;
    text-align: center;
}

.executive p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    text-align: justify;
}


.highlight-mission {
  font-size: 1.4rem;
  color: #c00;
  display: inline-block;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.ifrs16-section {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 20px;
    color: #333;
  }
  
 .ifrs16-section h1 {
    font-size: 2.5em;
	margin-top: 1rem;
	margin-bottom: 1rem;
	color: #002F6C;
}

@media (max-width: 1100px) {
	.ifrs16-section h1{
     font-size: 24px;
     text-align: center;
	 margin-top: 2px; /* nebo i méně, podle potřeby */
	}
}

.ifrs16-icon-left, .ifrs16-icon-right {
    width: 80px;
    vertical-align: middle;
    margin: 0 15px;
  }

  .ifrs16-icon-left {
    float: left;
  }

  .ifrs16-icon-right {
    float: right;
  }

  .ifrs16-illustration {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  p::after {
    content: "";
    display: block;
    clear: both;
  }

    .pricing-section {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 20px;
    color: #333;
	}
  
	.pricing-section h1 {
    font-size: 2.5em;
	margin-top: 1rem;
	margin-bottom: 1rem;
	color: #002F6C;
	}

@media (max-width: 1100px) {
	.pricing-section h1{
     font-size: 24px;
     text-align: center;
	 margin-top: 2px; /* nebo i méně, podle potřeby */
	}
	table {
    font-size: 0.9em;
	}
}


.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* umožní scroll při nedostatku místa */
}

th, td {
  padding: 0.8em;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

/* Omezení maximální šířky pro sloupce */
td:nth-child(3), th:nth-child(3) {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

  .pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .pricing-table th,
  .pricing-table td {
    border: 1px solid #ccc;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
  }

  .pricing-table th {
    background-color: #f5f5f5;
    font-weight: bold;
  }

  .pricing-table td:first-child,
  .pricing-table th:first-child {
    max-width: 150px;
  }
  .pricing-table td:nth-child(2),
  .pricing-table th:nth-child(2) {
    max-width: 150px;
  }

  .pricing-note {
    margin-top: 20px;
  }

/* Menší font a případně řádkování na mobilu */
@media (max-width: 1100px) {
   table {
    font-size: 0.9em;
	min-width: 300px;
	table-layout: fixed;
  }
  td:nth-child(1), th:nth-child(1) {
    max-width: 80px;
	white-space: normal;
	word-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
  }
  td:nth-child(2), th:nth-child(2) {
    max-width: 80px;
	white-space: normal;
	word-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
  }
  td:nth-child(3), th:nth-child(3) {
    max-width: 140px;
	white-space: normal;
	word-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
  }
}



.contact-section {
    max-width: 960px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 20px;
    color: #333;
  }
  
  .contact-section h1 {
    font-size: 2.5em;
	margin-top: 1rem;
	margin-bottom: 1rem;
	color: #002F6C;
	}

  .contact-table-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .contact-table {
    width: 100%;
    max-width: 720px;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: #f9f9f9;
  }

  .contact-table td {
    padding: 12px 16px;
    vertical-align: top;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .contact-table td:first-child {
    font-weight: bold;
    width: 220px;
    white-space: normal;
    color: #002F6C;
  }

@media (max-width: 1100px) {

	.contact-section {
     max-width: 768px;
    }

	.contact-section h1{
     font-size: 24px;
     text-align: center;
	 margin-top: 2px; /* nebo i méně, podle potřeby */
	}

}

  .map-embed {
    display: flex;
    justify-content: center;
  }

  .map-embed iframe {
    border: 0;
    border-radius: 12px;
    width: 960px;
    height: 600px;
  }
  
  /* Vzhled sekcí a seznamu */
.service-detail h3 {
  margin-top: 2rem;
  color: #002F6C;
  font-size: 1.6rem;
  border-bottom: 2px solid #dcdcdc;
  padding-bottom: 5px;
}

.service-detail p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.custom-list {
  list-style: none;
  padding: 0;
  margin: 1.5em auto;
  max-width: 600px;
  text-align: center;
}

.custom-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.custom-list li::before {
  content: "✓";
  color: #0077c2; /* modrá z loga */
  font-weight: bold;
}

/* Proklikávací obrázky a hover efekt */
.services-grid a {
  text-decoration: none;
  color: inherit;
}

.services-grid img {
  width: 100%;
  max-width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}

.services-grid img:hover {
  transform: scale(1.08);
}

.services-grid p {
  margin-top: 0.5rem;
  font-weight: bold;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

