/* Manufacturing Page Styles */

/* Global Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #333;
}

/* Section 1 - Banner */
.manufacturing-banner {
  height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../images/manufacturing/banner-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.banner-content h1 {
  font-size: 4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-content p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Section 2 - Process Flow */
.process-flow {
  padding: 80px 0;
  background: #f8f9fa;
}

.flow-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.flow-step {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flow-step:hover {
  transform: translateY(-5px);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #00539B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1);
}

.flow-step h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.flow-step p {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
}



/* Section 3 - Equipment Showcase */
.equipment-showcase {
  padding: 80px 0;
  background: white;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.equipment-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.equipment-card:hover {
  transform: translateY(-5px);
}

.equipment-image {
  height: 250px;
  overflow: hidden;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.1);
}

.equipment-content {
  padding: 25px;
}

.equipment-content h3 {
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.equipment-content p {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
}

/* Section 4 - Media Gallery */
.media-gallery {
  padding: 80px 0;
  background: #f8f9fa;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 20px;
}

.tab-btn {
  padding: 12px 30px;
  border: 2px solid #00539B;
  background: transparent;
  color: #00539B;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.tab-btn.active,
.tab-btn:hover {
  background: #00539B;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Video Grid */
.video-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60vw;
  margin: 0 auto;
}

.video-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
}

.video-thumbnail iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: none;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 83, 155, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: rgba(0, 83, 155, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon::before {
  content: "▶";
  color: white;
  font-size: 1.5rem;
  margin-left: 3px;
}

.video-item h4 {
  padding: 20px 20px 10px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #333;
}

.video-item p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #333;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.photo-item {
  position: relative;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
  transform: translateY(0);
}

.photo-overlay h4 {
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin: 0;
  color: #333;
}

/* Section 5 - Call to Action */
.manufacturing-cta {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('../images/manufacturing/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #00539B;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #003d7a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 83, 155, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 2.5rem;
  }
  
  .banner-content p {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .flow-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  
  .video-grid {
    width: 90vw;
  }
  
  .photo-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .manufacturing-banner {
    height: 400px;
  }
  
  .banner-content h1 {
    font-size: 2rem;
  }
  
  .banner-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .flow-step {
    min-width: 100%;
  }
  
  .equipment-content,
  .video-item h4,
  .video-item p {
    padding: 15px;
  }
}
