* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background-color: #f5f5f5;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
}

.contact-info i {
  margin-right: 5px;
}

.top-links a {
  color: #333;
  text-decoration: none;
  margin-left: 20px;
}

.top-links a:hover {
  color: #2563eb;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo h1 {
  color: #2563eb;
  font-size: 24px;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: #2563eb;
}

/* Active Navigation Link */
.nav a.active {
  color: #2563eb;
  font-weight: 600;
  border-bottom: 2px solid #2563eb;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 156px;
  padding: 8px 40px 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
}

.search-box input:focus {
  border-color: #2563eb;
}

.search-box i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.header-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-icons i {
  font-size: 20px;
  color: #4b5563;
  cursor: pointer;
}

.header-icons i:hover {
  color: #2563eb;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
  color: white;
  padding: 64px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 24px;
  color: #d1d5db;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #db2777;
  color: white;
  font-size: 16px;
}

.btn-primary:hover {
  background-color: #be185d;
}

.btn-secondary {
  background-color: white;
  color: #333;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.btn-service {
  background-color: #2563eb;
  color: white;
  width: 100%;
  padding: 24px;
  font-size: 16px;
}

.btn-service:hover {
  background-color: #1d4ed8;
}

.btn-view-more {
  background-color: #2563eb;
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
}

.btn-view-more:hover {
  background-color: #1d4ed8;
}

.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                  url("Photos/comp.avif");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 80px 0;
    color: white;
    position: relative;
    min-height: 60vh;
}


/* Categories */
.categories {
  padding: 48px 0;
  background-color: #f9fafb;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.category-item {
  text-align: center;
}

.category-icon {
  width: 64px;
  height: 64px;
  background-color: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.category-icon i {
  font-size: 32px;
  color: #2563eb;
}

.category-item h3 {
  font-weight: 600;
}

/* Services */
.services {
  padding: 32px 0;
}

.service-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

/* Products Section */
.products-section {
  padding: 48px 0;
}

.products-section.gray-bg {
  background-color: #f9fafb;
}

.products-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.section-header h2 {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  font-weight: 600;
  margin-bottom: 8px;
}

.product-info p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.rating i {
  color: #fbbf24;
  font-size: 14px;
}

.rating span {
  color: #6b7280;
  font-size: 14px;
  margin-left: 4px;
}

.price-display {
  text-align: center;
  padding: 8px 0;
}

.price {
  font-size: 24px;
  font-weight: bold;
  color: #2563eb;
}

/* Horizontal Scrolling Sections */
.section-header-with-scroll {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.scroll-controls {
  display: flex;
  gap: 8px;
}

.scroll-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #d1d5db;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background-color: #2563eb;
  color: white;
  border-color: #2563eb;
}

.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.scroll-btn:disabled:hover {
  background-color: white;
  color: #6b7280;
  border-color: #d1d5db;
}

.product-scroll-container {
  overflow-x: hidden;
  position: relative;
}

.product-grid-horizontal {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease;
  min-width: max-content;
}

.product-grid-horizontal .product-card {
  flex: 0 0 300px;
  width: 300px;
}

/* Brands */
.brands {
  padding: 48px 0;
}

.brands h2 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 32px;
}

.brand-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.brand-item {
  font-size: 24px;
  font-weight: bold;
  color: #6b7280;
}

/* Promotions */
.promotions {
  padding: 48px 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.promo-card {
  padding: 32px;
  border-radius: 8px;
  color: white;
}

.red-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #db2777 100%);
}

.purple-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
}

.promo-card h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}

.promo-card p {
  margin-bottom: 16px;
}

/* Footer */
.footer {
  background-color: #374151;
  color: white;
  padding: 48px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 16px;
  font-weight: bold;
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  margin-top: 32px;
  padding-top: 32px;
  text-align: center;
  color: #9ca3af;
}

/* Page Header */
.page-header {
  background-color: #f9fafb;
  padding: 32px 0;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Filter Section */
.filter-section {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-weight: 500;
  color: #4b5563;
}

.filter-select {
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: white;
  color: #4b5563;
  font-size: 14px;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-content {
    flex-direction: column;
    gap: 16px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .search-box input {
    width: 200px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-info span {
    margin: 0 10px;
  }

  .section-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .section-header-with-scroll {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .product-grid-horizontal .product-card {
    flex: 0 0 280px;
    width: 280px;
  }
}

.brands {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.brands h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 150px;
    text-align: center;
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: scale(1.05);
}

.brand-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.brand-card p {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    margin: 0;
}


@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .service-buttons {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 20px;
  }

  .product-grid-horizontal .product-card {
    flex: 0 0 250px;
    width: 250px;
  }
}

/* Responsive Filters */
@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-group {
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }
}
