/* ================= BROCHURE PAGE STYLES ================= */

/* Add padding to body for fixed header */
body {
  padding-top: 140px;
}

/* Brochure section */
.brochures-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 3rem 2rem;
  margin-top: 0;
}

.brochures-container {
  max-width: 1400px;
  margin: 0 auto;
}

.brochures-container p {
  max-width: 1400px;
  margin: 0 auto;
}

.brochures-section h1 {
  font-size: 2.5rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 800;
}

.brochures-section h3 {
  font-size: 1.5rem;
  color: var(--black);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 1000;
}

.brochures-section > p {
  text-align: center;
  font-size: 10rem;
  font-weight: 1000;
  color: var(--black);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Brochures Grid */
.brochures-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Manufacturer card */
.manufacturer-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #c19636;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*.manufacturer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(193, 150, 54, 0.15);
}*/

/* Manufacturer header */
.manufacturer-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.manufacturer-logo {
  flex-shrink: 0;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 120px;
}

.manufacturer-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: scale-down;
}

.manufacturer-title {
  flex: 1;
}

.manufacturer-title h2 {
  font-size: 1.8rem;
  color: #191919;
  margin: 0 0 0.5rem 0;
  font-weight: 800;
}

.manufacturer-title p {
  color: var(--black);
  margin: 0;
  font-size: 0.95rem;
}

/* Manufacturer images grid */
.manufacturer-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.brochure-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  background: #f5f5f5;
}

.brochure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brochure-image:hover img {
  transform: scale(1.05);
}

/* Manufacturer actions */
.manufacturer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-images {
  background-color: var(--gold);
  color: white;
}

.btn-images:hover {
  background-color: #3a3a3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 25, 25, 0.3);
}

.btn-pdf {
  background-color: var(--black);
  color: white;
}

.btn-pdf:hover {
  background-color: #a17d2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(193, 150, 54, 0.3);
}

.btn-url {
  background-color: var(--gold);
  color: white;
}

.btn-url:hover {
  background-color: #3a3a3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 25, 25, 0.3);
}

.btn-pdf:disabled,
.btn-url:disabled, .btn-images:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Icon styling */
.action-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}




#galleryModal{
 position:fixed;
 top:0;
 left:0;
 width:100%;
 height:100%;
 display:none;
 justify-content:center;
 align-items:center;
 z-index:9999;
}

/* Dark background */

.gallery-overlay{

 position:absolute;
 width:100%;
 height:100%;

 background:rgba(0,0,0,0.75);

}


/* Viewer box */

.gallery-box{

 position:relative;

 width:90%;
 max-width:1000px;

 height:80vh;

 display:flex;
 justify-content:center;
 align-items:center;

}


/* Image */

#galleryMainImage{

 max-width:100%;
 max-height:100%;

 border-radius:10px;

 box-shadow:0 0 20px rgba(0,0,0,.4);

}


/* Close button */

.gallery-close{

 position:absolute;

 top:-40px;
 right:0;

 font-size:26px;

 color:white;

 cursor:pointer;

}


/* Arrows */

.gallery-arrow{

 position:absolute;

 top:50%;

 transform:translateY(-50%);

 font-size:40px;

 border:none;

 background:none;

 color:white;

 cursor:pointer;

 padding:10px;

}


.gallery-arrow.left{
 left:-60px;
}

.gallery-arrow.right{
 right:-60px;
}





/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 110px;
  }

  .brochures-section {
    padding: 2rem 1rem;
  }

  .brochures-section h1 {
    font-size: 2rem;
  }

  .manufacturer-header {
    flex-direction: column;
    text-align: center;
  }

  .manufacturer-logo {
    width: 100%;
    min-width: unset;
  }

  .manufacturer-images {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .manufacturer-actions {
    justify-content: center;
  }

  .action-btn {
    flex: 1;
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .brochures-section h1 {
    font-size: 1.5rem;
  }

  .manufacturer-card {
    padding: 1.5rem;
    border-left-width: 3px;
  }

  .manufacturer-logo {
    height: 100px;
  }

  .manufacturer-title h2 {
    font-size: 1.3rem;
  }

  .manufacturer-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: unset;
  }
}

/* Footer adjustment */
footer {
  margin-top: 3rem;
}
