@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

@font-face {
  font-family: 'Barlow';
  src: url('/Barlow-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}

/* Základní inicializace pro mobilní zařízení */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: 'Barlow', Arial, sans-serif;
  background: #f7f7fa;
  color: #1a2340;
  font-weight: 200;
  min-width: 320px;
}

h1, h2, h3, .main-title {
  font-family: 'Barlow', Arial, sans-serif;
  font-weight: 800;
  font-style: normal;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #233366;
  padding: 0.5rem 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.header-logo img {
  height: 60px;
  width: auto;
}

nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex: 1;
  margin-left: 4rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  padding-bottom: 2px;
}

nav a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,0.4);
  transition: width 0.3s ease;
}

nav a:hover:after {
  width: 100%;
}

nav a.active {
  color: rgba(255,255,255,0.4);
}

nav a.active:after {
  width: 100%;
}

.main-visual {
  width: 100%;
  min-height: 350px;
  background: url('/images/les.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.main-visual.homepage {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-visual .overlay {
  display: none;
}

.main-title {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.main-visual .main-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 3.25rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  text-align: center;
  animation: slideDown 1s ease-out forwards;
  background: none;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.main-visual .main-title > div {
  animation: slideDown 1s ease-out 0.3s forwards;
  opacity: 0;
}

.main-visual .main-title .cta-button {
  animation: slideDown 1s ease-out 0.6s forwards;
  opacity: 0;
}

.main-visual.homepage .main-title {
  margin-top: -15vh;
}

.scroll-indicator {
  position: absolute;
  bottom: 15vh;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
  margin: 0 auto;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

.arrow {
  margin-top: 8px;
}

.arrow span {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: arrow 1.5s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

@keyframes arrow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 2px solid #fff;
  border-radius: 0px;
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
  font-weight: 400;
  text-shadow: none;
}

.cta-button:hover {
  background: #fff;
  color: #233366;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 3rem;
  text-align: center;
  position: relative;
}

.container:before {
  display: none;
}

.container h2 {
  color: #233366;
  margin-top: 30px;
  margin-bottom: 2.5rem;
  font-size: 2.4rem;
  position: relative;
  display: inline-block;
  font-weight: 300;
  letter-spacing: 1px;
}

.container h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, transparent, #233366, transparent);
  transform: translateX(-50%);
}

.container h3 {
  color: #233366;
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
}

.container ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  text-align: center;
  max-width: 800px;
}

.container ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: #4a4a4a;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-align: left;
  display: inline-block;
  width: 100%;
}

.container ul li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #233366;
  font-size: 1.4rem;
  line-height: 1.4;
}

.container p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.container p:last-child {
  margin-bottom: 0;
}

.container strong {
  font-weight: 700;
  color: #233366;
}

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

@media (max-width: 900px) {
  .header-bar {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
  }
  
  .header-logo {
    margin-bottom: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  nav {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    box-sizing: border-box;
  }
  
  nav a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
  }
  
  nav a:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  nav a.active {
    background: rgba(255, 179, 71, 0.2);
  }

  .main-visual {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .container {
    width: 100%;
    padding: 1rem;
    margin: 0;
    box-sizing: border-box;
  }

  .container p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .container ul {
    padding-left: 0;
    margin-left: 0;
    width: 100%;
  }

  .container ul li {
    padding-left: 1.2rem;
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .container ul li:before {
    left: 0;
  }

  .container h2 {
    font-size: 2.1rem;
  }

  .container h3 {
    font-size: 1.6rem;
  }

  .activities {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .activities-container {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .activities h2 {
    font-size: 2.1rem;
  }

  .activities-intro {
    font-size: 1.05rem;
  }

  .activity-card h3 {
    font-size: 1.4rem;
  }

  .activity-card p {
    font-size: 1rem;
  }

  .footer-content {
    align-items: flex-start;
    padding: 0 1rem;
    text-align: left;
  }

  .footer-section {
    text-align: left;
    width: 100%;
    max-width: none;
  }

  .footer-section h3 {
    text-align: left;
  }

  .footer-section p {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .header-bar {
    padding: 0.8rem;
    align-items: center;
    width: 100vw;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  nav {
    flex-direction: row;
    gap: 0.4rem;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  
  nav a {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    white-space: nowrap;
    border-radius: 0;
  }

  .main-visual.homepage {
    min-height: 100vh;
    width: 100vw;
  }

  .main-visual .main-title {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .main-visual .main-title > div {
    font-size: 0.9rem;
  }

  .container p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .container h2 {
    font-size: 1.9rem;
  }

  .container h3 {
    font-size: 1.5rem;
  }

  .activities h2 {
    font-size: 1.9rem;
  }

  .activities-intro {
    font-size: 1rem;
  }

  .activity-card h3 {
    font-size: 1.3rem;
  }

  .activity-card p {
    font-size: 0.95rem;
  }

  .footer-content {
    padding: 0 1rem;
    margin-left: -69px !important;
  }

  .footer-section,
  .footer-contact-wide {
    text-align: left !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  .footer-section h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.7rem !important;
  }

  .footer-section p {
    font-size: 0.8rem !important;
    margin-bottom: 0.4rem !important;
  }

  .footer-bottom {
    text-align: center !important;
    padding: 1.2rem 1rem;
  }

  .footer-bottom p {
    font-size: 0.7rem !important;
  }

  .footer-section svg {
    width: 0.9em !important;
    height: 0.9em !important;
  }

  .main-visual.homepage .main-title {
    margin-top: -30vh;
  }

  .footer-contact-wide {
    margin-left: 9.5rem !important;
  }

  .container ul li {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  .main-visual.homepage {
    align-items: flex-start;
    padding-top: 35vh;
    height: 65vh;
    min-height: 500px;
  }
  
  .main-title {
    padding: 0 1rem;
    margin-top: 0;
  }

  .main-title > div {
    line-height: 1.2 !important;
    margin: 0.3rem 0 !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .main-visual.homepage {
    height: 55vh;
    min-height: 400px;
    padding-top: 15vh;
  }

  .main-visual.homepage .main-title {
    margin-top: -2vh;
  }
}

.activities {
  background: #f8f9fa;
  padding: 2rem 0;
  margin-top: -2rem;
}

.activities-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.activities h2 {
  color: #233366;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-size: 2.4rem;
  position: relative;
  display: block;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
}

.activities h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, transparent, #233366, transparent);
  transform: translateX(-50%);
}

.activities-intro {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.activity-card {
  background: white;
  padding: 2rem;
  border-radius: 0px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.activity-card h3 {
  color: #233366;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.activity-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.activity-button {
  display: inline-block;
  background: #233366;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 0px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.activity-button:hover {
  background: #4a90e2;
}

@media (max-width: 900px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
  
  .activities-container {
    padding: 0 1rem;
  }
}

footer {
  background: linear-gradient(to bottom, #1a2340, #233366);
  color: #fff;
  padding: 3rem 0 0;
  margin-top: 3rem;
  position: relative;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.footer-section {
  text-align: left;
  width: 220px;
  max-width: 220px;
}

.footer-section:first-child {
  margin-left: 0;
  margin-right: 0;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 300;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.6rem;
  text-align: left;
}

.footer-section h3:after {
  content: '';
  display: block;
  margin: 0;
  margin-top: 0.4rem;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.4);
  border-radius: 0;
}

.footer-section p {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.footer-section svg {
  width: 1em;
  height: 1em;
  fill: rgba(255,255,255,0.7);
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
  overflow: visible;
}

.footer-section a {
  color: #fff !important;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #4a90e2 !important;
}

.footer-section a:hover:after {
  width: 100%;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer-bottom:before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 300;
}

@media (min-width: 769px) {
  .footer-content {
    flex-direction: row;
    justify-content: center;
    gap: 150px;
    width: 100%;
    max-width: none;
  }
}

.cak-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #3498db;
  transition: all 0.3s ease;
}

.cak-link:hover {
  color: #3498db;
  border-bottom-color: #2c3e50;
}

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

.contact-section {
  text-align: center;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 0px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-section h3 {
  color: #233366;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
}

.contact-section h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.4);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.contact-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.2rem 0;
}

.contact-item .label {
  color: #233366;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.8;
  text-align: right;
  white-space: nowrap;
}

.contact-item a {
  color: #233366;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s ease;
  position: relative;
  display: inline-block;
}

.contact-item a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50%;
  height: 1px;
  background: rgba(255,255,255,0.4);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: right;
}

.contact-item a:hover {
  color: rgba(255,255,255,0.4);
}

.contact-item a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-item .address {
  color: #233366;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  grid-column: 1 / -1;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-item {
    grid-template-columns: 90px 1fr;
  }
}

.simple-contact {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.18rem;
  color: #233366;
  font-family: 'Barlow', Arial, sans-serif;
}

.simple-contact p {
  margin: 0.5em 0 0.5em 0;
  line-height: 1.7;
}

.simple-contact strong {
  font-size: 1.22rem;
  color: #1a2340;
  letter-spacing: 0.5px;
}

.simple-contact a {
  color: #233366;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.simple-contact a:hover {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .simple-contact {
    font-size: 1rem;
    max-width: 98vw;
  }
  .simple-contact strong {
    font-size: 1.08rem;
  }
}

.move-up-70 {
  margin-top: -70px;
}

/* Styly pro publikace */
.publications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.publications-list li {
  margin-bottom: 2rem;
}

.publications-list blockquote {
  margin: 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-left: 4px solid #2c3e50;
  border-radius: 4px;
  font-style: italic;
  position: relative;
}

.publications-list blockquote footer {
  margin-top: 1rem;
  font-style: normal;
}

.publications-list blockquote cite {
  font-style: normal;
}

.publications-list blockquote cite a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
}

.publications-list blockquote cite a:hover {
  color: #34495e;
  text-decoration: underline;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert p {
  margin: 0;
}

a[href^="mailto:"], a[href^="tel:"] {
  color: #233366;
  text-decoration: underline;
  transition: color 0.2s;
}
a[href^="mailto:"]:hover, a[href^="tel:"]:hover {
  color: #4a90e2;
  background: none;
}

.footer-contact-wide {
  min-width: 320px;
  max-width: 340px;
  width: 100%;
  word-break: break-word;
} 