/* Reset a základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    scroll-behavior: smooth;
}

body {
    background-color: #0F0F0F; /* Tmavé pozadí pro vyniknutí efektu */
    color: white;
}

/* --- NAVBAR STYLY --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    font-family: 'Segoe UI', sans-serif;
    
    /* --- ZMĚNY ZDE --- */
    
    /* 1. Úplně průhledné pozadí (žádná barva) */
    background: transparent; 
    
    /* 2. Blur efekt (rozmaže vše, co podjede pod navbarem) */
    /* Zvedl jsem to na 15px, aby byl efekt výraznější, když tam není barva */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    /* 3. Žádné ohraničení ani stín (pro maximální čistotu) */
    border-bottom: none;
    box-shadow: none;
    
    transition: 0.3s ease;
}

.logo img {
    height: 70px; /* Nastav podle potřeby (40px - 60px je standard) */
    width: auto;  /* Šířka se dopočítá sama, aby se logo nedeformovalo */
    display: block; /* Odstraní nechtěnou mezeru pod obrázkem */
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c8342a; /* Barva při najetí */
}


/* ACTION BUTTON STYL */
.action-btn {
    padding: 10px 25px;
    background: red;
    color: #ffffff !important; /* Přepíše barvu odkazu */
    border-radius: 50px;
    font-family: 'Space Grotesk';
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease !important;
}

.action-btn:hover {
    background: #c8342a;
    transform: scale(1.05); /* Jemné zvětšení */
}

/* HAMBURGER IKONA (Defaultně skrytá) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: 0.3s;
}
/* --- ÚPRAVA PRO POČÍTAČE (Výchozí stav) --- */

/* Skryjeme mobilní tlačítko na velkých obrazovkách */
.mobile-btn {
    display: none;
}

/* Seskupení pro pravou část (aby tlačítko a hamburger držely u sebe) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Mezera mezi tlačítkem a hamburgerem */
}

/* --- ÚPRAVA PRO MOBILY (Media Query) --- */
@media screen and (max-width: 768px) {
    
    /* 1. Zobrazíme mobilní tlačítko */
    .mobile-btn {
        display: block; /* nebo inline-block */
        font-size: 0.9rem; /* Trochu zmenšíme text */
        padding: 8px 15px; /* Trochu zmenšíme padding, ať se to vejde */
    }

    /* 2. Skryjeme tlačítko uvnitř menu (aby tam nebylo 2x) */
    .nav-links .desktop-btn {
        display: none;
    }
    
    /* Úprava hamburgeru - zajistíme, aby byl vidět */
    .hamburger {
        display: flex;
    }
}
/* --- RESPONZIVITA (MOBIL/TABLET) --- */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex; /* Zobrazit hamburger */
    }

    .nav-links {
        position: absolute;
        top: 70px; /* Výška navbaru */
        right: 0;
        height: calc(100vh - 70px);
        width: 100%; /* Nebo 50% pro boční panel */
        background: rgba(26, 26, 46, 0.95); /* Tmavší pozadí pro menu */
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* Schované vpravo */
        transition: transform 0.4s ease-in-out;
    }

    /* Třída, kterou přidá JavaScript pro otevření */
    .nav-links.active {
        transform: translateX(0);
    }
}

/* --- HERO SEKCE STYLY --- */
.hero {
    position: relative;
    height: 100vh; /* Přes celou výšku okna */
    width: 100%;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center; /* Vertikální centrování hlavního textu */
    padding-left: 15%;   /* KLÍČOVÉ: Posun obsahu doleva od středu */
    overflow: hidden; /* Ořízne vše, co přečuhuje */
}

/* Nastavení videa na pozadí */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Aby se video nedeformovalo, ale ořízlo */
    z-index: -2; /* Úplně vespod */
}

/* Ztmavení videa */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Černá s 60% průhledností - uprav podle světlosti videa */
    background: rgba(0, 0, 0, 0.72); 
    z-index: -1;
}

/* Hlavní text */
.hero-content {
    z-index: 1;
    max-width: 700px;
}

.company-name {
    /* Responzivní velikost písma (mezi 3rem a 6rem podle šířky) */
    font-size: clamp(3rem, 8vw, 7rem); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.dot { color: #c8342a; } /* Akcentní barva tečky */

.tagline {
    font-size: 1.5rem;
    color: #ccc; /* Mírně šedší text */
    max-width: 500px;
}

/* --- SPODNÍ SEKCE (BUTTON + CAROUSEL) --- */
.hero-bottom {
    position: absolute;
    bottom: 40px; /* Odsazení od spodku */
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Vycentrování na střed */
    gap: 30px; /* Mezera mezi tlačítkem a carouselem */
    z-index: 2;
}

/* Scroll Down Tlačítko */
.scroll-down-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.scroll-down-btn:hover {
    color: #c8342a;
}

.arrow-icon {
    width: 30px;
    height: 30px;
    margin-top: 10px;
    /* Animace skákání */
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- NEKONEČNÝ CSS CAROUSEL --- */
.sponsors-carousel {
    width: 90%;
    max-width: 900px;
    overflow: hidden;
    /* Vytvoří fade efekt na okrajích carouselu (aby loga mizela do ztracena) */
   
}

.sponsor-track {
    display: flex;
    width: max-content;
    /* Animace posunu: změň 30s na jinou hodnotu pro změnu rychlosti */
    animation: scroll 30s linear infinite;
}

.slide {
    width: 180px; /* Šířka prostoru pro jedno logo */
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100);
}

.slide img {
    width: 80px;
    height: 80px;
    /* Uděláme loga černobílá a světlejší, aby nerušila */
   
}

.slide img:hover {
    /* Po najetí se loga vybarví */
    filter: grayscale(0) brightness(1) opacity(1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    /* Posuneme o 50%, protože máme dvě sady log */
    100% { transform: translateX(-50%); }
}

/* --- RESPONZIVITA HERO SEKCE NA MOBILU --- */
@media screen and (max-width: 768px) {
    .hero {
        padding-left: 5%; /* Menší odsazení na mobilu */
        /* Na mobilu posuneme text trochu výš, aby nepřekážel tlačítku */
        align-items: flex-start;
        padding-top: 150px; 
    }

    .company-name { font-size: 3.5rem; }
    .tagline { font-size: 1.2rem; }

    .hero-bottom {
        bottom: 20px;
        gap: 20px;
    }
    
    .slide { width: 80px; }
    .slide img { max-height: 80px; }
}
/* --- TEXT REVEAL SECTION --- */



/* Scroll efekt */
.reveal-on-scroll {
  opacity: 0;
  /* Jemný posun dolů pro start */
  transform: translateY(30px);
  /* Optimalizace výkonu prohlížeče */
  will-change: opacity, transform; 
}

/* Třída, kterou přidá JavaScript, když je element vidět */
.reveal-on-scroll.is-visible {
  /* Zde použijeme animaci definovanou ve vašem předchozím kódu, 
     nebo jednoduchou transition, která je často plynulejší */
  
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0, 0, 0.2, 1);
}

/* (Volitelné) Zpoždění pro prvky, které jdou rychle po sobě, 
   aby se neobjevily všechny naráz "placatě" */
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
/* konec Scroll efektu */

/* Import fontu Inter (pokud ho ještě nemáte), aby to vypadalo moderně */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
/* Základní rozložení přes celou obrazovku */
.screen-fit-section {
  background-color: #0F0F0F; /* Temně černá (ASAZ style) */
  color: #FFFFFF;
  height: 100vh;             /* Přesně výška obrazovky */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;          /* Zabrání scrollování, pokud by něco přečuhovalo */
  padding: 40px;             /* Odsazení od krajů */
  box-sizing: border-box;
}

.content-wrapper {
  max-width: 1200px; /* Bylo 1000px -> Zvětšeno na 1400px */
  text-align: left;
  width: 100%;       /* Jistota, že využije prostor */
}

/* Styl textu */
#word-animate {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  
  /* RESPONZIVNÍ VELIKOST:
     Minimálně 14px, ideálně 1.8% šířky okna, maximálně 22px.
     Toto zajistí, že se text vejde na obrazovku. */
  font-size: clamp(16px, 2.4vw, 34px);
  
  /* Skryjeme text, dokud JS nerozdělí slova (prevence probliknutí) */
  visibility: hidden; 
}

/* Jakmile JS dokončí práci, přidá třídu .loaded a text zviditelní */
#word-animate.loaded {
  visibility: visible;
}

/* --- ANIMACE SLOV --- */
.word {
  display: inline-block;     /* Nutné pro transformace */
  opacity: 0;                /* Výchozí stav - neviditelné */
  transform: translateY(20px); /* Posunuté dolů */
  white-space: pre;          /* Zachová mezery za slovy */
  
  /* Definice animace */
  animation: wordReveal 1.3s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- REVIEWS SECTION --- */
.reviews-section {
  background-color: #0F0F0F; /* Stejná černá jako About Us */
  color: #FFFFFF;
  padding: 100px 40px; /* Dostatečné odsazení */
  border-top: 1px solid #222; /* Jemná linka pro oddělení sekcí (volitelné) */
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  overflow: hidden; /* Aby nám skrolování nerozhodilo šířku stránky */
}

/* Hlavička s nadpisem a tlačítkem */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  margin: 0;
  font-family: 'Space Grotesk';
}

/* Tlačítko (Outline styl podle obrázku) */
.review-btn {
  text-decoration: none;
  color: #fff;
  border: 1px solid #555;
  padding: 12px 24px;
  border-radius: 50px; /* Pill shape */
  font-size: 14px;
  font-family: 'Space Grotesk';
  transition: all 0.3s ease;
}

.review-btn:hover {
  background-color: #c8342a;
  color: #fff;
  border-color: #c8342a;
  font-family: 'Space Grotesk';
}

/* --- KONTEJNER KARET (SCROLL) --- */
.reviews-track {
  display: flex;
  gap: 24px; /* Mezera mezi kartami */
  overflow-x: auto; /* Umožní horizontální skrolování */
  padding-bottom: 20px; /* Místo pro posuvník (který skryjeme) */
  scroll-snap-type: x mandatory; /* "Přichytávání" karet při skrolování */
  
  /* Vycentrování začátku skrolování na stránce */
  max-width: 1400px;
  margin: 0 auto;
  
  /* Skrytí scrollbaru (pro moderní vzhled) */
  scrollbar-width: none; /* Firefox */
}
.reviews-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* --- KARTA --- */
.review-card {
  min-width: 450px; /* Pevná šířka karty */
  background-color: #161616; /* O trošku světlejší než pozadí sekce */
  border: 1px solid #333; /* Jemný rámeček */
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start; /* Karta se "přichytí" k okraji */
  transition: transform 0.3s ease;
}

.review-card:hover {
  border-color: #555; /* Zvýraznění rámečku po najetí */
}

/* Obsah karty */
.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc; /* Jemně šedý text pro čitelnost */
  margin: 0;
}

.review-text strong {
  display: block;
  font-size: 22px;
  color: #fff; /* První věta bílá a větší */
  margin-bottom: 16px;
  font-weight: 600;
  font-family: 'Space Grotesk';
}

/* Patička karty (Logo + Jméno) */
.card-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.client-logo {
  width: 40px;
  height: 40px;
  background-color: #fff; /* Bílé pozadí loga */
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
}

.client-name {
  font-weight: 600;
  color: #fff;
}

/* Responzivita pro mobily */
@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 20px;
  }
  
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    
  }
  
  .review-card {
    min-width: 85vw; /* Na mobilu karta zabere skoro celou šířku */
    padding: 25px;
  }
  
  .review-text strong {
    font-size: 16px;
    

  }
}

/*=========== Our services ===========*/

.services{
  padding: 100px 40px;
  min-height: 100vh;
  border-top: 1px solid #222;
}

.services .row {
  
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.services .item.left .wrapper {
  margin-top: 24px;
}

.services video {
  height: 570px;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(80%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.services video:hover {
  filter: grayscale(0);
}

.services .item.right{
  position: sticky;
  top: 128px;
}

.services h2{
  font-size: clamp(46px, 6vw, 50px);
  font-family: 'Space Grotesk';
}
.services .item.right p{font-size: 20px;}

.services p {
  margin-top: 12px;
  color: #ccc;
}

.services .btns-row {
  display: flex;
  margin-top: 32px;
}

.services a {
  padding: 12px 24px;
  text-align: center;
  border: 1px solid red;
  background-color: red;
  color: #fff;
  font-weight: 500;
  border-radius: 128px;
}

/* --- TABLET (Max width: 1024px) --- */
@media screen and (max-width: 1024px) {
  .services .row {
    /* Change from 2:1 ratio to equal 1:1 split for better readability on tablets */
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .services h2 {
    /* Adjust font size slightly */
    font-size: 40px;
  }
}

/* --- MOBILE (Max width: 768px) --- */
@media screen and (max-width: 768px) {
  .services {
    /* Reduce the massive bottom padding on mobile */
    padding-bottom: 80px; 
    min-height: auto;
  }

  .services .row {
    /* Stack items vertically (1 column) */
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* REORDER: Move the Right column (Title/Text) to the TOP */
  .services .item.right {
    order: -1; 
    /* Disable sticky positioning on mobile as there is no space to scroll */
    position: static; 
    top: auto;
    
  }
  .services span p{
    font-size: 40px;
  }

  /* VIDEO: Adjust sizing for mobile screens */
  .services video {
    height: 300px; /* Reduce fixed height so it fits on small screens */
    width: 100%;   /* Ensure it spans full width */
    display: none;
  }

  .services .item.left .wrapper {
    margin-top: 16px;
  }

  .services h2 {
    font-size: 32px; /* Smaller font for mobile */
  }
  
  .services .btns-row {
    margin-top: 24px;
    justify-content: flex-start; /* Ensure button aligns left */
  }
}

.learn {
  display: none;

}

.learn.show {
  
  animation: fadeIn 2s ease;
  padding: 100px 40px;
  min-height: 100vh;
  border-top: 1px solid #222;
  display: flex;
  justify-content: center;
}

.learn .row {
  
  display: grid;
  
  
  
}

.learn .row .item.left{
  max-width: 50%;
}

.card {
  max-width: 300px; /* Pevná šířka karty */
  background-color: #161616; /* O trošku světlejší než pozadí sekce */
  border: 1px solid #333; /* Jemný rámeček */
  border-radius: 12px;
  padding: 40px;
  display: block;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start; /* Karta se "přichytí" k okraji */
  transition: transform 0.3s ease;
}

/* odtud zkusam */
.grid-section {
  padding: 60px 20px;
    display: flex;
    justify-content: center;
}

/* --- GRID CONTAINER --- */
.grid-container {
  display: grid;
  /* This creates exactly two columns of equal width */
  grid-template-columns: 1fr 1fr; 
  /* This sets the space between the boxes */
  gap: 30px;
  max-width: 1200px; /* Ensures it doesn't get too wide on huge screens */
  width: 100%;
}

/* --- INDIVIDUAL BOX ITEMS --- */
.grid-item {
  background-color: #161616;
  /* Thick black border as shown in sketch */
  border: 1px solid #333;
  /* Prominent rounded corners */
  border-radius: 12px;
  padding: 40px;
  
  /* Flexbox used to align content inside the box */
  display: flex;
  flex-direction: column;
  min-height: 250px; /* Ensures boxes have substantial height */
}

/* Heading styles */
.grid-item h2 {
  margin-top: 0;
  font-size: 2rem;
  font-family: 'Space Grotesk';
  /* Aligns to top left by default */
}

/* Text styles */
.grid-item p {
  font-size: 1.1rem;
  line-height: 1.5;
  font-family: 'Inter';
  /* 'margin: auto' in a flex column centers the text block vertically */
  margin-top: 3%;
  /* Centers text horizontally */
  text-align: left;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
========================================= */

/* --- Tablet View (Below 1024px width) --- */
/* The 2x2 grid usually still looks good on tablet, 
   but we reduce padding and gaps slightly. */
@media screen and (max-width: 1024px) {
  .learn.show  {
     padding: 40px 20px;
  }
  
  .grid-container {
    gap: 20px;
  }
  
  .grid-item {
    padding: 30px;
    border-radius: 30px;
    min-height: 220px;
  }
  
  .grid-item h2 {
    font-size: 1.75rem;
  }
}

/* --- Mobile Phone View (Below 768px width) --- */
/* On phones, a 2x2 grid is too cramped. 
   We switch to a single column stack. */
@media screen and (max-width: 768px) {
  .grid-container {
    /* CHANGE: Force grid into 1 column instead of 2 */
    grid-template-columns: 1fr; 
    gap: 24px;
  }

  .grid-item {
    /* Adjust padding and height for smaller screens */
    padding: 24px;
    border-radius: 24px;
    min-height: auto; /* Let height be determined by content on phone */
    border-width: 3px; /* Slightly thinner border on mobile looks better */
  }
    
  .grid-item h2 {
    font-size: 1.5rem;
    margin-bottom: 16px; /* Add space between H2 and text since vertical centering is less critical here */
  }
  
  .grid-item p {
      margin: 0; /* Reset the auto margin so it sits normally below the heading */
  }
}

/* --- Základní nastavení sekce --- */
.faq-section {
  padding: 100px 40px;
  min-height: 100vh;
  border-top: 1px solid #222;
}

.faq-section .container {
  
  margin-top: 4vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* --- Levý sloupec (Text) --- */
.faq-header {
  flex: 1; /* Zabere cca 40% šířky */
  max-width: 400px;
}

.faq-header h2 {
  font-size: 3rem;
  font-family: 'Space Grotesk';
  line-height: 1.2;
  margin-bottom: 20px;
}

.faq-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc; /* Mírně šedý text pro popis */
}

/* --- Pravý sloupec (Accordion) --- */
.faq-list {
  flex: 1.5; /* Zabere cca 60% šířky */
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #333; /* Linka mezi otázkami */
}

/* Tlačítko otázky */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px 0;
  text-align: left;
  color: white;
  font-family: 'Space Grotesk';
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between; /* Text vlevo, ikona vpravo */
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #ff2212; /* Hover efekt (žlutá z předchozích sekcí) */
}

/* Ikona pluska (+) */
.icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.4s ease; /* Animace otočení */
}

/* --- Animace otevření --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease; /* Plynulé vysunutí */
}

.answer-content {
  padding-bottom: 25px;
  color: #fff;
  line-height: 1.6;
}

/* Třída, která se přidá přes JS, když je otázka otevřená */
.faq-item.active .icon {
  transform: rotate(45deg); /* Otočí plus na křížek */
}

.faq-item.active .faq-question {
  color: #ff2212; /* Zvýrazní nadpis otevřené otázky */
}

/* --- Media Queries (Mobil a Tablet) --- */
@media screen and (max-width: 900px) {
  .faq-section .container {
    flex-direction: column; /* Pod sebe */
    gap: 40px;
  }
  
  .faq-header {
    max-width: 100%;
  }

  .faq-header h2 {
    font-size: 2.5rem;
  }
}

/* --- Nastavení sekce --- */
.contact-section {
  background-color: #0F0F0F; /* Černé pozadí */
  color: #ffffff;
  border-top: 1px solid #222;
  padding: 100px 40px;
  font-family: sans-serif; /* Nebo 'Space Grotesk', pokud ho používáš */
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dva sloupce: 50% / 50% */
  gap: 80px;
  align-items: center; /* Zarovnání na střed vertikálně */
}

/* --- Levá strana (Info) --- */
.main-title {
  font-size: 5rem; /* Velký nadpis jako na obrázku */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1;
  font-family: 'Space Grotesk';
}

.sub-text {
  font-size: 2rem; /* Větší text pod nadpisem */
  line-height: 1.4;
  margin-bottom: 60px;
  max-width: 400px;
  font-family: 'Inter';
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 2rem;
  font-family: 'Inter';
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ff0000; /* Hover efekt do červena */
}

/* --- Pravá strana (Formulářová karta) --- */
.contact-form-wrapper {
  background-color: #1c1c1c; /* Tmavě šedá karta (odlišení od pozadí) */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-header {
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: bold;
  font-family: 'Inter';
  color: #cccccc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background-color: #252525; /* Tmavší pole pro input */
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box; /* Aby padding nerozbil šířku */
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff0000; /* Červený rámeček při psaní */
}

/* --- Tlačítko (ČERVENÉ místo žluté) --- */
.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #ff0000; /* Červená barva (změna) */
  color: #ffffff; /* Bílý text je na červené čitelnější než černý */
  border: none;
  border-radius: 30px; /* Zaoblené rohy */
  font-size: 1rem;
  font-family: 'Space Grotesk';
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #cc0000; /* Tmavší červená při najetí */
}

/* --- GDPR Text dole --- */
.gdpr-text {
  font-size: 0.8rem;
  color: #888;
  margin-top: 20px;
  font-family: 'Inter';
}

.gdpr-text a {
  color: #ff0000; /* Červený odkaz místo žlutého */
  text-decoration: underline;
  font-family: 'Inter';
}

/* --- Responsivita (Mobil) --- */
@media screen and (max-width: 900px) {
  .contact-section .container {
    grid-template-columns: 1fr; /* Sloupce pod sebe */
    gap: 50px;
  }

  .main-title {
    font-size: 3.5rem;
  }

  .sub-text {
    font-size: 1.5rem;
  }

  .contact-link {
    font-size: 1.5rem;
  }
}

/* --- Section Basics --- */

/* --- Section Container --- */
/* --- Base Layout --- */
.why-us-split {
  background-color: #0F0F0F;
  color: #ffffff;
  padding: 100px 20px;
  border-top: 1px solid #222;
  font-family: 'Inter';
}

.why-us-split .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  /* Left column takes 40%, Right takes 60% */
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start; /* Crucial for sticky to work */
}

/* --- LEFT SIDE (Sticky) --- */
.left-sticky {
  position: sticky;
  top: 40px; /* Distance from top of screen */
  height: fit-content;
}

.section-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: 'Space Grotesk';
}

.section-subtitle {
  color: #999;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 90%;
}

/* Image Styling */
.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px; /* Fixed height for consistency */
  
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
   filter: grayscale(80%);
  transition: filter 0.8s ease, transform 0.8s ease;
}

/* Hover Effect: Color comes back */
.why-us-split .image-wrapper img:hover  {
  filter: grayscale(0%);
  transition: filter 0.8s ease, transform 0.8s ease;
  
}

/* --- RIGHT SIDE (List) --- */
.right-list {
  display: flex;
  flex-direction: column;
  gap: 0; /* Gaps handled by padding */
}

.feature-row {
  display: flex;
  gap: 30px;
  position: relative;
  padding-bottom: 50px; /* Space between items */
}

/* The vertical line graphic */
.icon-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff0000;
  z-index: 2; /* Sits on top of the line */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
}

.line {
  width: 2px;
  background-color: #333;
  flex-grow: 1; /* Stretches to fill space */
  margin-top: 10px;
}

.feature-row:hover .icon-circle {
  background-color: #ff0000;
  color: #fff;
  transform: scale(1.1);
  border-color: #ff0000;
}

.feature-row:hover .line {
  background-color: #555; /* Line gets slightly brighter on hover */
}

/* Text Content */
.text-content {
  padding-top: 10px; /* Align with icon */
}

.text-content h3 {
  font-size: 1.5rem;
  margin: 0 0 15px 0;
  color: #fff;
  font-family: 'Space Grotesk';
}

.text-content p {
  color: #bbbbbb;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 900px) {
  .why-us-split .container {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 40px;
  }

  .left-sticky {
    position: static; /* Remove sticky on mobile */
  }
  
  .image-wrapper {
    height: 250px; /* Smaller image on mobile */
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 2.5rem;
  }
  
  .section-title br {
    display: block;
  }

  /* Adjust line for mobile */
  .feature-row {
    gap: 20px;
    padding-bottom: 40px;
  }
  
  .icon-circle {
    width: 40px;
    height: 40px;
  }
  
  .icon-circle svg {
    width: 20px;
    height: 20px;
  }
}

/* --- Footer Base --- */
.site-footer {
  background-color: #000000; /* Matches your dark theme */
  color: #ffffff;
  padding: 80px 20px 30px; /* Top padding for space, bottom for breathing room */
  font-family: sans-serif;
  font-size: 0.95rem;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Top Section (Grid) --- */
.footer-top {
  display: grid;
  /* Columns: 1st (Info), 2nd (Seat), 3rd (Rep - takes remaining space) */
  grid-template-columns: 1fr 1fr 2fr; 
  gap: 40px;
  margin-bottom: 60px;
  font-family: 'Space Grotesk';
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: capitalize; /* "seat" becomes "Seat" visually if needed, or keep lowercase */
}

.footer-col p {
  margin: 5px 0;
  line-height: 1.5;
  font-family: 'Inter';
  color: #cccccc; /* Slightly softer white for text */
}

/* Links inside text columns (Phone/Email) */
.footer-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff0000; /* Red accent on hover */
}

/* --- Divider Line --- */
.footer-divider {
  height: 1px;
  background-color: #202020; /* Subtle gray line */
  width: 100%;
  margin-bottom: 30px;
}

/* --- Bottom Section (Flexbox) --- */
.footer-bottom {
  display: flex;
  justify-content: space-between; /* Spreads items: Left, Center, Right */
  align-items: center;
  font-size: 0.9rem;
  color: #cccccc;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ff0000;
}

.credit a {
  font-weight: bold;
}

/* --- Responsive (Mobile) --- */
@media screen and (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr; /* Stack columns vertically */
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
}

/* Zacílíme přímo na kontejner lišty (#cc-main), aby to mělo přednost */
#cc-main {
    /* Pozadí a texty */
    --cc-bg: #1c1c1c !important;                /* Tmavě šedá */
    --cc-text: #ffffff !important;              /* Bílý text */
    --cc-secondary-color: #bbbbbb !important;   /* Šedý popis */
    
    /* Tlačítko "Přijmout vše" (Červená) */
    --cc-btn-primary-bg: #ff0000 !important;
    --cc-btn-primary-text: #ffffff !important;
    --cc-btn-primary-hover-bg: #cc0000 !important;
    
    /* Tlačítko "Odmítnout / Nastavení" (Tmavší šedá) */
    --cc-btn-secondary-bg: #ffffff !important;
    --cc-btn-secondary-text: #ffffff !important;
    --cc-btn-secondary-hover-bg: #444444 !important;
    
    /* Ostatní prvky (bloky kategorií, přepínače) */
    --cc-cookie-category-block-bg: #c63535 !important;
    --cc-cookie-category-block-bg-hover: #2a2a2a !important;
    --cc-toggle-bg-on: #ff0000 !important;
    --cc-separator-border-color: #333333 !important;
    
    /* Barva písma pro jistotu */
    color-scheme: dark;
}

#cc-main .cm__title{
  color: #fff !important;
}

/* Pojistka: Pokud by to stále nefungovalo, vynutíme barvu pozadí natvrdo */
#cc-main .cm, 
#cc-main .pm {
    background-color: #1c1c1c !important;
}

/* =========================================
   LEGAL / PRIVACY POLICY PAGE STYLES
   ========================================= */

.legal-section {
    background-color: #0F0F0F;
    color: #ffffff;
    padding-top: 150px; /* Space for fixed navbar */
    padding-bottom: 100px;
    min-height: 100vh;
}

/* Header area */
.legal-header {
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.last-updated {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-style: italic;
}

/* Content Typography */
.legal-content {
    max-width: 900px; /* Limit width for readability */
    font-family: 'Inter', sans-serif;
}

.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 20px;
    border-left: 4px solid #ff0000; /* Red accent line */
    padding-left: 20px;
}

.legal-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #ddd;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #ccc;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: #fff;
    font-weight: 600;
}

.legal-content a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #ff0000;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #ff0000;
}

/* Highlighted Info Box for Company Details */
.info-box {
    background-color: #161616;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    list-style: none !important; /* Remove bullets */
    margin-left: 0 !important;
}

.info-box li {
    border-bottom: 1px solid #222;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
}

.info-box li:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .legal-section {
        padding-top: 120px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .legal-header h1 {
        font-size: 2.5rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
        padding-left: 15px;
        border-left-width: 3px;
    }

    .info-box {
        padding: 20px;
    }

    .info-box li {
        flex-direction: column;
        gap: 5px;
    }
}




.profile-section {
            display: flex;
            flex-wrap: wrap;
            gap: 32px; /* Space between cards */
            padding: 2rem;
            justify-content: space-between;
            align-items: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .profile-card {
            background-color: #262626; /* Slightly lighter card background */
            border-radius: 12px;
            overflow: hidden;
            width: 300px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .profile-image {
            width: 100%;
            height: auto;
            display: block;
            filter: grayscale(100%); /* Make image black and white */
            border-radius: 12px 12px 0 0; /* Rounded top corners for image */
        }

        .profile-info {
            padding: 1.5rem;
            color: #ffffff;
            text-align: left;
        }

        .profile-name {
            font-size: 1.25rem;
            font-weight: bold;
            margin: 0 0 0.25rem 0;
        }

        .profile-title {
            font-size: 0.9rem;
            color: #bbbbbb;
            margin: 0 0 1rem 0;
        }

        .profile-contact {
            font-size: 0.9rem;
            color: #dddddd;
        }

        .profile-contact p {
            margin: 0.25rem 0;
        }

        /* Responsive design for smaller screens */
        @media (max-width: 768px) {
            .profile-section {
                flex-direction: column;
                align-items: center;
            }
        }


        /* --- LANGUAGE SWITCHER --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-left: 10px;
}

.lang-switch a {
    text-decoration: none;
    color: #888; /* Inactive color (grey) */
    transition: color 0.3s ease;
    font-size: 1rem;
}

.lang-switch a:hover {
    color: #ffffff;
}

.lang-switch .active-lang {
    color: #ffffff; /* Active color (white) */
    pointer-events: none; /* Disable clicking the active language */
}

.lang-separator {
    color: #555;
    font-size: 0.9rem;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .lang-switch {
        margin-left: 0;
        margin-top: 20px; /* Add space inside the mobile menu */
        border: 1px solid #333;
        padding: 10px 20px;
        border-radius: 50px;
    }
}