*, *::before, *::after {
  box-sizing: content-box;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
     width: 100%;
  overflow-x: hidden;
}
body {
    min-height: 100vh;
    background: linear-gradient(to bottom, rgb(0, 88, 160), #003172);
    color: white;
    padding: 20px;
    background-repeat: no-repeat;
    background-attachment:fixed;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #3a8dde 0%, #2753a7 100%);
    padding: 0 40px;
    height: 64px;
    box-shadow: 0 2px 10px rgba(34,34,59,0.10);
    border-radius: 16px;
    margin: 24px 32px;
    background: rgba(30, 41, 59, 0.75);
    color: #fff;
    backdrop-filter: blur(8px);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar-logo-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 7px; /* Optional: for rounded corners */
  background: #fff0; /* transparent background */

  margin-left: 20px;
}
.navbar-brand-text {
  color: #f2e9e4;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  /* Remove margin-left if using flex gap */
}
@media (max-width: 600px) {
  .navbar-logo-img {
    height: 32px;
  }
  .navbar-brand-text {
    font-size: 1.1rem;
  }
}

.navbar-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
    margin-right: 55px;
    font-family: 'Courier New', Courier, monospace;
     font-weight: bold;
}

.navbar-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    padding: 10px 22px;
    border-radius: 24px;
    transition: background 0.2s, color 0.2s;
    font-family: 'Courier New', Courier, monospace;
     font-weight: bold;
}

.navbar-links li a:hover,
.navbar-links li a:focus {
    background: #fff;
    color: #2753a7;
    
    outline: none;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}


.nadpis {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 20px;
}
@media (max-width: 600px) {
    .nadpis {
        font-size: 2.5rem;
        margin-top: 10px;
    }
}
@media (max-width: 400px) {
    .nadpis {
        font-size: 2rem;
        margin-top: 10px;
    }
}

/* Container for all contact info */
.kontakt-container {
    max-width: 520px;
    margin: 0 auto;
    margin-left: 220px; /* <--- THIS is the bigger left margin for the block */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Remove below if you want it centered relative to the page, keep if you want it pushed right */
}

.kontakt-jmeno {
    color: #fff;
    font-size: 2.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-right: 1500px;
    text-align: center;
    /* Remove individual left margin */
}

.kontakt-row {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    /* Remove individual left margin */
}

.kontakt-email,
.kontakt-telefon {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kontakt-value {
  
  text-align: center;
  margin-left: 170px;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin-left: 190px;
  
    /* Remove individual left margin */
}

.contact-link:hover,
.contact-link:focus {
    color: #f2e9e4;
    text-decoration: underline;
}
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.carousel {
  width: 50vw;
  height: 50vh;
  position: relative;
  margin-left: 25%;
  margin-top: 50px;
}

.carousel > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 200ms opacity ease-in-out;
  transition-delay: 200ms;
}

.slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  border-radius: .25rem;
  padding: 0 .5rem;
  background-color: rgba(0, 0, 0, .1);
}

.carousel-button:hover,
.carousel-button:focus {
  color: white;
  background-color: rgba(0, 0, 0, .2);
}

.carousel-button:focus {
  outline: 1px solid black;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

.about {


  color: #fff;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: auto;
  margin: auto;
  margin-left: 20px;
}
br {
  margin-bottom: 20px;
  margin-top: 20px;
}
   
.ascending-image {
 
  position: absolute;
  right: 150px;
  top: 300px;
  display: block;

  width: 25%;
  height: auto;
  
}
/* Responsive styles */
@media (max-width: 1019px) {
  .navbar {
    .navbar {
    padding: 8px 4vw;
    margin: 6px 0;
    border-radius: 8px;
  }

  .navbar-logo {
    font-size: 1.1rem;
  }

  .navbar-links li a {
    font-size: 0.98rem;
    padding: 8px 8px;
  }
  }
}
@media (max-width: 912px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 12px 16px;
    margin: 12px 8px;
    border-radius: 12px;
  }

  .navbar-logo {
    margin-left: 0;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .navbar-links {
    flex-direction: column;
    gap: 10px;
    margin-right: 0;
    width: 100%;
    align-items: flex-start;
  }

  .navbar-links li a {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 8px 4vw;
    margin: 6px 0;
    border-radius: 8px;
  }

  .navbar-logo {
    font-size: 1.1rem;
  }

  .navbar-links li a {
    font-size: 0.98rem;
    padding: 8px 8px;
  }
}
@media (max-width: 915px) {
  .navbar {
    padding: 8px 4vw;
    margin: 6px 0;
    border-radius: 8px;
  }

  .navbar-logo {
    font-size: 1.1rem;
  }

  .navbar-links li a {
    font-size: 0.98rem;
    padding: 8px 8px;
  }
}
@media (max-width: 912px) {
  .kontakt-container {
    margin-left: 0;
    max-width: 95vw;
    align-items: center;
  }
  .kontakt-jmeno {
    margin-right: 0;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
  }
  .kontakt-row {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    width: 100%;
  }
  .kontakt-value,
  .contact-link {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  .about {
    font-size: 1.1rem;
    margin-left: 0;
    margin-right: 0;
    padding: 0 8px;
    text-align: left;
  }
  .carousel {
    width: 95vw;
    height: 35vh;
    margin-left: 0;
  }
  .ascending-image {
    position: static;
    width: 80vw;
    max-width: 350px;
    margin: 24px auto 0 auto;
    display: block;
    top: auto;
    right: auto;
  }
}

@media (max-width: 600px) {
  .kontakt-container {
    margin-left: 0;
    max-width: 100vw;
    padding: 0 4vw;
  }
  .kontakt-jmeno {
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  .about {
    font-size: 1rem;
    padding: 0 2vw;
  }
  .carousel {
    width: 100vw;
    height: 28vh;
    margin-left: 0;
    margin-top: 24px;
  }
  .ascending-image {
    width: 95vw;
    max-width: 220px;
    margin: 16px auto 0 auto;
  }
}
.about {
  position: relative;
  z-index: 2;
}

.ascending-image {
  z-index: 1;
  /* Add margin to ensure space between image and text */
  margin-left: 40px;
}

@media (min-width: 913px) {
  .about {
    margin-right: 30%;
    /* Reserve space for the image on the right */
  }
  .ascending-image {
    right: 40px;
    top: 300px;
    margin-left: 0;
    /* Ensure image stays clear of text */
  }
}
@media (max-width: 850px) {
  .about {
    margin-right: 0;
    text-align: center;
    margin-top: 20px;
  }
  .ascending-image {
    position: static;
    width: 80vw;
    max-width: 350px;
    margin: 24px auto 0 auto;
    display: block;
    top: auto;
    right: auto;
  }
}
/* ...other styles above... */

/* HERO CAROUSEL - LIMITED WIDTH/HEIGHT, CENTERED */
.hero-carousel {
  user-select: none;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto 32px auto;
  position: relative;
  overflow: hidden;
  background: #222;
  z-index: 1;
  border-radius: 18px;
  
  max-height: 340px;
}

.hero-track {
  cursor: grab;
  user-select: none;
  display: flex;
  transition: transform 0.7s cubic-bezier(.6,.05,.28,.91);
  will-change: transform;
  height: 100%;
}
.hero-track:active {
  cursor: grabbing;
}
/* Optional: while actually dragging, set a class in JS for stronger support */
.hero-track.dragging {
  cursor: grabbing;
}
.hero-slide {
  user-select: none;
  min-width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-caption {
  user-select: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-radius: 0 24px 0 0;
  padding: 28px 38px 22px 32px;
  margin: 0 0 38px 38px;
  max-width: 480px;
  
}
.hero-caption h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 8px 0; line-height: 1.1; user-select: none;}
.hero-caption p { font-size: 0.9rem; margin: 0; user-select: none;}

@media (max-width: 900px) {
  .hero-carousel, .hero-slide { max-height: 210px; }
  .hero-caption { padding: 18px 16px 14px 14px; margin: 0 0 15px 10px; max-width: 320px; border-radius: 0 18px 0 0; }
  .hero-caption h1 { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  .hero-carousel, .hero-slide { max-height: 110px; }
  .hero-caption { padding: 10px 10px 8px 10px; margin: 0 0 11px 5px; max-width: 91vw; border-radius: 0 10px 0 0; }
  .hero-caption h1 { font-size: 0.5rem; }
  .hero-caption p { font-size: 0.3rem; }
}



.aboutus-wide-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  color: #fff;
  padding-top: 6rem;
  padding-bottom: 6rem;
  z-index: 2;
  overflow-x: hidden;
}

.aboutus-wide-inner {
  max-width: 1400px;
  width: 90vw;
  margin: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.aboutus-title {
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 1.2em;
}

.aboutus-lead {
  font-size: 1.25rem;
  color: #e6eaf6;
  font-weight: 400;
  margin-bottom: 0.7em;
  line-height: 1.7;
}

.aboutus-highlight {
  font-weight: 500;
  color: #fff;
  font-size: 1.17rem;
  margin-bottom: 1.4em;
  display: block;
  padding-left: 1px;
  line-height: 1.7;
}

.aboutus-list {
  list-style: disc inside;
  color: #dbe5fa;
  font-size: 1.14rem;
  line-height: 2.1;
  margin-bottom: 2rem;
  padding-left: 1.2em;
}

.aboutus-list li {
  margin-bottom: 0.8em;
}

.aboutus-experience {
  font-size: 1.33em;
  color: #fff;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 0.7em 2.2em;
  border-radius: 2em;
  letter-spacing: 0.7px;
  margin-top: 1.2em;
  border: 1px solid #f3f4fa55;
  font-weight: 600;
  backdrop-filter: blur(2px);
}

.aboutus-image {
  border-radius: 2em;
  width: 100%;
  max-width: 550px;
  object-fit: cover;
  aspect-ratio: 16/9;
 
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background: #e0e7ef;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .aboutus-title {
    font-size: 1.7rem;
  }
  .aboutus-wide-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .aboutus-wide-inner {
    width: 98vw;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}
@media (max-width: 600px) {
  .aboutus-wide-inner {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .aboutus-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    aspect-ratio: 16/10;
    min-height: 120px;
    border-radius: 1em;
    object-fit: cover;
  }
  /* Make sure the column centers its contents */
  .aboutus-image-col {
    text-align: center !important;
  }
}
.contacts-section {
  
  min-height: 80vh;
}

.contact-card {
  background: #fff;
  border-radius: 1.2rem;
  
  padding: 2rem 2rem 1.4rem 2rem;
  margin-bottom: 2.2rem;
 
  margin-top: 2.2rem;
}

.contact-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #294176;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}
.contact-row {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.contact-label {
  font-weight: 500;
  color: #455a85;
  min-width: 70px;
}
.contact-link {
  color: #4970ce;
  text-decoration: none;
  font-size: 1.08rem;
  word-break: break-all;
  transition: color 0.2s;
}
.contact-link:hover {
  color: #10234a;
  text-decoration: underline;
}
.contact-map-wrapper {
  width: 100%;
  min-height: 320px;
  background: #fff;
  border-radius: 1.2rem;
  
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 1rem;
  border: none;
  display: block;
}
.contact-map-caption {
  font-size: 1rem;
  color: #5a6c96;
  margin-top: 0.6em;
}
.contact-map-fullscreen {
  margin-top: 0.8rem;
  text-align: center;
}

/* Responsive: stack columns and cards, shrink map */
@media (max-width: 991px) {
  .contacts-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .contact-map-wrapper {
    margin-top: 2rem;
    padding: 0.7rem;
  }
  .contact-card {
    padding: 1.3rem 1.1rem 1rem 1.1rem;
  }
}
@media (max-width: 600px) {
  .contacts-section {
    padding: 1.2rem 0;
  }
  .contact-map {
    height: 160px;
    border-radius: 0.6rem;
  }
  .contact-map-caption {
    font-size: 0.95rem;
  }
  .contact-card {
    margin-bottom: 1.5rem;
  }
  .contact-name {
    font-size: 1.08rem;
  }
}