/* Reset & základ */

*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: #1D1C1B;
  color: #1D1C1B;
  overflow-x: hidden;
}

/* Hlavní proměnné */
:root {
  --header-height: 60px;
}

/* Titulky */


/* Kontejner */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Scroll-behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

/* Navbar & logo */
.hero-section,
nav {
  display: flex;
  align-items: center;
}
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  transition: background 0.3s;
  z-index: 1000;
  padding: 0 20px;
}
body.scrolled .hero-section {
  background: #1f212b;

}


.logo {
  width: 150px;
  height: 120px;
  object-fit: contain;
}
/* Logo v navbaru */
.navbar-brand .navbar-item img {
  max-height: 60px;      /* výška loga */
  width: auto;           /* zachová poměr stran */
  object-fit: contain;
}


/* Hamburger menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1002;
  margin-left: auto;
}
.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Desktop navigace */
@media (min-width: 769px) {
  .hamburger-menu { display: none; }
  nav .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 0 150px 0 0;
  }
  nav .nav-menu a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 8px 0;
  }
  nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e4ec04;
    transition: width 0.3s;
  }
  nav .nav-menu a:hover::after {
    width: 100%;
  }
}

/* Mobilní navigace */
@media (max-width: 768px) {
  .hamburger-menu { display: flex; }
  nav { height: auto; }
  nav .nav-menu {
    list-style: none;
    margin: 0;
    padding: 20px 0;
    display: none;
    position: fixed;
    top: calc(var(--header-height)-10px);
    left: 0;
    width: 100%;
    background: #1f212b;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    gap: 20px;
    flex-direction: column;
    z-index: 1000;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  nav .nav-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  nav .nav-menu a {
    color: #fff;
    padding: 8px 0;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    width: 100%;
  }
  .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
  .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* RESET případných kolizí s předchozími pravidly */
footer.footer {
  background: #333 !important;
  color: #fff !important;
  padding: 20px 0 !important;
  text-align: center !important;
}
footer.footer ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}
footer.footer a {
  color: #fff;
  text-decoration: none;
}
footer.footer a:hover {
  color: #eecb6c;
}

/* Hero sekce */
#hero .hero-body {
  position: relative;
  height: 90vh;
  padding: 0;
}
#hero .hero-body .image.is-fullwidth {
  margin: 0;
}
#hero .hero-body .image.is-fullwidth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text vlevo, 200px od vrchu, max šířka 1/3 */
.hero-text {
  position: absolute;
  top: 200px;
  left: 2rem;
  max-width: 33.333%;
}
.hero-text h1 {
  color: #ffffff;
  font-size: 3rem;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  margin: 0;
}

/* Tlačítko ve středu, 100px od spodní hrany */
.hero-button {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-button a {
  display: inline-block;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
}
/* Bez změny na hover */
.hero-button a:hover {
  background: rgba(0,0,0,0.8);
}

/* About sekce */
.about-section {
  background: #ffffff;
  color: #111111;
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
}
.about-section .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-section h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.about-section p,
.about-section ul {
  font-size: 1.1rem;
  line-height: 1.6;
}
.about-section ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.about-section img {
  max-width: 100%;
  border-radius: 8px;
}

/* Služby */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.service-item {
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.service-item:hover {
  transform: translateY(-5px);
}
.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-item h3 {
  margin: 15px;
  font-size: 1.25rem;
  color: #060704;
}
.service-item p {
  margin: 0 15px 15px;
  flex-grow: 1;
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Projekt slider */
.project-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 2rem auto;
  border-radius: 10px;
  background: #000;
}

.project-slider .slide {
  transition: opacity 1s ease-in-out;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.project-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-slider .logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1D1C1B;
  overflow: visible;
}
.project-slider .logo-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Přesné odsazení loga v navbaru */
.navbar-brand .navbar-item {
  padding-left: 0.5rem;   /* prostor vlevo od loga */
  padding-right: 0.5rem;  /* prostor vpravo od loga */
}

/* Velikost loga */
.navbar-brand .navbar-item img {
  max-height: 50px;  /* nastav výšku loga */
  width: auto;
}

/* Snížíme mezeru mezi brand a menu */
.navbar-brand {
  margin-right: 0; 
}
.navbar-menu {
  margin-left: 0;
}
/* 1) Překrytí úvodní sekce burger-menu v mobilu */
@media (max-width: 768px) {
  .navbar-menu {
    position: absolute !important;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #1f212b;
    overflow-y: auto;
    z-index: 2000;
  }
  /* odstraníme state “push” obsahu */
  body.scrolled .navbar-menu,
  nav .navbar-menu.active {
    transform: none !important;
  }
}

/* 2) Responsivní zmenšení textu v Hero */
@media (max-width: 768px) {
  .hero-text {
    top: 120px;             /* trochu níž, aby text nebyl příliš vysoko */
    left: 1rem;
    max-width: 90%;         /* zabere skoro celou šířku */
  }
  .hero-text h1 {
    font-size: 2rem;        /* menší písmo na mobile */
    line-height: 1.3;
  }
}
/* 1) Hero image zůstane vždy 90vh, i v mobilu */
#hero .hero-body {
  height: 90vh !important;
}

/* 2) Obrázek zabírá celou výšku rodiče */
#hero .hero-body .image.is-fullwidth img {
  height: 100% !important;
}

/* 3) Hero-button zůstane uvnitř obrazu na mobilu */
@media (max-width: 768px) {
  .hero-button {
    bottom: 20px !important;    /* 20px od spodní hrany 90vh kontejneru */
  }
}
/* ===== Hero jako intro-section z mainstavba.css ===== */
#hero.hero .hero-body {
  position: relative;
  height: 90vh;
  padding-top: var(--header-height);
  overflow: hidden;
}
#hero.hero .hero-body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 0;
}
#hero.hero .hero-body .image.is-fullwidth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* přeneseno z .intro-content */
#hero.hero .hero-text {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 130px 20px 30px;
}
#hero.hero .hero-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* přeneseno z .call-button */
#hero.hero .hero-button {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
}
#hero.hero .hero-button a {
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
#hero.hero .hero-button a:hover {
  background: rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
  /* Burger‐menu překryje obsah a vycentruje položky */
  .navbar-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #1f212b;
    display: none;
    z-index: 2000;
    /* zbytek stávajících pravidel pro mobilní menu */
  }
  @media (max-width: 768px) {
  .navbar-menu.is-active {
    position: fixed;
    top: 50px; /* odsazení od horní hrany při aktivaci */
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    /* ostatní styly… */
  }
}

  .navbar-menu.is-active .navbar-item {
    width: 100%;
    text-align: center;
    color: #fff !important;
  }
}
@media (max-width: 768px) {
  /* Override hover pro mobilní menu položky */
  .navbar-menu.is-active .navbar-item {
    background: transparent !important;  /* žádné pozadí */
  }
  .navbar-menu.is-active .navbar-item:hover {
    background: transparent !important;  /* stále žádné pozadí */
    text-decoration: underline;           /* podtržení textu */
    text-decoration-color: #fff;          /* bílé podtržítko */
  }
}
/* Hero image – vždy 90% výšky viewportu */
#hero .hero-body {
  height: 90vh !important;
  padding: 0;
}
#hero .hero-body .image.is-fullwidth {
  height: 90vh !important;
  margin: 0;
}
#hero .hero-body .image.is-fullwidth img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* Titulky h2 ve zlaté barvě loga */
h2 {
  color: #D4AF37; /* zlatá */
  margin: 0 0 1rem;
}

/* Prohození a změna velikosti podle pořadí sekce */
section:nth-of-type(odd) h2 {
  text-align: left;
  font-size: 2.5rem;
}
section:nth-of-type(even) h2 {
  text-align: right;
  font-size: 2rem;
}
/* odstráni pseudo‐element, ktorý stmavuje celý layout */
#hero .hero-body::before {
  content: none !important;
}

/* 1) Čierne pozadie pre celý dokument a sekcie */
html, body, section {
  background-color: #000 !important;
}

/* 2) Zlaté nadpisy h2 */
h2 {
  color: #D4AF37 !important;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.3); /* jemný bílý stín */
}


/* 3) Striedavé zarovnanie a veľkosť */
section:nth-of-type(odd) h2 {
  text-align: left;
  font-size: 2.5rem;
}
section:nth-of-type(even) h2 {
  text-align: right;
  font-size: 2rem;
}
/* sjednotíme výšku všech service-kartiček */
.card-image {
  height: 200px;         /* nebo jakou výšku chcete */
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Vynútime rovnakú výšku service-kariet */
.columns {
  align-items: stretch; /* nech stĺpce majú rovnakú výšku */
}

.column .card {
  display: flex;
  flex-direction: column;
  height: 100%;         /* karta vyplní celý stĺpec */
}

.column .card .card-image {
  flex-shrink: 0;        /* obrázok si udrží svoj rozmer */
}

.column .card .card-content {
  flex: 1;               /* obsah vyplní zostávajúci priestor */
  display: flex;
  flex-direction: column;
}
/* Smooth hover pro Bulma .card i .service-item */
.card,
.service-item {
  transition: transform 0.3s ease !important;
  will-change: transform;
}
/* Footer: vodorovné menu */
footer.footer .menu-list {
  display: flex;
  justify-content: center;
  gap: 2rem;             /* mezery mezi položkami */
  padding: 0;
  margin-bottom: 1rem;
}
footer.footer .menu-list li {
  margin: 0;
}
footer.footer .menu-list a {
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
}
footer.footer .menu-list a:hover {
  text-decoration: underline;
}
/* Bílé texty v kontakt sekci */
#kontakt .column.is-half.content {
  color: #fff !important;
}
#kontakt .column.is-half.content p,
#kontakt .column.is-half.content strong {
  color: #inherit; /* dědí bílou barvu */
}
/* Bílé veškeré texty a odkazy v kontakt sekci */
#kontakt .column.is-half.content {
  color: #fff !important;
}
#kontakt .column.is-half.content a {
  color: #fff !important;
  text-decoration: none;
}
/* Bílé silné texty v sekci #kontakt */
#kontakt .column.is-half.content strong {
  color: #fff !important;
}
/* Styl pro sekci “O nás” */
#o-nas {
  background-color: #ffffff;
  padding: 4rem 0;
}

#o-nas .columns.is-vcentered {
  align-items: center;
}

#o-nas .column.content p {
  color: #333333;
  margin-bottom: 1.25rem;
}

#o-nas h2.has-text-gold {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#o-nas .subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #D4AF37;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

#o-nas ul {
  list-style: disc;
  margin-left: 1.5rem;
}

#o-nas ul li {
  margin-bottom: 0.75rem;
  color: #333333;
}
@media (max-width: 768px) {
  /* Přepnutí footer‐menu na sloupec */
  footer.footer .menu-list {
    flex-direction: column;    /* místo řádku sloupec */
    align-items: center;       /* centrování položek */
    gap: 0.5rem;                 /* mezera mezi položkami */
  }
  footer.footer .menu-list li {
    margin: 0.5rem 0;          /* vertikální odsazení */
  }
}
@media (max-width: 768px) {
  /* Fix celý navbar nahoře */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  /* Zajisti, že obsah nezačne pod navbar */
  body {
    padding-top: 3.5rem; /* nastav podle skutečné výšky navbaru */
  }
}
#reference h2 {
  text-align: left;
  font-size: 2.5rem;
}
@media (max-width: 768px) {
  .project-slider {
    width: 100%;
    height: auto;
  }

  .project-slider .slide {
    display: block;
    height: auto;
    margin-bottom: 20px;
  }

  .project-slider .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
@media (max-width: 768px) {
  h2.title {
    text-align: left !important;
    padding-left: 1rem; /* jemný odstup od okraja */
  }
}




@media (max-width: 768px) {
  .project-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .project-slider .slide {
    position: static !important;
    opacity: 1 !important;
  }

  .project-slider .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

