/* Products Page Styles */
.products-header {
  background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
  color: white;
  padding: 120px 0 80px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.products-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(39, 174, 96, 0.9);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.header-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.header-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.header-image:hover img {
  transform: scale(1.05);
}

.header-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.header-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-content .section-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.products-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  flex: 1;
  min-width: 120px;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-item i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.95);
}

.stat-item .number {
  display: block;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: white;
}

.stat-item .label {
  font-size: 0.9rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

/* باقي ال CSS كما هو */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 60px 0 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #666;
}

.filter-btn:hover {
  border-color: #27ae60;
  color: #27ae60;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #27ae60;
  border-color: #27ae60;
  color: white;
}

.all-products {
  padding: 60px 0 100px;
  background: #f8f9fa;
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
}

.product-category {
  display: none;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.product-category.active {
  display: block;
}

.category-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 40px;
  align-items: start;
}

.category-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-image:hover img {
  transform: scale(1.05);
}

.category-info h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.category-description {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.category-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  font-size: 1rem;
}

.feature i {
  color: #27ae60;
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.availability-table {
  margin: 40px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.availability-summary {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

.summary-item {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.summary-item strong {
  color: #2c3e50;
  min-width: 160px;
  display: inline-block;
}

.summary-note {
  margin-top: 15px;
  color: #666;
  font-style: italic;
  font-size: 0.95rem;
}

.table-container {
  overflow-x: auto;
}

.availability-calendar {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

.availability-calendar th {
  background: #f8f9fa;
  color: #2c3e50;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

.week-headers th {
  background: #e9ecef;
  font-size: 0.85rem;
  padding: 10px 6px;
}

.availability-calendar td {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

.product-name {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  text-align: left;
  padding-left: 15px !important;
  min-width: 180px;
}

.products-cta {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-btn.primary {
  background: #27ae60;
  color: white;
}

.cta-btn.primary:hover {
  background: #219a52;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.secondary:hover {
  background: white;
  color: #2c3e50;
  transform: translateY(-2px);
}


@media (max-width: 1024px) {
  .header-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .header-text-content {
    text-align: center;
  }

  .header-image img {
    height: 300px;
  }

  .category-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .category-image img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .products-header {
    padding: 100px 0 60px;
  }

  .header-content h2 {
    font-size: 2.2rem;
    justify-content: center;
  }

  .header-image img {
    height: 250px;
  }

  .header-content .section-description {
    font-size: 1.1rem;
  }

  .products-stats {
    gap: 20px;
  }

  .stat-item {
    padding: 15px;
    min-width: 100px;
  }

  .stat-item i {
    font-size: 2rem;
  }

  .stat-item .number {
    font-size: 1.8rem;
  }

  .category-header {
    padding: 30px 20px;
  }

  .category-info h2 {
    font-size: 2rem;
  }

  .availability-table {
    margin: 20px;
    padding: 15px;
  }

  .summary-item {
    font-size: 1rem;
  }

  .summary-item strong {
    min-width: 140px;
  }

  .availability-calendar {
    min-width: 800px;
  }

  table {
    font-size: 0.9rem;
  }

  thead th,
  tbody td {
    padding: 10px 8px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 250px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .products-header {
    padding: 80px 0 40px;
  }

  .header-content h2 {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 10px;
  }

  .header-image img {
    height: 200px;
  }

  .header-content .section-description {
    font-size: 1rem;
  }

  .products-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .products-filter {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .category-info h2 {
    font-size: 1.8rem;
  }

  .category-description {
    font-size: 1rem;
  }

  table {
    font-size: 0.8rem;
  }

  thead th,
  tbody td {
    padding: 8px 6px;
  }
}
