* {
  font-family: "Source Sans Pro", Arial, sans-serif;
}

/* Hero-Service */

.hero-brands {
  background: url("/assets/img/reparation.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #033632;

  min-height: 500px; 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  position: relative;
}

/* .hero-brands::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
} */

/* .hero-brands img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 */
.hero-overlay {
  position: relative;
  background-color: rgba(4, 97, 95, 0.8);
  padding: 1.5rem;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  max-width: 90%;
  color: #f69a4f;
}

.hero-overlay p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #f4f6f9;

}

/* Brand Selection */

.brand-section {
  background-color: #f4f6f9;
  padding: 3rem 1rem;
  text-align: center;
}

.brand-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.brand-box {
  position: relative;
  width: 180px;
  height: 120px;
  border: 2px solid #04615f;
  border-radius: 12px;
  color: #033632;
  background-color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  line-height: 120px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.brand-box::after {
  content: "Se udvalget";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(246, 154, 79, 0.9); /* Slightly transparent orange */
  color: #030202;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.brand-box:hover::after {
  transform: translateY(0);
}

.brand-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Larger screens */
@media screen and (min-width: 768px) {
  
}