/* === RESET & ZÁKLADNÍ STYLY === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: "Archivo", sans-serif;
  background-color: #dbdbd6;
  min-height: 100vh;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  
}


.wrapper > footer {
  margin-top: auto; /* odtlačí footer dolů */
}
.spacer{
  aspect-ratio: 900/100;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* Natáhne SVG naprosto přesně od kraje ke kraji */
  transform: scale(1.01); /* Opticky zvětší grafiku o 1%, čímž zamázne linky při zoomu */
}
.vrstva1{
  background-image: url(grafika/vrstva1.svg);
}
.vrstva2{
  background-image: url(grafika/vrstva1.svg);
}
.vrstva3{
  background-image: url(grafika/vrstva3.svg);
}

/* === ANIMACE === */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}

@keyframes fade-down {
  0% { opacity: 0; transform: translateY(-30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}

@media(prefers-reduced-motion) {
  .hidden { transition: none; }
}

/* === PŘECHODY MEZI STRÁNKAMI (S LOGEM) === */
.transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0f1016;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 1; /* Viditelné ihned po načtení HTML */
  visibility: visible;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* SVG logo uvnitř přechodu */
.transition-overlay svg {
  width: 250px;
  height: 60px;
  transform: translateX(30px); /* Posun vpravo pro vizuální vycentrování (kompenzuje prázdné místo uvnitř SVG) */
}
.transition-overlay .big-letters { font-family: 'Cinzel', serif; font-size: 35px; fill: #ffffff; }
.transition-overlay .small-name { font-family: 'Montserrat', sans-serif; font-size: 11px; fill: #9ca3af; text-transform: uppercase; letter-spacing: 2px; }
.transition-overlay line { stroke: #4b5563; stroke-width: 1; }

/* Po úspěšném načtení stránky skryjeme overlay (Fade out) */
body.is-loaded .transition-overlay {
  opacity: 0;
  visibility: hidden;
}

/* Při kliknutí na odkaz a odchodu opět ukážeme (Fade in) */
body.is-exiting .transition-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Montserrat:wght@300&display=swap');

/* === NAVIGACE === */
nav {
  position: sticky;
  width: 100%; /* Zajistí, že navigační lišta vždy zabírá celou šířku */
  top: 0;
  z-index: 1000; 
  height: 60px;
  background-color: #0f1016;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12pt;
}

.links-container {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative; /* Přidáno pro správné pozicování close-sidebar-button */
}

nav a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #f0f0f0;
}
nav a:hover {
  background-color: #2b2b2b;
}

/* Styly pro tlačítko otevření postranního menu (hamburger) */
.open-sidebar-button {
  position: absolute;
  right: 30px; /* Umístí tlačítko na pravou stranu navigace */
  top: 50%;
  transform: translateY(-50%); /* Vertikální vycentrování */
  z-index: 1001; /* Zajistí, že bude nad ostatními prvky navigace */
  display: none; /* Skryto na desktopu */
  cursor: pointer; 
}

/* Styly pro tlačítko zavření postranního menu */
.close-sidebar-button {
  position: absolute;
  top: 10px; /* Upravte podle potřeby uvnitř postranního menu */
  right: 10px; /* Upravte podle potřeby uvnitř postranního menu */
  z-index: 1002; 
  display: none; /* Skryto na desktopu */
  cursor: pointer;
}

nav svg { /* Obecné pravidlo pro SVG, specifické výplně pro logo ho přepíší */
  fill: #f0f0f0;
}

/* Styles for the SVG logo */
.logo-link {
  position: absolute;
  left: 30px;
  top: 0;
  height: 100%;
  padding: 0;
}
.logo-link svg {
  height: 45px;
}
.logo-link:hover {
  background-color: transparent; /* Prevent background change on hover for the logo */
}

.logo-link .big-letters {
  font-family: 'Cinzel', serif;
  font-size: 35px;
  fill: #ffffff;
}
.logo-link .small-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  fill: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.logo-link line {
  stroke: #4b5563;
  stroke-width: 1;
}

/* === SIDEBAR MENU === */
#sidebar-active {
  display: none;
}
/* === FOOTER === */
.paticka {
  background-color: #0f1016;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}
.footer-text {
  font-size: 20px;
  margin-bottom: 15px;
  color: aliceblue;
}
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 15px;
}
.footer-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
  filter: brightness(0) invert(1);
}
.footer-icons a:hover img {
  transform: scale(1.1);
  filter: brightness(0.8) invert(1);
}
.footer-copyright {
  font-size: 14px;
  color: #aaa;
}
/* === HERO SEKCE === */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('grafika/header.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 60px;
  color: white;
}
.hero-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
}
.hero-text h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
.hero-text p {
  color: aliceblue;
  font-size: 18px;
}

/* === SCROLL ARROW === */
.scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  animation: bounce 2s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.scroll-arrow:hover {
  opacity: 1;
}

.scroll-arrow.dark {
  color: #333;
  opacity: 0.5;
}

.scroll-arrow.dark:hover {
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}
/* === GALERIE === */
.portfolio-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.portfolio-header {
  text-align: center;
  margin-bottom: 40px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.portfolio-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.portfolio-item img:hover {
  transform: scale(1.05);
}
/* efekty zpoždění */
.portfolio-item:nth-child(2) { transition-delay: 200ms; }
.portfolio-item:nth-child(3) { transition-delay: 400ms; }
.portfolio-item:nth-child(4) { transition-delay: 600ms; }
.portfolio-item:nth-child(5) { transition-delay: 800ms; }
.portfolio-item:nth-child(6) { transition-delay: 1000ms; }
.portfolio-item:nth-child(7) { transition-delay: 1200ms; }
.portfolio-item:nth-child(8) { transition-delay: 1400ms; }
/* === CENÍK === */
.cenik-upgrade {
  background-color: #dbdbd6;
  color: #0f1016;
  padding: 100px 30px;
  text-align: center;
}
.cenik-note {
  color: #3a3a3a;
  margin-bottom: 60px;
  max-width: 800px;
  margin: 0 auto 60px auto;
  font-weight: 600;
}
.cenik-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}
.cenik-column {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
}
.cenik-column h2 {
  font-size: 32px;
  margin-bottom: 30px;
  padding: 15px 30px;
  border-radius: 30px;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  color: #dbdbd6;
  background-color: #0f1016;
}
.cenik-column ul {
  list-style: none;
  padding: 0;
}
.cenik-column li {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  padding: 12px 0;
  border-bottom: 1px solid #aaa;
  transition: background 0.2s ease;
}
.cenik-column li:hover {
  background-color: #cfcfc9;
}
.cenik-column li span {
  font-weight: 600;
}
.cenik-detail {
  font-size: 16px;
  font-weight: 600;
  color: #4a4a4a;
  margin-top: 20px;

}
.art-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem auto 0 auto;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #0f1016, #0f1016);
  color: #dbdbd6;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid #000000;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.art-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.art-button:hover::before {
  top: -20%;
  left: -20%;
}

.art-button:hover {
  background: linear-gradient(135deg,  #dbdbd6, #dbdbd6);
  color: #0f1016;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.art-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


.art-button:hover .icon {
  transform: rotate(-15deg) scale(1.2);
}

.cenik-upgrade {
  /* Tvoje stávající vlastnosti, např. pozadí, zarovnání atd. */
  position: relative;
  padding-bottom: 80px;
}/* === Hlavní sekce na kontaktní stránce === */
.contact-page {
  background-color: #0f1016; /* Stejná barva jako navbar pro sjednocený vzhled */
  color: #f0f0f0; /* Světlý text pro dobrý kontrast */
  padding: 80px 0; /* Boční odsazení přesunuto na .contact-content kvůli spaceru */
  text-align: center;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px; /* Boční odsazení je nyní zde, aby neomezovalo spacer */
}

.contact-bottom .contact-content {
  max-width: 96%; /* Zruší původní limit 900px a roztáhne spodní sekci téměř na celou šířku stránky */
}

.contact-bottom {
  background-color: #dbdbd6; /* Defaultní světlá barva webu pro správný přechod */
  padding: 20px 0 80px 0; 
}

.contact-header {
  margin-bottom: 40px; /* Zmenšeno, protože spacer přidá vlastní prostor */
}

.contact-header h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-header p {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  color: #c7c7c7;
}

/* === Možnosti kontaktu (ikony) === */
.contact-options {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 20px; /* Zmenšeno, protože ikony jsou nad spacerem */
  margin-top: 40px;
  align-items: center;
}

.contact-options a {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-options img {
  height: 80px; /* Velké ikony */
  width: auto;
  filter: invert(1) drop-shadow(0 4px 6px rgba(255, 255, 255, 0.1)); /* Invertuje na bílou a přidá lehký světlý stín */
  transition: filter 0.3s ease;
}

.contact-options a:hover {
  transform: translateY(-10px) scale(1.1);
}

.contact-options a:hover img {
  filter: invert(1) drop-shadow(0 12px 20px rgba(255, 255, 255, 0.3)); /* Světlý stín při hoveru pro glow efekt */
}

/* === Sekce Adresa + Mapa === */
.address-map-container {
  display: flex;
  flex-direction: column; /* Poskládá prvky pod sebe */
  align-items: center;
  
}

/* === Sekce s adresou === */
.address-section { 
  color: #0f1016;
  width: 100%;
  max-width: 500px; /* Aby karta s adresou nebyla zbytečně nudlovitá */
  text-align: center; /* Vycentruje text adresy */
}

.address-section h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.address-section .address-note {
  font-size: 0.9em;
  color: #555555;
  margin-bottom: 20px;
  font-style: italic;
}

.address-section p {
  line-height: 1.6;
}

/* === Kontejner pro mapu === */
.map-container {
  width: 100%; /* Roztáhne mapu na celou šířku obsahového kontejneru */
}

.map-container iframe {
  width: 100%;
  height: 500px; /* Mapu jsem lehce zvýšil, aby to v té šířce nevypadalo jako úzká nudle */
  border: 0;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Responzivita === */
@media (max-width: 850px) {
  .contact-options {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .contact-header h1 {
    font-size: 2.2em;
  }
  .contact-header p {
    font-size: 1em;
  }
}.three-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 30px;
  background-color: #fff;
  text-align: center;
}

.column {
  flex: 1 1 250px;
  max-width: 300px;
  min-width: 200px;
}

.icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.column h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.column p {
  font-size: 1.2em;
  color: #555;
}

/* === INFORMAČNÍ SEKCE === */
.info-section {
  padding: 40px 30px;
  padding-bottom: 70px;
  background-color: #dbdbd6;
  position: relative;
}
.info-section2 {
  padding: 40px 30px;
  background-color: #fff;
}
.info-container {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.info-image {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.info-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.info-image:hover {
  transform: scale(1.05);
}
.info-text {
  flex: 1;
  min-width: 250px;
}
.info-text h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.info-text p {
  font-size: 20px;
  line-height: 1.6;
}

/* === OBRAZOVÉ POZADÍ === */
.obrazBG {
  background-image: url('grafika/letadloBg.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.obrazBG-content {
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 10px;
}
.obrazBG-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.obrazBG-content p {
  font-size: 1.25rem;
  color: aliceblue;
}
.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 2s;
}
.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}
/* === RESPONSIVITA === */
@media (max-width: 900px) {
  .info-container {
    flex-direction: column;
    text-align: center;
  }
  .three-columns {
    flex-direction: column;
    align-items: center;
  }
  .column {
    max-width: 90%;
  }

  .links-container {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    opacity: 0; /* Skryje menu */
    visibility: hidden; /* Zabrání interakci a zobrazení */
    z-index: 10;
    width: 50vw; /* Změněno na 50% šířky viewportu */
    background-color: #0f1016;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    /* transition: transform 0.75s ease-out, opacity 0.75s ease-out, visibility 0.75s ease-out; */ /* Odstraněno */
  }
  nav a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }
  .open-sidebar-button  {
    padding: 20px;
    display: block; /* Show on small screens */
    position: absolute;
    right: 0px;
    transition: opacity 0.3s ease-out; /* Přidáno pro plynulý přechod */
    top: 50%; /* Vertically center */
    transform: translateY(-50%); /* Vertically center */
    z-index: 1015; /* Above sidebar */
  }
  #sidebar-active:checked ~ .open-sidebar-button {
    opacity: 0; /* Skryje hamburger ikonu plynule */
    pointer-events: none; /* Zajistí, že skryté tlačítko nebude reagovat na kliknutí */
  }
  .close-sidebar-button{
    padding: 20px;
    display: block; /* Show on small screens */
    position: absolute;
    right: 0px; /* Match open-sidebar-button */
    top: 50%; /* Match open-sidebar-button */
    transform: translateY(-50%); /* Match open-sidebar-button */
    z-index: 1015; /* Above sidebar */
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Not clickable when hidden */
    transition: opacity 0.3s ease-out; /* For smooth appearance */
  }
  #sidebar-active:checked ~ .links-container {
    transform: translateX(0);
    opacity: 1; /* Zobrazí menu */
    visibility: visible; /* Povolí interakci a zobrazení */
    transition: transform 0.75s ease-out, opacity 0.75s ease-out, visibility 0.75s ease-out; /* Přidáno */
    z-index: 1010; /* Sidebar content above overlay */
  }
  #sidebar-active:checked ~ .close-sidebar-button {
    opacity: 1; /* Show when sidebar is active */
    pointer-events: auto; /* Make clickable when visible */
  }
  #sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1005; /* Overlay below sidebar, above nav */
  }
  .hero {
    height: 300px;
    padding-left: 30px;
  }
  .hero-text {
    max-width: 90%;
    padding: 15px;
  }
  .hero-text h1 {
    font-size: 28px;
  }
  .hero-text p {
    font-size: 16px;
  }
  .footer-text {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .footer-icons {
    gap: 18px;
    flex-wrap: wrap;
  }
  .footer-icons img {
    width: 26px;
    height: 26px;
  }
  .footer-copyright {
    font-size: 13px;
    padding-top: 10px;
  }
  .paticka {
    padding: 25px 15px;
  }
}
