@charset "utf-8";
/* Obecné styly pro celý web */
@font-face {font-family: 'SigmaSerif';src: url('https://grdesign.cz/plugins/templates/font/SigmaSerif-Text.woff') format('woff');font-weight: normal;font-style: normal;}
@font-face {font-family: 'SigmaSerifHead';src: url('https://grdesign.cz/plugins/templates/font/SigmaSerif-Headline.woff') format('woff');font-weight: normal;font-style: normal;}
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&family=Roboto:wght@100;300;500;700;900&display=swap');
:root {
  --main-color: #0099ff;
  --bg-dark: #1b1b1b;
  --bg-light: #1b1b1b;
  --text-light: #ffffff;
  --accent: #c4a47c;
  color-scheme: light;
}
html {
  color-scheme: light;
  forced-color-adjust: none; /* zakáže automatické úpravy */
}

body {
  margin: 0;
  font-family: 'Quicksand';
  color: var(--text-light);
  scroll-behavior: smooth;
  
  background:
    linear-gradient(135deg, #fff 0%, #333333 70%, #fff 100%), /* tmavý gradient */
    url('pozadi.webp'); /* cesta k obrázku */
    
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-blend-mode: overlay; /* efekt průhlednosti a míchání */
  
  /* fixní pozadí, aby se nepohybovalo při scrollování */
  background-attachment: fixed;
}

a {
  color: var(--main-color);
  text-decoration: none;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #F5F5F5;
  color: #002742;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  z-index: 1;
  position: relative;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.btn:hover {
  background-color: #0099FF;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 153, 255, 0.3);
}
.anchor-offset {
  position: relative;
  top: -60px; /* posune element nahoru o výšku navbaru */
  padding-top: 160px; /* aby nezanikl obsah */
  
}
/* Wrapper pro hlavní obsah */
.wrapper {
  width: 100%;        /* minimálně 80% viewportu */
  max-width: 2500px;  /* maximálně 2500 px */
  margin-left: auto;
  margin-right: auto;
  /* případně přidej padding pokud chceš */
}
.wrapper h2 {
	font-size: 36px;
}

/* Navbar */
.navbar {
  background-color: rgba(19, 19, 19, 0.9);
  background-image: url('img_template/pozadi_h.webp');
  background-repeat: no-repeat;
  background-position: -10% 0%;
  background-size: auto 200px; /* obrázek bude vysoký cca 200px */

  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
  height: 60px;
}
.nav-logo {
  display: inline-block; /* zajistí, že logo je blok uvnitř inline kontextu */
}

.nav-logo img {
  height: 80px;
  width: auto;
  position: relative;
  top: -10px;
  transition: transform 0.3s ease; /* plynulý přechod */
}

.nav-logo img:hover {
  transform: scale(1.06); /* cca o 5% větší než původní velikost */
}

.navbar ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 2rem;
	width: 90%;
	margin-top: 0px;    /* posunutí obsahu (odkazů) dolů */
	z-index: 11;
	border-radius: 0 0 0px 0px;
	position: relative;
	top: 0px; /* posune logo 20px nahoru přes hranici navbar */
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0; 
}

.navbar a {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	letter-spacing: -1px;
	font-family: 'Quicksand';
	font-size: 1.1rem;
	padding: 1rem 1.5rem;
	border-radius: 5px;
	transition: all 0.3s ease;
	display: inline-block;
	backdrop-filter: blur(8px);
}

.navbar a:hover {
	color: #005288;

	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
}
.navbar ul li a.active:not(.logo-link) {
	color: #88CFFF; /* nebo jiná barva zvýraznění */
	font-weight: bold;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
}
.navbar ul li a.active:hover {
	color: #9FD9FF; /* nebo jiná barva zvýraznění */
	border-radius: 0;
}
ul.creative-menu {
	display: flex;
	justify-content: center;
	gap: 30px;
	list-style: none;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
}
.creative-menu li a:not(.logo-link) {
  position: relative;
  display: block;
  text-transform: uppercase;
  padding: 15px 25px;
  text-decoration: none;
  color: #eee;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
  z-index: 1;
}


/* Horní a dolní linka */
.creative-menu li a:not(.logo-link)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top: 2px solid #0099ff;
  border-bottom: 2px solid #0099ff;
  transform: scaleY(2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}


.creative-menu li a:not(.logo-link)::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000010;
  transform: scaleY(0);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -2;
}
/* Hover efekt taky jen na ne-logo */
.creative-menu li a:not(.logo-link):hover {
  color: #FFFFFF;
}

.creative-menu li a:not(.logo-link):hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.creative-menu li a:not(.logo-link):hover::after {
  transform: scaleY(1);
  opacity: 1;
}

.nav-logo .logo-link {
	all: unset;
	display: block;
	cursor: pointer;
}
.nav-logo .logo-link:hover {
  all: unset;
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
  backdrop-filter: none !important;
}













/* Mobilní logo */
.mobile-logo {
  display: none; /* zůstává skryté na desktopu, zobrazíš přes media queries */
  position: fixed;
  top: 10px;
  left: 0px;
  z-index: 101;
}

.mobile-logo img {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease; /* plynulý přechod */
}

.mobile-logo img:hover {
  transform: scale(1.06); /* cca o 5% větší */
}


/* Hamburger tlačítko */
.menu-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 102;
}
.hamburger, .hamburger::before, .hamburger::after {
  content: "";
  display: block;
  background: #fff;
  height: 3px;
  border-radius: 3px;
  position: absolute;
  width: 100%;
  transition: 0.3s ease;
}
.hamburger {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger::before { top: -10px; }
.hamburger::after { top: 10px; }

/* Otevřený hamburger */
#menu-toggle {
  display: none;
}
#menu-toggle:checked + .menu-btn .hamburger {
  transform: rotate(45deg);
}
#menu-toggle:checked + .menu-btn .hamburger::before {
  transform: rotate(90deg);
  top: 0;
}
#menu-toggle:checked + .menu-btn .hamburger::after {
  opacity: 0;
}

/* Vysouvací menu (používá tvoji .creative-menu) */
#menu-toggle:checked ~ .creative-menu {
  transform: translateX(0);
  opacity: 1;
}
























/* Header + Hero sekce */
header {
  position: relative;
  height: 89vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* tmavý overlay */
  pointer-events: none;
  z-index: 2; /* overlay nad obrázky, ale pod obsahem */
}

/* pozadí */
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 3s ease-in-out;
  opacity: 0;
  z-index: 0;
}

.hero-bg.visible {
  opacity: 1;
}

/* obsah headeru */
.hero-content {
  position: relative;
  z-index: 3; /* nad overlayem i pozadím */
  color: #fff;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.logo img {
  height: 150px;
  width: auto;
}

.main-logo {
  position: relative;
  z-index: 1;
  max-width: 500px;
  width: 60%;
}
.fotoblog-link {
	top: 15px;
	right: 15px;
	opacity: 0.5;
	transition: opacity 0.3s ease;
	z-index: 20;
	margin-top: 30px;
}

.fotoblog-link img {
  height: 110px;
  width: auto;
}

.fotoblog-link:hover {
  opacity: 0.9;
}
section {
  min-height: 80%;
  max-height: 80%;
    width: 100%;
  margin: 60px auto; /* odsazení shora i zdola a vycentrování */
  padding: 2rem 2rem;

  color: var(--text-light);
  
}
.section {
  font-size: 2.5rem;
  margin-bottom: 0rem;
  border-bottom: 2px solid #00cccc;
  display: inline-block;
  padding-bottom: 0.5rem;
}


.nabidka-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.nabidka-box {
  background: #222;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 153, 255, 0.3);
}

.nabidka-box h3 {
	margin-top: 0;
	color: #FFFFFF;
	letter-spacing: -1px;
}

/* Sekce O mně a Kontakt */
.sekce {
	display: block;
	margin-top: 2%;
	margin-bottom: 10%;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}
.sekce-obsah {
	text-align: center;
	min-height: 40%;
	width: 80%;
	max-width: 2500px;
	margin-right: auto;
	margin-left: auto;
}

/* Nadpisy <h2> v sekcích */
.sekce h2 {
	font-size: 4.5rem;
	font-weight: 700;
	margin-bottom: 40px;
	position: relative;
	letter-spacing: -1px;
	text-align: left; /* důležité */
	left:5%;
	font-family: SigmaSerifHead;
}

/* Dekorativní linka vlevo */
.sekce h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0099FF;
  margin-top: 0px;
  margin-left: 0;   /* zarovnání vlevo */
}

/* Podnadpisy (např. Nabízíme) */
.sekce h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
/* Footer */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}
.sekce-mezera {
  height: 2rem;
}


















/* TABLETY (do 991px) */
@media (max-width: 991px) {

  header {
    height: 90vh; /* aby hero nebylo příliš vysoké */
  }

  .main-logo {
    max-width: 300px;
    width: 70%;
	left:-5%;
  }

  .sekce h2 {
    font-size: 3rem; /* zmenšení nadpisů */
    left: 0;
    text-align: center;
  }

  section {
    padding: 3rem 1.5rem;
    margin: 10px auto;
  }
  

  .nabidka-grid {
    gap: 20px;
  }

  .nabidka-box {
    padding: 15px;
  }
    .mobile-logo {
    display: block;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    z-index: 101;
  }

  .menu-btn {
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 102;
  }
.navbar a {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
   
  }
  .navbar a:hover {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
	box-shadow: 0 0 0px rgba(0, 0, 0, 0.4);
   
  }
  /* Hlavní kontejner ul */
  .navbar ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Creative menu */
  ul.creative-menu {
    position: absolute;    /* uvnitř navbaru */
    top: 100%;             /* hned pod navbar */
    right: 0;
    width: 80%;
    background: rgba(0,0,0,0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 10%;        /* jen horizontálně */
    margin: 0;
    z-index: 100;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 15px; /* mezera mezi položkami */
  }

  /* Rozbalené menu */
  #menu-toggle:checked + .menu-btn + .creative-menu {
    max-height: 500px;
    padding: 60px 10% 60px 10%;  /* nahoře/dole padding jen při otevření */
  }

  .creative-menu li { margin: 0; }
  .creative-menu li.nav-logo, .nav-logo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  /* poslední položku už nemusíme odsazovat dolů */
.creative-menu li:last-child {
  margin-bottom: 0;
}
  .creative-menu li a { font-size: 1.6rem; padding: 20px 0; }
}

/* MOBILY (do 600px) */
@media (max-width: 600px) {

  body {
    font-size: 15px;
  }

  header {
    height: 90vh;
  }

  .main-logo {
    max-width: 300px;
    width: 80%;
	left:-5%;
  }

  .sekce h2 {
    font-size: 2.2rem;
    text-align: center;
    left: 0;
  }

  .sekce h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 0rem 0rem;
    margin: 10px auto;
  }

  .nabidka-grid {
    grid-template-columns: 1fr; /* jen jeden sloupec */
  }

  .nabidka-box {
    font-size: 0.95rem;
    padding: 12px;
  }

  footer {
    font-size: 0.9rem;
    padding: 15px;
  }
}