/*
Theme Name: Lightsupply
Theme URI:
Author: Pavel Ovesny
Author URI: https://weby.pavelovesny.cz
Description: Theme Lightsupply
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* general */

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  font-size: 18px;
  font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
  color: #000;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  padding: 1em 0;
  margin: 0;
  color: #000; 
  letter-spacing: -.04em;
}

h1 {
  font-size: 30px;
  text-align: center;
}

h2 {
  font-size: 25px;
}

h3 {
  font-size: 20px;
}

p {
  padding: 0 0 1em 0;
  margin: 0;
}

a {
  color: #777;
  text-decoration: none;
}

a:hover {
  color: #666;
}

a img, a:hover img {
  text-decoration: none;
}


/* menu */

.site-header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  height: 80px;
  background-color: rgba(0,0,0,.6)
}

.site-header .container {
  display: flex;
  height: 40px;
  margin: 20px auto;
}

#logo {
  width: 300px;
  height: 40px;
}

#logo a {
  color: #000;
}

.navbar {
  width: 100%;
}

nav ul {
  width: 100%;
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  padding-left: 0;
  font-weight: 700;
}

nav ul li {
  margin: 0 0 0 40px;
  font-size: 17px;
}

nav ul li a {
  color: #fff;
  padding: 10px 0;
}

nav ul li a:hover {
  color: #eee;
  text-decoration: underline;
}


/* content */

.container {
 width: 1220px;
 margin: 0 auto;
}

.title-bar {
  padding-top: 80px;
  background-color: #fff;
}

/* home */

.home section {
  padding-bottom: 40px;
}

.home h2 {
  color: #101010;
  font-size: 48px;
  line-height: 58px;
  text-align: center;
  padding-bottom: 0;
}

.home #sluzby h2 {
  padding-bottom: 1em;
}

.home h3 {
  color: #e9204f;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
}

.agentura,
.konzultace,
.podpora {
  background-image: url('/wp-content/uploads/2024/01/agentura-01.jpg');
  background-size: cover;
}

.konzultace {
  background-image: url('/wp-content/uploads/2024/01/konzultace-01.jpg');
}

.podpora {
  background-image: url('/wp-content/uploads/2024/01/projekty-01.jpg');
}

.nabizime-item {
  padding: 40px;
  color: #fff;
  position: relative;
  background-color: rgba(0,0,0,.6);
  box-sizing: border-box;
}

#sluzby .container,
#vyrobci .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#znacky .container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

#vyrobci .znacky-item {
  display: flex;
  align-items: center;
  justify-content: center; 
}

#vyrobci .znacky-item img {
  width: 100%;
  height: auto;
  transition-duration: .3s;
  transition-property: transform;
  display: block;
  margin: 0 auto;
}

#vyrobci .znacky-item img:hover {
  transform: scale(1.1);
}

#onas .container {
  display: flex;
}

.onas-item {
  flex: 50%; 
  padding: 25px;
  color: #555;
}

.onas-item a {
  color: #e9204f;
}

.onas-item a:hover {
  text-decoration: underline;
}

.projekty-item,
.featured-image {
  overflow: hidden;
}

.projekty-item img,
.onas-item img {
  width: 100%;
  height: auto;
  display: block;
}

#projekty .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.home #projekty .container,
.single-znacky #znacky .container,
.single-portfolio #projekty .container {
  width: 100%;
  padding-bottom: 10px;
}

.single-portfolio #projekty h2,
.single-znacky #znacky h2 {
  text-align: center;
  color: #e9204f;
}

#portfolio .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.projekty-item img {
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
}

.projekty-item img:hover,
.projekty-item a:hover img {
  transform: scale(1.1);
}

.view-more {
  display: block;
  padding: 10px 0;
  width: 170px;
  margin: 30px auto 0 auto;
  border-style: solid;
  border-width: 2px;
  color: #e9204f;
  border-color: #e9204f;
  text-align: center;
  font-family: "Poppins", Sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition-duration: .8s;
  transition-property: transform;
}

.view-more:hover  {
  background-color: #e9204f;
  color: #fff;
}

/* carousel */

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

#projekty .container,
#znacky .container {
  overflow: hidden;
  padding: 15px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

#projekty .container:before,
#projekty .container:after,
#znacky .container:before,
#znacky .container:after {
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  content: "";
  z-index: 2;
}

#projekty .container:before,
#znacky .container:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

#projekty .container:after,
#znacky .container:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

#projekty .container:hover .projekt-item,
#znacky .container:hover .projekt-item {
  animation-play-state: paused;
}

#znacky .projekt-item {
  display: inline-block;
  animation: 30s slide infinite linear;
}

#projekty .projekt-item {
  display: inline-block;
  animation: 80s slide infinite linear;
}

#projekty .projekt-item a {
  position: relative;
  display: inline-block;
}

#projekty .projekt-item img,
#znacky .projekt-item img {
  margin: 0 10px;
  width: 300px;
  height: auto; 
}

#znacky .projekt-item img,
#projekty .projekt-item a img {
  transition-duration: .3s;
  transition-property: transform;
}

#znacky .projekt-item img:hover,
#projekty .projekt-item a:hover img {
  transform: scale(1.10);
  z-index: 1000;
}

/* portfolio */

.title-bar h1 {
  text-align: center;
  color: #000;
}

.post-type-archive #projekty {
  margin: 80px auto;
}

.uk-card-body {
  position: relative;
}

.uk-card-body img {
  visibility: hidden;
}

.inner,
.projekty-title {
  position: absolute;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.inner {
  box-sizing: border-box;
  color: #747474;
  padding: 35px;
}

.inner h2 {
  font-size: 25px;
}

.projekty-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.projekty-title {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px #333;
  z-index: 100;  
}

.post-type-archive .projekty-item:nth-child(3n+2) {
  flex-direction: column-reverse;
}

h2.entry-title a {
  color: #333;
  transition: color 0.5s ease;
}

h2.entry-title a:hover {
  color: #666;
  text-decoration: underline;
}

article img {
  width: 100%;
  height: auto;
}

/* znacky  */

.header-image {
  width: 100%;
  height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-image h1 {
  color: #fff;
  font-size: 100px;
  text-shadow: 1px 1px 2px #333;
}

.znacky-title {
  font-size: 40px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  margin: 20px auto;
  color: #000;
}

.single-znacky article {
  color: #555;  
}

.single-znacky article p {
  padding: 0 8em 1em 8em;  
}

.content-footer {
  display: flex;
}

.footer-item {
  width: 50%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-item .btn,
.footer-video a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  border-radius: 10px;
  margin: 0 auto;
  text-align: center;
}

.footer-item .btn:hover,
.footer-video a:hover {
  background-color: #e9204f;
}

.post-divider {
  text-align: center;
}

.content-catalogue {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

article .catalogue-item {
  margin-bottom: 20px;
}

article .catalogue-item img {
  height: 280px;
  width: auto;
  transition-duration: .3s;
  transition-property: transform;
}

article .catalogue-item img:hover {
  transform: scale(1.1);
}

#portfolio .container,
.post-type-archive-znacky #vyrobci {
  margin-bottom: 40px;
}


/* footer */

.site-footer {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;  
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #e9204f;
}

.elementor-social-icon {
  background-color: rgba(173,173,173,0);
  font-size: 20px;
  padding: 0.7em;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #e9204f;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  transition: all .3s ease;
  position: relative;
}

.elementor-social-icon:hover {
  transform: translateY(-8px);
}

.elementor-screen-only {
  position: absolute;
  top: -10000em;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.pr-infobox {
  text-align: center;
  padding-top: 30px;
}

.pr-infobox h4 {
  color: #fff;
}

.copyright {
  padding: 20px;
  font-size: 14px;
  text-align: center;
}

.copyright a {
  color: #aaa;
}

.copyright a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1440px) {

  .home .site-header .container,
  .container {
    width: 1180px;
   }  

   .header-image {
    height: 750px;
  }

}

/* for notebooks 1220 */

@media screen and (max-width: 1220px) {

  .home .site-header .container,  
  .container {
    width: 980px;
   }

   .mob-menu-header-holder {
    background-color: rgba(0,0,0,.5) !important;
  }

   .headertext span {
    display: inline-block;
    height: 25px;
    width: 214px;
    background: url('/wp-content/uploads/2024/01/light-supply-logo-white.png') no-repeat center center;
    background-size: auto;
    background-size: cover;
    text-indent: -9999px;
    margin-top: 10px;
  }

   #znacky .container,
   #projekty .container {
    grid-template-columns: repeat(4, 1fr);
  }   

  .onas-item {
    padding: 0;
  }

  .onas-text {
    padding-left: 15px;
    font-size: 17px;
  }

  .header-image {
    height: 675px;
  }

  .header-image h1 {
    font-size: 60px;
  }

  .post-type-archive #projekty {
    margin: 30px auto;
  }

  #vyrobci .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-znacky article p {
    padding: 0 4em 1em 4em;  
  }

  .znacky-title {
    display: none;
  }

  .single-znacky article {
    padding-top: 30px;
  }

}


/* for tablets 768 */

@media screen and (max-width: 980px) {

  .home .site-header .container,
  .container {
    width: 768px;
   }

   .title-bar {
    padding-top: 0;
  }

   .header-image {
    height: 450px;
  }

  .header-image h1 {
    font-size: 40px;
  }

  #onas .container,
  #sluzby .container, 
  .post-type-archive-portfolio  #projekty .container {
    display: block;
  }

  #projekty .container {
    grid-template-columns: repeat(3, 1fr);
  }

  #portfolio .container  {
    grid-template-columns: repeat(2, 1fr);
  }

  #vyrobci .znacky-item {
    margin-bottom: 20px;
  }

  .onas-item {
    padding: 0;
  }

  .onas-item img {
    margin-bottom: 30px;
  }

  .onas-text {
    padding-left: 0;
  }

  .uk-card-body img {
    display: none;
  }

  .uk-card-body {
    position: static;
  }

  .projekty-item {
    display: block;
  }

  .projekty-item:nth-child(3n+2) {
    flex-direction: column;
  }

  .inner {
    position: relative;
    padding: 25px;
  }

  #znacky .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-catalogue {
    grid-template-columns: repeat(3, 1fr);
  }

  .single-znacky article p {
    padding: 0 2em 1em 2em;  
  }

  .nabizime-item {
    max-width: 600px;
    margin: 15px auto;
  }

}


/* for smartphones 460 */

@media screen and (max-width: 768px) {

  .container {
    width: 460px;
   }

   .header-image {
    height: 360px;
  }

  .header-image h1 {
    font-size: 30px;
  }

  #sluzby .container, 
  #vyrobci .container,
  .post-type-archive-portfolio  #projekty .container {
    display: block;
  }  

  #projekty .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-catalogue {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-znacky article p {
    padding: 0 0 1em 0;  
  }

}


/* for smartphones 300 */

@media screen and (max-width: 460px) {

  .container {
    width: 300px;
   }

   .header-image {
    height: 215px;
  }

  .header-image h1 {
    font-size: 25px;
  }

  #portfolio .container,
  .content-catalogue,
  #znacky .container,
  #vyrobci .container {
    display: block;
  }

  #znacky .projekty-item,
  #vyrobci .znacky-item {
    margin-bottom: 15px;
  }

  article .catalogue-item img {
    height: auto;
    width: 300px;
  }

}
