/* ============ App component (nav + footer) ============ */
body { margin: 0; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  padding: 0.75rem 1.5rem;
}
.nav.nav--open { background: rgba(0, 0, 0, 0.92); }
.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav .nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.nav .nav-link {
  position: relative;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}
.nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  background-color: #fbbf24;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav .nav-link:hover { color: #fbbf24; }
.nav .nav-link:hover::after { transform: scaleX(1); }
.nav .nav-link.active { color: #fbbf24; font-weight: 600; }
.nav .nav-link.active::after { transform: scaleX(1); }

.site-footer {
  position: relative;
  overflow: hidden;
  color: #5a3e1b;
  padding: 4rem 3rem 2rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/FooterImg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.25) saturate(1.3) brightness(1.02);
  z-index: -1;
}
.site-footer .container { position: relative; padding: 1rem 1.5rem; }
.site-footer .footer-heading {
  color: #8a5a0f;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}
.site-footer .footer-contact { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-contact li { margin-bottom: 0.75rem; color: #5a3e1b; }
.site-footer .footer-contact li i { color: #b8860b; margin-right: 0.5rem; }
.site-footer .footer-contact a {
  color: #5a3e1b;
  text-decoration: none;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  transition: color 0.2s ease, text-shadow 0.2s ease, background-color 0.2s ease;
}
.site-footer .footer-contact a:hover {
  background-color: rgba(255, 200, 60, 0.35);
  text-shadow: 0 0 8px rgba(255, 200, 60, 0.6);
}
.copy-email-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 0.4rem;
  color: #b8860b;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  transition: color 0.2s ease;
}
.copy-email-btn:hover { color: #8a5a0f; }
.copy-email-btn .copy-tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #5a3e1b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  white-space: nowrap;
  pointer-events: none;
}
.copy-email-btn .copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #5a3e1b;
}
.site-footer .footer-social { display: flex; gap: 1rem; }
.site-footer .footer-social a {
  color: #8a5a0f;
  font-size: 1.4rem;
  padding: 0.4rem;
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease, background-color 0.2s ease;
}
.site-footer .footer-social a:hover {
  color: #5a3e1b;
  background-color: rgba(255, 200, 60, 0.35);
  text-shadow: 0 0 10px rgba(255, 200, 60, 0.7);
}
.site-footer .footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.site-footer .footer-logo-col--left { align-items: flex-start; }
.site-footer .footer-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
}
.site-footer .footer-logo {
  margin-top: 0;
  margin-left: auto;
  max-height: 260px;
  width: auto;
  border-radius: 0.5rem;
}
.site-footer .footer-logo--left { margin-left: 0; margin-right: auto; }
.site-footer .footer-divider { border-color: rgba(90, 62, 27, 0.25); margin: 2rem 0 1rem; }
.site-footer .footer-copy {
  text-align: center;
  margin-bottom: 0;
  color: #5a3e1b;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============ Home component ============ */
.jumbotron {
  position: relative;
  min-height: 110vh;
  padding: 6rem 3rem 4rem;
  border-radius: 0;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  text-align: left;
  overflow: hidden;
}
.jumbotron .jumbotron-mid-content { width: 50%; }
.jumbotron-mid-content { color: #f5f5f5; }
.jumbotron-mid-content .display-4,
.jumbotron-mid-content .display-5 {
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.7);
}
.jumbotron-mid-content .display-5 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.jumbotron-mid-content .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fbbf24;
  text-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.6);
  margin-bottom: 1.25rem;
}
.jumbotron-mid-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e8e8e8;
  text-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.65);
  max-width: 60ch;
}
.jumbotron-mid-content hr {
  width: 4rem;
  height: 3px;
  margin: 1.5rem 0;
  border: none;
  border-radius: 2px;
  background-color: #fbbf24;
  opacity: 1;
}
.jumbotron .jumbotron-mid-image {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.jumbotron .jumbotron-mid-image img {
  flex: 1;
  width: 50%;
  max-height: 80vh;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
}
.jumbotron .jumbotron-mid-image img:nth-child(1) { transform: translateY(-2rem); }
.jumbotron .jumbotron-mid-image img:nth-child(2) { transform: translateY(2rem); }
.jumbotron::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('img/HomeTitle.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: -1;
}

.jumbotron-mid {
  position: relative;
  min-height: 110vh;
  padding: 4rem 3rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  overflow: hidden;
}
.jumbotron-mid .jumbotron-mid-content { width: 50%; }
.jumbotron-mid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/HomeMid.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: blur(8px);
  transform: scale(1.1);
  z-index: -1;
}
.jumbotron-mid#buy { flex-direction: column; align-items: flex-start; justify-content: center; }
.jumbotron-mid#buy::before { background-image: url('img/Equipments.jpg'); }
.jumbotron-mid .equipment-tiles {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0;
}
.jumbotron-mid .equipment-tile {
  flex: 1;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: transparent;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jumbotron-mid .equipment-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
}
.jumbotron-mid .equipment-tile:nth-child(odd) { transform: translateY(-1.5rem); }
.jumbotron-mid .equipment-tile:nth-child(even) { transform: translateY(1.5rem); }
.jumbotron-mid .equipment-tile:hover {
  transform: translateY(0) scale(1.04);
  box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.55);
}
.jumbotron-mid .equipment-contact-link {
  align-self: center;
  margin-top: 3rem;
  color: #5eead4;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}
.jumbotron-mid .equipment-contact-link:hover { color: #fbbf24; }

.jumbotron-bottom {
  min-height: 110vh;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('img/HomeAboutUs.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.jumbotron-bottom .gallery-heading {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.6);
  position: relative;
}
.jumbotron-bottom .gallery-heading::after {
  content: '';
  display: block;
  width: 5rem;
  height: 3px;
  margin: 1rem auto 0;
  background-color: #fbbf24;
  border-radius: 2px;
}
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}
.photo-gallery .gallery-item {
  position: relative;
  flex: 0 0 calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background-color: transparent;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border-radius: 0.5rem;
}
.photo-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.photo-gallery .gallery-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 0.75rem 0.85rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.7);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.photo-gallery .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.photo-gallery .gallery-overlay i {
  color: #fff;
  font-size: 3rem;
  filter: drop-shadow(0 0.25rem 0.5rem rgba(0, 0, 0, 0.6));
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.photo-gallery .gallery-overlay .gallery-label {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.6);
}
.photo-gallery .gallery-item:hover img { transform: scale(1.05); }
.photo-gallery .gallery-item:hover .gallery-title { opacity: 0; }
.photo-gallery .gallery-item:hover .gallery-overlay { opacity: 1; }
.photo-gallery .gallery-item:hover .gallery-overlay i { transform: scale(1); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.9);
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 80vw;
  max-height: 85vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6);
}
.lightbox-counter { margin-top: 1rem; color: #fff; font-size: 1rem; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lightbox-close:hover { color: #5eead4; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.lightbox-nav.lightbox-prev { left: 2rem; }
.lightbox-nav.lightbox-next { right: 2rem; }
.lightbox-nav:hover { background: rgba(94, 234, 212, 0.4); }

/* ============ Responsive: tablets ============ */
@media (max-width: 992px) {
  .jumbotron,
  .jumbotron-mid {
    flex-direction: column;
    min-height: auto;
    padding: 5rem 1.5rem 3rem;
    gap: 2rem;
    text-align: center;
  }
  .jumbotron .jumbotron-mid-content,
  .jumbotron .jumbotron-mid-image,
  .jumbotron-mid .jumbotron-mid-content,
  .jumbotron-mid .jumbotron-mid-image { width: 100%; }
  .jumbotron-mid-content p { max-width: none; margin-left: auto; margin-right: auto; }
  .jumbotron-mid-content hr { margin-left: auto; margin-right: auto; }
  .jumbotron .jumbotron-mid-image { justify-content: center; }
  .jumbotron .jumbotron-mid-image img { max-height: 60vh; object-fit: contain; }
  .jumbotron .jumbotron-mid-image img:nth-child(1),
  .jumbotron .jumbotron-mid-image img:nth-child(2) { transform: none; }
  .photo-gallery .gallery-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

/* ============ Responsive: phones ============ */
@media (max-width: 768px) {
  .nav { padding: 0.6rem 1rem; gap: 0; }
  .nav .nav-toggle { display: inline-flex; align-items: center; }
  .nav .nav-links {
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  .nav.nav--open .nav-links {
    max-height: 70vh;
    opacity: 1;
    margin-top: 0.5rem;
  }
  .nav .nav-links .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
  }
  .nav .nav-links .nav-link::after { left: 0.25rem; right: auto; width: 2.5rem; }

  .site-footer { padding: 2.5rem 1.25rem 1.5rem; }
  .site-footer .container { padding: 0.5rem; }
  .site-footer .footer-logo-col,
  .site-footer .footer-logo-col--left { align-items: center; margin-bottom: 1rem; }
  .site-footer .footer-social-row { flex-direction: column; align-items: center; gap: 1.25rem; }
  .site-footer .footer-logo,
  .site-footer .footer-logo--left { margin: 0 auto; max-height: 180px; }
  .site-footer .footer-contact li { font-size: 0.9rem; }
}

@media (max-width: 576px) {
  .jumbotron,
  .jumbotron-mid { padding: 4.5rem 1rem 2.5rem; }
  .jumbotron .display-4 { font-size: 2rem; }
  .jumbotron-mid .display-5 { font-size: 1.6rem; }
  .jumbotron .jumbotron-mid-image { flex-direction: column; gap: 1rem; }
  .jumbotron .jumbotron-mid-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .jumbotron-mid .equipment-tiles { flex-wrap: wrap; gap: 1rem; }
  .jumbotron-mid .equipment-tile {
    flex: 0 0 calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }
  .jumbotron-mid .equipment-tile:nth-child(odd),
  .jumbotron-mid .equipment-tile:nth-child(even) { transform: none; }
  .jumbotron-mid .equipment-contact-link { margin-top: 2rem; font-size: 1rem; }

  .jumbotron-bottom { padding: 3.5rem 1rem; }
  .jumbotron-bottom .gallery-heading { font-size: 1.8rem; margin-bottom: 1.75rem; }
  .photo-gallery { gap: 1rem; }
  .photo-gallery .gallery-item { flex: 0 0 100%; max-width: 100%; }

  .lightbox-overlay { padding: 1rem; gap: 0.5rem; }
  .lightbox-content { max-width: 92vw; }
  .lightbox-close { top: 0.75rem; right: 1rem; font-size: 2rem; }
  .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.4rem; }
  .lightbox-nav.lightbox-prev { left: 0.5rem; }
  .lightbox-nav.lightbox-next { right: 0.5rem; }
}
