/*============================
  MERGED FILE: main.css + styles2.css
  Source: BootstrapMade + Custom Enhancements
=============================*/

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: #444444;
}

/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #15213f;
  --accent-color: #07a6ad;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: #ffffff;
  --nav-hover-color: #1acc8d;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: #1acc8d;
}

/* Factory Card Items */
.factory-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.factory-item .card1,
.factory-item .card2,
.factory-item .card3 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.4s;
  text-align: center;
  padding: 20px;
  background-image: linear-gradient(120deg, #7c2be8 0%, #02c2cd 100%);
  width: 100%;
  height: 200px;
  z-index: 1;
}

.factory-item .card1::before,
.factory-item .card2::before,
.factory-item .card3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: -1;
}

.factory-item .card1::before {
  background-image: url("../img/factory/factory-1.png");
}
.factory-item .card2::before {
  background-image: url("../img/factory/factory-2.png");
}
.factory-item .card3::before {
  background-image: url("../img/factory/factory-3.png");
}

.factory-item .card1 h5,
.factory-item .card2 h5,
.factory-item .card3 h5 {
  transition: opacity 0.4s ease-in-out;
  color: white;
}

.factory-item:hover .card1 h5,
.factory-item:hover .card2 h5,
.factory-item:hover .card3 h5 {
  opacity: 0;
}

.factory-item:hover .card1::before,
.factory-item:hover .card2::before,
.factory-item:hover .card3::before {
  opacity: 1;
}

/* Section Hook */
.section-hook {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  background-color: #f8f9fa;
  padding: 20px 0;
}
.section-hook h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  text-align: center;
}
.section-hook p {
  font-size: 1.2rem;
  color: #666;
  text-align: start;
  margin-top: 10px;
  margin-left: 70px;
}
.section-hook img {
  width: 80%;
  height: auto;
  margin-top: 20px;
}

/* Feature Cards Interaction */
.feature-card:hover {
  cursor: pointer;
}
.feature-description {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.feature-description.show {
  display: block;
  max-height: 100px;
}

/* Button Factory */
.btn-factory {
  display: inline-block;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  background-image: linear-gradient(120deg, #02c2cd 0%, #7c2be8 100%);
  padding: 10px 20px;
  text-align: center;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .factory-item .card1,
  .factory-item .card2,
  .factory-item .card3 {
    height: 150px;
  }
  .factory-item .card1 h5,
  .factory-item .card2 h5,
  .factory-item .card3 h5 {
    font-size: 1rem;
  }
  .section-hook {
    flex-direction: column;
    text-align: center;
  }
  .section-hook p {
    margin-left: 0;
    font-size: 1rem;
    margin: 20px auto;
  }
  .section-hook img {
    width: 60%;
    margin: 20px auto;
  }
  .btn-factory {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .factory-item .card1,
  .factory-item .card2,
  .factory-item .card3 {
    height: 120px;
  }
  .factory-item .card1 h5,
  .factory-item .card2 h5,
  .factory-item .card3 h5 {
    font-size: 1.2rem;
    font-weight: bolder;
  }
}
