/* fire-alarm-products.css */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #333;
  color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #0a0a23;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.logo img{
  height: 70px;
}

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #f15a22;
}

.product-hero {
  background: url('../images/firealabg.jpg') center/cover no-repeat;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-hero .overlay {
  background: rgba(0, 0, 0, 0.01);
  padding: 40px;
  border-radius: 8px;
  color: white;
}

.product-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.product-hero p {
  font-size: 1.2rem;
  color: #ddd;
}

.product-intro {
  padding: 60px 15%;
  background-color: #fafafa;
  text-align: center;
}

.product-intro h2 {
  font-size: 2rem;
  color: #d92323;
  margin-bottom: 15px;
}

.product-intro p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 10%;
  background: #fff;
}

.product-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-box img {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.product-box h3 {
  color: #d92323;
  margin-bottom: 10px;
}

.product-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.product-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: #d92323;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #b71c1c;
}

@media (max-width: 768px) {
  .product-hero h1 {
    font-size: 2rem;
  }

  .product-intro {
    padding: 40px 10%;
  }

  .product-grid {
    padding: 40px 5%;
  }
}
