/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!STYLES FOR MAIN PAGE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  color: var(--text-color1);
  /* border: 1px solid black; */
}

body {
  background-color: white;
}

:root {
  --primary-color: #292929;
  --secondary-color: #cae81d;
  --background-color: white;
  --text-color1: #292929;
  --text-color2: white;
}

main {
  width: 85%;
  margin: 0 auto;
}

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

h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin: 0 auto;
}

/* BUTTON TO TOP */
#myBtn {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.8rem;
  z-index: 99;
  font-size: 1.1rem;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  padding: 0.9rem;
  border-radius: 10%;
}

.fa-angles-up {
  color: var(--text-color2);
}

#myBtn:hover {
  background-color: #555;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100vw;
  height: 6rem;
  z-index: 100;
}

header ul li {
  display: inline-block;
  justify-content: center;
  list-style-type: none;
  margin-right: 1rem;
  margin-left: 1rem;
}

header ul a {
  text-decoration: none;
  color: var(--text-color2);
  font-size: 1.25rem;
  transition: 0.6s;
}

header ul a:hover {
  color: var(--secondary-color);
}

/* icon menu bars */
.menu-icon {
  display: none;
  margin-right: 1.25rem;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
  cursor: pointer;
}

.fa-bars,
.fa-xmark {
  color: var(--text-color2);
}

/* Logo in header */
.logo img {
  width: 60px;
  margin-top: 0.2rem;
  margin-left: 5.5rem;
}

/* Button in header */
.button {
  border: 2px solid var(--secondary-color);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 50px;
  margin-right: 5.5rem;
}

.button a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  color: var(--text-color2);
  font-weight: bold;
}

.button:hover {
  color: var(--text-color2);
  background-color: var(--secondary-color);
  transition: 0.6s;
}

/* UVOD VE FORME BANNERU */
.uvod {
  height: 80vh;
  background-image: url("/images/top-view-items-redecorating-house-with-copy-space-black.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 13rem;
  font-size: 1rem;
  margin: 0 auto;
}

.uvod h1 {
  position: absolute;
  left: 5rem;
  font-size: 3.5rem;
  text-align: left;
  color: var(--text-color2);
}

.uvod h2 {
  position: absolute;
  bottom: 22rem;
  left: 5rem;
  font-size: 3.5rem;
  text-align: left;
  color: var(--text-color2);
}

/* PROJECTS / GALLERY - REALIZOVANE PROJEKTY */
.projects h2 {
  padding-top: 1rem;
  text-align: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin: 0 auto;
}

.projects p {
  width: 80%;
  padding-top: 0.625rem;
  padding-bottom: 2.1rem;
  text-align: center;
  margin: 0 auto;
}

.projects hr {
  border: 1px solid var(--secondary-color);
  width: 40%;
  margin: 0 auto;
}

/*GALLERY*/
.gallery-section {
  position: relative; /* Potřebné pro správné umístění */
  width: 100vw; /* Zabere celou šířku viewportu */
  margin-left: calc(-50vw + 50%); /* "Vysune" galerii z šířky main */
  margin-top: 2rem;
}

.gallery-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%; /* Galerie zabírá 100% šířky svého kontejneru */
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  -o-object-fit: contain;
  object-fit: contain;
}

#close-lightbox {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

/* button in gallery */
.button-item {
  background: var(--primary-color); /* Šedé pozadí */
  display: flex; /* Flexbox pro centrování obsahu */
  align-items: center;
  justify-content: center;
}

.gallery-button {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-size: 1.4rem;
  padding: 10px 20px; /* Prostor kolem textu */
  background: var(--primary-color); /* Barva tlačítka */
  border: 2px solid white;
  border-radius: 50px;
  transition: all 0.3s ease; /* Přechod pro efekty */
}

.gallery-button:hover {
  background: white;
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.fa-angles-right {
  color: var(--secondary-color);
}

/* WORK - PŘEDSTAVENÍ SLUŽEB*/
main .work {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.work {
  background-color: #f7fdf9;
}

.work p {
  width: 85%;
  padding-top: 0.625rem;
  padding-bottom: 2.1rem;
  text-align: left;
  margin: 0 auto;
}

.work p ul {
  text-align: lefts;
}
ul li{padding-left:8px;}
ul li::marker {
  content: "•";
  color: #cae81d;
}

.work h2 {
  padding-top: 3rem;
  padding-bottom: 1rem;
  text-align: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin: 0 auto;
}

.work hr {
  border: 1px solid var(--secondary-color);
  width: 40%;
  margin: 0 auto;
}

.work-wrapper {
  display: flex;
  flex-direction: row;
  width: 85%;
  margin: 0 auto;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  gap: 5rem;
}

/*styly pro kartu wrapper*/
.review-card {
	width: 33.3333%;
  max-width: 30rem;
  text-align: left;  
}
.review-card ul{
	width:80%;
	margin: auto;
	/*padding-left: 40px;
  padding-right: 20px;*/
	}

.fa-palette,
.fa-desktop,
.fa-laptop-code {
  font-size: 4rem;
  padding-bottom: 0.7rem;
  color: var(--text-color1);
  text-align: center;
}

.text-review {
  margin-top: 1.8rem;
  text-align: left;
}
.name {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

/* PRICE - NÁKLADY NA KREATIVITU*/

.price h2 {
  padding-top: 2.5rem;
  text-align: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin: 0 auto;
  padding-bottom: 1rem;
}

.price h3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin: 0 auto;
}

.price p {
  padding-top: 1.5rem;
  text-align: justify;
  margin: 0 auto;
}

.price hr {
  border: 1px solid var(--secondary-color);
  width: 40%;
  margin: 0 auto;
}

/* FOOTER */
footer {
  background-color: var(--primary-color);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  color: white;
}



.footer-content-grid {
  width: 85%; /* Sekce přes celou šířku obrazovky */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 25%); /* Dva sloupce vedle sebe */
  justify-content: center;
  gap: 3px; /* Mezera mezi položkami */
  padding: 5px 0; /* Odsazení nahoře a dole */
}

.footer-content-item {
  display: flex; /* Ikona vedle textu */
  align-items: center;
  gap: 10px; /* Mezera mezi ikonou a textem */
  padding: 10px;
}

footer a{color:white;text-decoration:none;}
footer a:hover, footer a:focus{color:white;text-decoration:underline;}

.footer-content-item i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.footer-content-item img {
  width: 2rem; /* Šířka obrázku */
  height: auto; /* Zachová proporce */
}

.footer-content-item p {
  font-size: 16px;
  color: white;
}

/* SPOLUPRACE */
.spoluprace {
  width: 100%;
  background-color: #f7fdf9;
}

main .spoluprace {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 3rem;
}

.spoluprace hr {
  border: 1px solid var(--secondary-color);
  width: 35%;
  margin: 0 auto;
}

.spoluprace h2 {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

/* Základní styly pro obsah */
.content-grid {
  width: 85%; /* Sekce přes celou šířku obrazovky */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 50%); /* Dva sloupce vedle sebe */
  justify-content: center;
  gap: 20px; /* Mezera mezi položkami */
  padding: 40px 0;
}

.content-item {
  display: flex; /* Ikona vedle textu */
  align-items: center;
  gap: 15px; /* Mezera mezi ikonou a textem */
  padding: 10px;
}

.content-item i {
  font-size: 50px; /* Velikost ikony */
  color: var(--primary-color);
}

.content-item .text h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.content-item .text p {
  font-size: 16px;
  color: var(--primary-color);
}

/* MEETING - KONTATUJTE MĚ */
.meeting {
  width: 100%;
  height: 60vh;
  background-image: url("/images/photo-1559030623-0226b1241eddupr.jpg");
  background-size: cover;
  background-position: 25% 25%;
  background-repeat: no-repeat;
  padding-top: 13rem;
  font-size: 1rem;
  margin: 0 auto;
}

main .meeting {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.meeting h2 {
  width: 85%;
  position: relative;
  top: -6rem;
  font-size: 3rem;
  text-align: left;
  color: var(--text-color2);
}

.meeting h3 {
  position: relative;
  left: 7rem;
  top: -5.5rem;
  width: 50%;
  font-size: 1.8rem;
  text-align: left;
  color: var(--text-color2);
}

/*button in meeting (second - proto nd)*/
.button-nd {
  border: 2px solid var(--secondary-color);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 20px;
  margin-right: 5.5rem;
  position: relative;
  left: 7rem;
  bottom: 3rem;
}

.button-nd a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  color: var(--text-color2);
  font-weight: bold;
  font-size: 1.3rem;
}

.button-nd:hover {
  color: var(--text-color2);
  background-color: var(--secondary-color);
  transition: 0.6s;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!STYLES FOR PROJECTS / GALLERY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

/* UVOD VE FORME BANNERU */
.uvod-projects {
  height: 60vh;
  background-image: url("/images/graphic-designer-top-view-mockup-with-laptop_23-2147675736UPR.jpg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 13rem;
  font-size: 1rem;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.uvod-projects h1 {
  font-size: 3.5rem;
  text-align: center;
  color: var(--text-color2);
}

/* GALLERY */
/* header links in gallery */
.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  margin-top: 20px;
}

.category-link {
  text-decoration: none; /* Zruší podtržení odkazu */
  color: var(--primary-color);
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.category-link:hover {
  color: var(--secondary-color);
  transition: 0.3s;
}

.category-link.active {
  color: var(--secondary-color);
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! STYLES FOR CONTACT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

/* UVOD VE FORME BANNERU */
.uvod-contact {
  height: 60vh;
  background-image: url("/images/photo-1582389197101-8e56fdc81955.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 13rem;
  font-size: 1rem;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.uvod-contact h1 {
  font-size: 3.5rem;
  text-align: center;
  color: var(--text-color2);
}

.contact hr {
  border: 1px solid var(--secondary-color);
  width: 35%;
  margin: 0 auto;
}

.contact h2 {
  padding-bottom: 1.2rem;
}

.contact-info {
  display: flex; /* Flexbox pro text a fotku */
  align-items: flex-start; /* Zarovnání nahoru */
  gap: 20px; /* Mezera mezi textem a fotkou */
}

.contact-text {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

.contact-photo {
  max-width: 280px; /* Větší fotka */
  width: 100%;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.contact-buttons {
  display: flex; /* Tlačítka vedle sebe */
  gap: 20px; /* Mezera mezi tlačítky */
  margin-top: 3rem; /* Prostor mezi textem a tlačítky */
}

.contact-buttons .btn {
  padding: 8px 20px; /* Velikost tlačítek */
  font-size: 1.1rem;
  text-align: center;
  border-radius: 2rem;
  background-color: white;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--secondary-color);
}

.contact-buttons .btn:hover {
  background-color: var(--secondary-color);
  color: white;
  transition: 0.3s;
}

.contact-form {
  margin-top: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button[type="submit"] {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

button[type="submit"]:hover {
  background-color: var(--secondary-color);
  color: white;
  transition: 0.3s;
}
