body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #FDF6F2;
  color: #1C1C1C;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background: #FDF6F2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 1000;
}

nav img {
  height: 180px;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #1C1C1C;
  font-weight: 500;
}

/* IKONY */
.nav-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-icons img {
  height: 22px;
}

/* HERO */
.hero {
  position: relative;
  height: 90vh;
  background: url("images/hero.jpg") center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 60px;
  letter-spacing: 6px;
  font-weight: 700;

  background: linear-gradient(
    to right,
    #666666 0%,
    #ffffff 50%,
    #666666 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  font-size: 22px;
  font-weight: 600;

  background: linear-gradient(
    to right,
    #777777 0%,
    #ffffff 30%,
    #ffffff 70%,
    #777777 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SECTIONS */
section {
  padding: 50px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service:last-child {
  margin-bottom: 0;
}

h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.prev { left: 30px; }
.next { right: 30px; }

/* SERVICES */
.service {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  align-items: stretch;
}

.service-text {
  flex: 1;
}

.service h3 {
  margin: 0;
}

.service p {
  margin: 5px 0;
}

.service ul {
  margin: 5px 0 0 20px;
}

.service li {
  margin-bottom: 3px;
}

/* IMAGE */
.single-image {
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BEFORE / AFTER */
.before-after {
  position: relative;
  flex: 1;
  max-width: 500px;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;

  user-select: none;
  -webkit-user-select: none;

  transform: translateZ(0);
  will-change: transform;
}

.before-after img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-after .after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 3;
  cursor: ew-resize;
}

/* LABELY */
.before-after::before {
  content: "PŘED";
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 10;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 12px;
}

.before-after::after {
  content: "PO";
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 12px;
}

.before-after.hide-before::before {
  opacity: 0;
}

.before-after.hide-after::after {
  opacity: 0;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* FORM */
input, textarea {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

/* SCROLL */
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 120px;
}

/* MOBILE */
@media (max-width: 768px) {
  .service {
    flex-direction: column;
  }

  .before-after {
    width: 100%;
    height: 200px;
  }
}

/* GPU FIX */
.before-after,
.before-after img {
  will-change: clip-path, transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.cta-btn {
  margin-top: 20px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  background: #ffffff;
  color: #1C1C1C;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.cta-btn:hover {
  background: #1C1C1C;
  color: #ffffff;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.cta-btn {
  margin-top: 25px;
}

.service-text {
  flex: 1;
  background: #1C1C1C;
  color: white;
  padding: 30px;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flats {
  margin-bottom: 40px;
}

.price {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0;
}

.delivery {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}

.order-btn {
  margin-top: 15px;
  padding: 10px;
  width: 100%;
  background: #1C1C1C;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.order-btn:hover {
  background: #333;
}

/* ===== DARK VARIANTA CENÍKU ===== */

.price-card {
  background: #1C1C1C;
  color: white;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #333;
  transition: 0.2s;
}

.price-card:hover {
  transform: translateY(-3px);
}

/* TEXTY */

.label {
  font-size: 12px;
  color: #AAAAAA;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin: 10px 0;
}

.extra {
  font-size: 14px;
  color: #DDDDDD;
  margin: 5px 0;
}

/* TLAČÍTKO */

.order-btn {
  margin-top: 15px;
  padding: 12px;
  width: 100%;
  background: white;
  color: #1C1C1C;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.order-btn:hover {
  background: #EAEAEA;
}

.extra.empty {
  color: transparent;
}

.about-container {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  max-width: 280px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-image {
    max-width: 100%;
  }
}

.about-text p {
  text-align: justify;
  line-height: 1.6;
}

.about-box {
  background: #1C1C1C;
  color: white;
  padding: 40px;
  border-radius: 12px;
}

.about-box {
  transition: 0.2s;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: #111;
}

.service-text {
  transition: 0.2s;
}

.service-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: #111; /* lehce tmavší */
}

.price-card {
  transition: 0.2s;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: #111;
}

.contact-info {
  display: flex;
  justify-content: center; 
  gap: 200px;               
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-info p {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
  color: #1C1C1C;
  transition: 0.2s;
}

.contact-info p:hover {
  color: #8C8C8C;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-info {
    gap: 20px;
    flex-direction: column;
  }

  .contact-info p {
    font-size: 24px;
  }
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px;
  font-size: 14px;
  resize: vertical;
}

/* NADPISY */
h1, h2, h3 {
  font-weight: 600;
}

/* TEXT */
p {
  font-weight: 400;
  line-height: 1.6;
}

/* MENU */
nav a {
  font-weight: 500;
}

/* FIX pro before/after na mobilu */
@media (max-width: 768px) {
  .before-after {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .before-after img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
  }

  .slider {
    display: none;
  }
}

form {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Poppins', sans-serif;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

button {
  background: #1C1C1C;
  color: white;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #333;
}

.footer {
  background: #1C1C1C;
  color: #CCCCCC;
  padding: 40px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
}

.footer-content p {
  margin: 5px 0;
}

.copyright {
  text-align: center;
  margin-top: 20px;
}

/* FORM DESIGN UPGRADE */

form {
  width: 100%;
  max-width: 1120px;
  margin: 40px auto 0;
  box-sizing: border-box;

  background: #1C1C1C;
  padding: 30px;
  border-radius: 12px;
}

input:focus, textarea:focus {
  outline: none;
  border: 1px solid #1C1C1C;
}

input:hover, textarea:hover {
  border-color: #bbb;
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

button {
  background: white;
  color: #1C1C1C;
  font-weight: 600;
}

button:hover {
  background: #EAEAEA;
  transform: translateY(-2px);
}

input, textarea {
  background: #ffffff;
  color: #1C1C1C;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.single-image,
.before-after {
  flex: 1;
  height: 220px;
}

.single-image img,
.before-after img {
  height: 100%;
}

.service-text {
  flex: 1;
}