/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #0f1c3f;
  color: white;
}

header .logo {
  font-size: 2em;
  font-weight: bold;
}

.logo {
    margin-bottom: 1rem;
}

.logo img{
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}



header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  transition: 0.3s;
}

header nav ul li a:hover, .active {
  background: #ff6b6b;
  border-radius: 5px;
}

/* Categories */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px;
  justify-content: center;
}

.category {
  background: #ffe6e6;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 150px;
  cursor: pointer;
  transition: transform 0.3s;
}

.category:hover {
  transform: translateY(-5px);
  background: #ffcccc;
}

/* Products */
.products {
  padding: 30px;
  text-align: center;
}

.products h2 {
  margin-bottom: 20px;
  color: #0f1c3f;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  width: 220px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
}

.product-card .offer {
  position: absolute;
  top: 10px;
  left: 10px;
  background: green;
  color: white;
  padding: 5px;
  font-size: 0.8em;
  border-radius: 5px;
}

.product-card h3 {
  margin: 10px 0 5px;
  font-size: 1em;
}

.product-card p {
  font-size: 0.9em;
  color: #555;
}

.product-card .price {
  font-weight: bold;
  margin-top: 5px;
}

/* Repair Form */
.repair-booking {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
}

.repair-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.repair-form input, .repair-form textarea, .repair-form select {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.repair-form button {
  padding: 12px;
  border: none;
  background: #ff6b6b;
  color: white;
  font-size: 1em;
  cursor: pointer;
  border-radius: 8px;
}

.repair-form button:hover {
  background: #ff4757;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #0f1c3f;
  color: white;
  margin-top: 50px;
}
