/* === Global Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Logo === */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}


/* === Navigation === */
nav {
  background-color: #007bff;
  padding: 15px;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* === Main Container === */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* === Hero Section (Index Page) === */
.hero {
  background: url('../assets/images/hero.jpg') no-repeat center center/cover;
  padding: 100px 20px;
  color: white;
  text-align: center;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}


.btn {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover {
  background-color: #218838;
}

/* === About Page === */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  text-align: center;
}

.about-image {
  max-width: 400px;
  border-radius: 8px;
}

/* === Services / Store Page === */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  padding: 15px;
  width: 260px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.price {
  font-weight: bold;
  color: green;
  margin: 10px 0;
}

/* === Contact Page === */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* === Cart Page === */
.cart-container {
  max-width: 700px;
  margin: auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cart-container h2 {
  margin-bottom: 20px;
  text-align: center;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.cart-item button {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.cart-item button:hover {
  background-color: #c82333;
}

/* === Footer (Optional) === */
footer {
  background-color: #007bff;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* === Responsive Media Queries === */
@media (max-width: 768px) {
  .about-section,
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  nav a {
    display: block;
    margin: 10px 0;
  }

  .btn {
    width: 100%;
  }

  .hero {
    padding: 60px 10px;
  }

  .hero p {
    font-size: 1rem;
  }
}


/* === Index Page Call to Action Section === */
.call-to-action {
  text-align: center;
  padding: 60px 20px;
  background-color: #f1f1f1;
  margin-top: 40px;
}

.call-to-action h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.call-to-action .btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.call-to-action .btn:hover {
  background-color: #0056b3;
}

/* === Services Grid Styling === */
.services {
  padding: 60px 20px;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background-color: #ffffff;
  padding: 20px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.price {
  font-weight: bold;
  color: green;
  margin-bottom: 10px;
}

.service-card .btn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
  border: none;
}

.service-card .btn:hover {
  background-color: #0056b3;
}

/* === Back Button Styling === */
.back-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-block;
  margin: 20px 0;
  background-color: #6c757d;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background-color: #5a6268;
}

