
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  color: #333;
  line-height: 1.6;
}


header,
footer {
  background-color: #00796b;
  color: #fff;
  text-align: center;
  padding: 1.5em 1em;
}
nav {
  background-color: #004d40;
  padding: 1em;
  text-align: center;
}
nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  color: #ffeb3b;
}

main {
  padding: 2em;
  max-width: 1000px;
  margin: auto;
}

.service {
  background: white;
  padding: 1.5em;
  border-radius: 12px;
  margin-bottom: 1.5em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.service:hover {
  transform: translateY(-5px);
}
.service h2 {
  color: #00796b;
}


button {
  background-color: #00796b;
  color: white;
  border: none;
  padding: 0.7em 1.2em;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background-color: #004d40;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  background-color: white;
}
th,
td {
  border: 1px solid #ccc;
  padding: 1em;
  text-align: center;
}
th {
  background-color: #00796b;
  color: white;
}


input,
textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* تجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
  nav a {
    display: block;
    margin: 0.5em 0;
  }
}

nav {
  background-color: #004d40;
  padding: 1em;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5em;
  color: white;
  display: none;
  cursor: pointer;
}

.menu a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
  padding: 0.5em 0;
  font-weight: bold;
}

.menu span {
  color: #ffeb3b;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 1em;
  }

  .menu a {
    display: block;
    margin: 0.5em 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu.show {
    display: block;
  }
}

.section > .card{
  height: 75vh;
  padding: 4.5em;
}

.hero {
  background: url('../images/car-wash-banner.jpg') center/cover no-repeat;
  color: black;
  padding: 100px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}
.section h2 {
  color: #00796b;
  margin-bottom: 1em;
  text-align: center;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.feature {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
  flex: 1 1 250px;
  text-align: center;
}
.feature img {
  width: 100px;
  height: 100px;
  margin-bottom: 1em;
}
.call-to-action {
  text-align: center;
  margin-top: 40px;
}
.call-to-action a {
  background: #00796b;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
}
.call-to-action a:hover {
  background: #004d40;
}
.testimonials {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.testimonial {
  background: #fff;
  padding: 20px;
  flex: 1 1 280px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.testimonial p {
  font-style: italic;
  color: #444;
}
.testimonial strong {
  display: block;
  margin-top: 10px;
  color: #00796b;
}

.about-section {
  max-width: 900px;
  margin: 2em auto;
  padding: 2em;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
}
.about-section h2 {
  text-align: center;
  color: #00796b;
  margin-bottom: 1em;
}
.about-section p {
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2em;
}
.about-section ul {
  padding-left: 1.2em;
  color: #444;
}
.about-section li {
  margin-bottom: 0.5em;
}

.sidebar {
  width: 220px;
  background-color: rgb(120, 186, 169);
  color: white;
  padding: 1em;
  height: 100vh;
  position: absolute;
}

.sidebar h2 {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 1em;
}

.sidebar a {
  display: block;
  padding: 0.75em;
  margin-bottom: 0.5em;
  text-decoration: none;
  color: white;
  border-radius: 5px;
}

.sidebar a.active,
.sidebar a:hover {
  background-color: #00796b;
}

.main-content {
  flex: 1;
  padding: 2em;
  background-color: #f5f5f5;
}

.card {
  background: #fff;
  padding: 1.5em;
  margin-bottom: 2em;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.flex-grid .card {
  flex: 1;
  min-width: 280px;
}

canvas {
  background: #fff;
  border-radius: 8px;
  margin-top: 1em;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  margin-right: 10px;
}


.review-box {
  background: #fff;
  padding: 1.5em;
  margin-bottom: 1.5em;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.review-box h3 {
  margin-bottom: 0.3em;
  color: #00796b;
}
.rating {
  color: #ffa000;
  font-weight: bold;
}
.comment {
  font-style: italic;
  color: #333;
}
.meta {
  color: #666;
  font-size: 0.9em;
}
.back-btn {
  display: inline-block;
  margin-bottom: 1.5em;
  padding: 0.5em 1em;
  background: #00796b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.back-btn:hover {
  background: #004d40;
}