/* Fajný 3D tisk – Custom Styles */
:root {
  --main-black: #181818;
  --main-white: #fff;
  --main-orange: #ff7a00;
  --main-brown: #a0522d;
  --main-gray: #f5f5f5;
}

body {
  background: var(--main-gray);
  color: var(--main-black);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

header {
  background: url('./img/gradient-hero.jpg') center center no-repeat #181818;
  background-size: cover;
  color: var(--main-white);
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.hero-logo {
  width: 110px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
  background: #181818;
  border-radius: 100%;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}

header p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  margin-top: 3em;
}

nav a {
  color: #cd133b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  padding: 4px 8px;
}

nav a:hover {
  color: var(--main-white);
  text-decoration: underline;
}

.btn {
  background: #cd133b;
  color: var(--main-white) !important;
  font-weight: 700;
  border: none;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(255,122,0,0.10);
  transition: background 0.2s, color 0.2s;
  margin-top: 1rem;
  display: inline-block;
}

.btn:hover {
  background: #ff7a00;
  color: var(--main-white) !important;
}

.section-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  z-index: 0;
  box-shadow: 1px 4px 50px rgba(0,0,0,0.1);
}

.section-wrapper.orange {
  background: url('./img/gradient-orange.jpg') center/cover no-repeat, linear-gradient(125deg,#e66b3d 0%,#e66b3d 65%,#bc2a2f 100%), #e66b3d;
}

.section-wrapper.white {
  background: #fff;
}

section {
  background: transparent;
  margin: 0 auto;
  padding: 3.5rem 1.2rem;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

section#proc-ja {
  color: var(--main-white);
}

section#materialy {
  color: var(--main-black);
}

section#ukazky {
  color: var(--main-black);
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.features > div {
  flex: 1 1 200px;
  padding: 1.2rem;
  min-width: 200px;
}

.transparent-white-box {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}

.features h3 {
  margin-bottom: 0.8rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  width: 100%;
  row-gap: 1.2rem;
  margin: 2rem 0;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: #eee;
}

form#contact-form {
  background: rgba(255,255,255,0.97);
  padding: 1.5rem 1rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
  max-width: 480px;
  margin: 0 auto 2rem auto;
}

form#contact-form label {
  font-weight: 600;
}

footer {
  background: var(--main-black);
  color: var(--main-white);
  text-align: center;
  padding: 1.5rem 1rem 1.2rem 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .features {
    flex-direction: column;
    gap: 1.1rem;
  }
  .gallery {
    flex-direction: column;
    align-items: center;
  }
  section {
    padding: 2.5rem 1.2rem;
  }
}

body a {
  color: #cd133b;
  text-decoration: underline;
  transition: color 0.2s;
}
body a:hover, body a:focus {
  color: #cd133b;
}

.process-list .fa-solid {
  min-width: 1.8em;
  text-align: center;
  margin-top: 0.15em;
  flex-shrink: 0;
}
.process-list li {
  align-items: center !important;
}

section#materialy dt {
  font-size: 1.15em;
  font-weight: 600;
  margin-top: 1.1em;
}

.text-orange {
  color: var(--main-orange) !important;
}

.text-red {
  color: #cd133b;
}

.text-dark-red {
  color: #b11d1d;
}

.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.gallery-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
}