
:root {
  --brand: #6a00f4;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fafafa;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* CARD */
.service-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 20px 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 90px;
  height: 90px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

/* Hover Animation */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(106, 0, 244, 0.2);
}

.service-card:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.service-info {
  position: absolute;
  inset: 0;
  background: rgba(106, 0, 244, 0.95);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.35s ease;
}

.service-card:hover .service-info {
  opacity: 1;
  transform: translateY(0);
}

.service-info h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.service-info p {
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
  text-align: center;
  max-width: 90%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* Subcategory  */

:root {
  --brand: #6a00f4;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fafafa;
}

/* Section heading + paragraph */
.subcategory-section {
  text-align: center;
  padding: 50px 20px;
}
.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}
.section-text {
  font-size: 16px;
  color: #444;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* GRID - always 4 cards per row on desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* CARD */
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 25px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

/* Hover */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(106, 0, 244, 0.2);
}
.service-card:hover h3 {
  color: var(--brand);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
  .section-heading {
  font-size: 20px;
}
}

/* detling this  */

:root {
  --brand: #6a00f4;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.subcategory-detail {
  padding: 60px 20px;
  background: #fafafa;
}

.detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.detail-info {
  text-align: left;
}

.detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

/* Star Rating */
.star-rating {
  margin: 10px 0 20px;
  font-size: 18px;
  color: #f5b50a; /* gold */
  display: flex;
  align-items: center;
  gap: 6px;
}
.rating-text {
  font-size: 14px;
  color: #555;
}

/* Description */
.detail-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Service Meta Box */
.detail-meta {
  background: #f7f8fc;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.detail-meta p {
  font-size: 15px;
  margin: 6px 0;
  color: #333;
}
.detail-meta strong {
  color: var(--brand);
}

/* Action Buttons */
.detail-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Wishlist */
.btn-wishlist {
  background: #fff;
  border: 1px solid #ddd;
  color: #555;
}
.btn-wishlist i {
  color: #555;
}
.btn-wishlist.active {
  background: #ffe6ea;
  border-color: #e63946;
  color: #e63946;
}
.btn-wishlist.active i {
  color: #e63946;
}

/* Cart */
.btn-cart {
  background: #e6f0ff;
  color: #1d4ed8;
  position: relative;
}
.btn-cart:hover {
  background: #1d4ed8;
  color: #fff;
}
.cart-count {
  background: #e63946;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 8px;
}

/* Share */
.btn-share {
  background: #f3f3f3;
  color: #333;
}
.btn-share:hover {
  background: #333;
  color: #fff;
}

/* Book Now (centered) */
.book-section {
  display: flex;
  justify-content: center;
}
.btn-book {
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.btn-book:hover {
  background: #4a00c9;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .detail-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .detail-actions {
    justify-content: center;
  }
  .book-section {
    justify-content: center;
  }
}

.share-modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
.share-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
}
.share-modal-content h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--brand);
}
.share-icons {
  display: flex;
  justify-content: space-around;
}
.share-icons a {
  font-size: 28px;
  color: #555;
  transition: color 0.3s ease;
}
.share-icons a:hover {
  color: var(--brand);
}
.close-btn {
  float: right;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}
