:root {
  --main-red: #e53935;
  --main-black: #222;
  --main-grey: #f5f5f5;
}
body {
  font-family: "Roboto", sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
  color: var(--main-black);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 40px 20px;
}
header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.logo {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--main-red);
}
.subtitle {
  align-self: flex-end;
  font-size: 1.2rem;
  color: var(--main-red);
  font-weight: bold;
  letter-spacing: 1px;
  margin-left: 20px;
  margin-bottom: 5px;
}
@media (max-width: 700px) {
  header {
    display: block;
    margin-bottom: 0;
  }
  .subtitle {
    margin: 0;
  }
}
.main-nav {
  background: #e8e8e8;
  box-shadow: 0 2px 8px rgba(34, 34, 34, 0.07);
  border-radius: 12px;
  margin: 30px 0 30px 0;
  padding: 0 10px;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  display: block;
  padding: 12px 18px;
  font-size: 1.08rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #e53935;
  color: #fff;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.12);
  outline: none;
}
@media (max-width: 850px) {
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    padding: 12px 0;
    text-align: center;
    border-radius: 0;
  }
  .main-nav {
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
}
.desc {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .desc div {
    margin-bottom: 15px;
  }
}
.products {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
.product-card {
  background: #fff;
  border: 2px solid #222;
  flex: 1 1 270px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 10px 0 10px;
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 8px;
}
.product-label {
  font-size: 0.98rem;
  background: #fff;
  border-top: 1px solid #222;
  width: 100%;
  text-align: center;
  padding: 5px 0;
  margin-top: 5px;
}
.row {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}
.row .product-card {
  flex: 1 1 150px;
  min-width: 150px;
  max-width: 200px;
  padding: 10px 5px 0 5px;
}
.row .product-card img {
  height: 60px;
  max-width: 120px;
}
.row .product-label {
  font-size: 0.93rem;
}
.row1 {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}
.row1 .product-card {
  flex: 0 0 auto;
  padding: 10px 25px 0 25px;
}
.row1 .product-card img {
  height: 180px;
}
.row1 .product-label {
  font-size: 0.93rem;
}
.info-section {
  margin: 30px 0 0 0;
  border: 2px solid #222;
  background: #fff;
  padding: 15px 18px;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
}
.info-section .section-title {
  color: var(--main-red);
  font-weight: bold;
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: block;
}
.info-section .section-title.red-bg {
  background: var(--main-red);
  color: #fff;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 10px;
}
.info-section .info-row-flex {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 10px;
}
.info-section .info-row-flex .info-img {
  width: 200px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #ccc;
  margin-right: 10px;
}
.info-section .info-row {
  width: 100%;
  margin-top: 10px;
}
.info-section .info-row .info-img {
  display: block;
  margin: 10px auto 10px auto;
  object-fit: contain;
  width: 100%;
  max-width: 600px;
}
.copyright-bar {
  width: 100%;
  background: #222;
  color: #fff;
  text-align: center;
  padding: 7px 0 6px 0;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  margin-top: 40px;
  position: relative;
  left: 0;
  bottom: 0;
}
.contact-section {
  max-width: 500px;
  margin: 60px auto 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(34, 34, 34, 0.08);
  padding: 36px 28px 32px 28px;
}
.contact-section h1 {
  font-size: 2rem;
  color: #e53935;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: 1px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label {
  font-weight: bold;
  color: #222;
  font-size: 1.08rem;
  margin-bottom: 2px;
}
.contact-info {
  color: #444;
  font-size: 1.05rem;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}
.gallery-section {
  max-width: 1100px;
  margin: 10px auto 0 auto;
  padding: 0 20px;
}
.gallery-section h1 {
  text-align: center;
  color: #e53935;
  font-size: 2rem;
  margin-bottom: 32px;
  letter-spacing: 1px;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
}
.gallery-grid img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(34, 34, 34, 0.1);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.18);
}
/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.85);
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
}
.lightbox.active {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  z-index: 1001;
  transition: color 0.2s;
  user-select: none;
}
.lightbox-close:hover {
  color: #e53935;
}
@media (max-width: 700px) {
  .gallery-grid {
    gap: 10px;
    justify-content: center;
  }
  .gallery-grid img {
    width: 100%;
    min-width: 120px;
    min-height: 80px;
  }
  .lightbox-close {
    top: 16px;
    right: 20px;
    font-size: 2rem;
  }
}
@media (max-width: 900px) {
  .products,
  .row,
  .row1,
  .info-section .info-row-flex {
    flex-direction: column;
    gap: 12px;
  }
  .product-card,
  .row .product-card {
    max-width: 100%;
    min-width: 0;
  }
  .info-section .info-img {
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 10px 2vw;
  }
  .contact-section {
    padding: 22px 8vw 18px 8vw;
  }
  .contact-section h1 {
    font-size: 1.4rem;
  }
}
