﻿body {
  color: #2c0200;
  font-family: 'Inter', sans-serif;
  background: white;
}

.invest-wrapper {
  padding-top: 6rem;
}

.header-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: transparent;
  transition: color 0.4s ease;
  background-color: rgba(255, 255, 255, 0.1); /* jemná bílá průhlednost */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* pro Safari */
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* volitelně */
  color: white;
}

  .header-overlay nav {
    display: flex;
    gap: 2rem;
  }

    .header-overlay nav a {
      transition: color 0.4s ease;
      text-decoration: none;
      font-size: 18px;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

nav a,
nav a:visited {
  color: #2c0200; /* nebo jakákoli barva, kterou chceš */
  text-decoration: none;
}

  .header-overlay .logo {
    display: flex;
    align-items: center;
  }


    .header-overlay .logo img {
      height: 45px;
      width: auto;
      transition: filter 0.3s ease, opacity 0.3s ease;
    }

.header-container {
  margin: 0 auto;
  padding: 2rem 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* Default = desktop */
.desktop-only {
  display: flex;
  align-items: center;
}


.mobile-only {
  display: none;
}


.menu-toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

.invest-language-switcher {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  margin-left: 2rem;
  color: #2c0200;
  cursor: pointer;
}

  .invest-language-switcher i {
    margin-right: 0.5rem;
  }

/* Invest sekce */
.invest-section {
  padding: 5rem 2rem 2rem;
}

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

.invest-program-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #2c0200;
}

.invest-program-description {
  margin-bottom: 2rem;
}

.doc-section {
  background: #f5f5f5;
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.doc-toggle {
  width: 100%;
  padding: 1.5rem 2rem;
  font-weight: bold;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2c0200;
  text-align: left;
}

.chevron-circle {
  border-radius: 50%;
  border: 2px solid #2c0200;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.doc-section.active .chevron-circle {
  background: #ffcc00;
}

.chevron-circle i {
  transition: transform 0.3s ease;
  color: #2c0200;
}

.doc-section.active .chevron-circle i {
  transform: rotate(180deg);
}

.doc-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}

.doc-section.active .doc-content {
  max-height: 1000px;
  padding-bottom: 1rem;
}

.invest-doc-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

  .invest-doc-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
  }

.invest-doc-link {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #2c0200;
  text-decoration: none;
}

  .invest-doc-link i {
    margin-right: 0.4rem;
  }

  .invest-doc-link:hover {
    text-decoration: underline;
  }


.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30rem; /* zvětšeno z 4rem */
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 3;
}

.contact-person {
  text-align: center;
  max-width: 300px;
  transition: transform 0.3s ease;
}

  .contact-person:hover {
    transform: scale(1.05);
  }

  .contact-person img {
    width: 220px;
    height: 220px;
    border-radius: 20%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
  }

  .contact-person h3 {
    font-size: 1.75rem;
    margin-bottom: 0.3rem;
  }

  .contact-person p {
    font-size: 1.1rem;
    color: #444;
    margin: 0.2rem 0;
  }

.contact-right {
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-card {
  box-shadow: 0 0 20px rgba(0,0,0,0.03);
}

.contact-input {
  background: #f9f8f7;
  border: none;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px #ddd;
}

  .contact-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #ffcc00;
  }


.header-mobile {
  display: none;
}

.mobile-topbar,
.mobile-menu {
  display: none;
}

.menu-toggle {
  display: none; /* defaultně skryté na desktopu */
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
}

/* Když je menu otevřené */
.mobile-menu.show {
  display: flex;
  z-index: 999;
  text-align:center;
}

.menu-overlay.show {
  display: block;
}


/* Zobrazit jen na desktop */
@media (min-width: 769px) {
  .mobile-topbar {
    display: none;
  }

  .header-container {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .logo.mobile-only {
    display: none;
  }
}





/* Mobilní zobrazení */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .header-container {
    justify-content: space-between;
    align-items: center;
  }

  .logo.mobile-only {
    order: 2;
    margin: 0 auto;
  }

  .invest-language-switcher.mobile-only {
    order: 1;
  }

  .menu-toggle.mobile-only {
    order: 3;
  }

  .header-container {
    display: flex;
    gap: 0.5rem;
  }

  .header-mobile {
    display: block;
    background: white;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .mobile-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

  .mobile-left,
  .mobile-center,
  .mobile-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-left {
    justify-content: flex-start;
  }

  .mobile-right {
    justify-content: flex-end;
  }

  .mobile-logo {
    height: 30px;
  }


  .mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 1rem;
  }


    .mobile-menu.show {
      margin-top: 17px;
      display: flex;
      z-index: 10;
      background-color: transparent;
      transition: color 0.4s ease;
      background-color: rgba(255, 255, 255, 0.1); /* jemná bílá průhlednost */
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px); /* pro Safari */
      border-top: 1px solid rgba(255, 255, 255, 0.2); /* volitelně */
      color: white;
    }



  .menu-toggle {
    font-size: 24px;
    color: black;
    cursor: pointer;
    display: block;
  }

  .mobile-menu a {
    color: black;
    text-decoration: none;
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }

  .logo-center img {
    height: 32px;
  }

  .lang-switch {
    font-weight: bold;
  }


  .header-overlay {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .invest-section {
    padding: 1rem 2rem 2rem;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

    .header-container nav {
      display: none;
    }

  .invest-language-switcher {
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }

  /* KONTAKTNÍ OSOBY */

  .contact-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 1rem 0;
  }

  .contact-image {
    flex: 0 0 100px;
    height: auto;
  }

  .contact-info {
    flex: 1;
  }

    .contact-info h4 {
      margin: 0;
      font-size: 1rem;
    }

    .contact-info p {
      margin: 0.2rem 0;
      font-size: 0.85rem;
    }

  .contact-container {
    gap: 2rem;
    padding: 3rem 1rem;
  }

  .contact-person img {
    width: 100px;
    height: 100px;
    border-radius: 9999px;
  }

  .contact-right {
    padding: 10px;
  }

  .footer {
    padding: 8px;
  }

  .footer-menu {
    display: flex;
  }
  /* FOOTER */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-menu a {
    margin: 0.5rem;
  }
}
