/* ===== PRODUCTS.CSS ===== /
/ Product Page Specific Styles */

/* Product Hero Section */
.product-hero {
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
url('../img/banners/products.webp') no-repeat center center;
background-size: cover;
height: 500px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
text-align: left;
padding: 120px 1rem 0;
position: relative;
margin-top: 0;
width: 100%;
overflow: hidden;
}

.product-hero h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
}

.product-hero p.lead {
font-size: 1.5rem;
max-width: 800px;
margin: 0 auto 2rem;
}

/* Breadcrumb Styles */
.breadcrumb {
list-style: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
}

.breadcrumb-item {
margin-right: 10px;
}

.breadcrumb-item a {
text-decoration: none;
color: #FFFFFF;
transition: color 0.3s;
}

.breadcrumb-item a:hover ,
.breadcrumb-item a:active {
color: #007bff;
}

.breadcrumb-item.active {
color: #FFFFFF;
}

.breadcrumb-item + .breadcrumb-item::before {
content: '>';
margin: 0 10px;
color: #FFFFFF;
}

/* Product Listing Section */
.product-listing {
padding: 4rem 0 !important;
}

.product-listing .section-title {
position: relative;
padding-bottom: 1rem;
margin-bottom: 3rem;
text-align: center;
}

.product-listing .section-title::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 3px;
background: #007bff;
}

.product-listing .card-common {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.product-listing .img-container {
height: 240px;
display: flex;
align-items: center;
padding: 1rem;
}

.product-listing img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 10px;
transition: transform 0.3s ease;
}

.product-listing .card-body {
display: flex;
flex-direction: column;
flex-grow: 1;
padding: 1.5rem;
}

.product-listing .card-text {
margin-bottom: 1rem;
min-height: 60px;
}

.price {
color: #007bff;
font-size: 1.25rem;
margin: 1rem 0;
font-weight: 600;
}

.cta-button {
margin-top: auto;
width: fit-content;
align-self: center;
}

/* Hover Effects */
.card-common:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
.product-hero {
height: 400px;
padding-top: 100px;
}

.product-hero h1 {
font-size: 2.5rem;
}

.product-hero p.lead {
font-size: 1.1rem;
}

.product-listing .img-container {
height: 180px;
}

.product-listing h2 {
font-size: 1.75rem;
}

.product-listing .card-title {
font-size: 1.2rem;
}

.price {
font-size: 1.1rem;
}
}





/* Product Filter Styles */
.product-filter {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.filter-buttons {
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 0.75rem 2.5rem;
    margin: 0.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.product-item {
    transition: all 0.5s ease;
}

.product-item.hide {
    display: none;
}

/* Enhanced card styles */
.card-common {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card-common:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.img-container {
    height: 280px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 15px 15px 0 0;
}

.img-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card-common:hover .img-container img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
    background: white;
    border-radius: 0 0 15px 15px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.card-text {
    color: #666;
    margin-bottom: 1.5rem;
    min-height: 50px;
}

/* Animation for filtering */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-btn {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
        margin: 0.3rem;
    }

    .img-container {
        height: 220px;
    }
}








/* Product Detail Styles */
.product-detail {
  padding: 4rem 0;
}

.main-image-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-image-container img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 123, 255, 0.1);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #007bff;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.nav-btn:hover {
  background: rgba(0, 123, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.thumbnails-container {
  overflow: hidden;
  width: 100%;
}

.thumbnails {
  display: flex;
  gap: 15px;
  justify-content: center;
  transition: transform 0.3s ease;
}

.thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  cursor: pointer;
  object-fit: contain;
  border: 2px solid #e9ecef;
  padding: 0.5rem;
  background: #fff;
  transition: all 0.3s ease;
}

.thumbnail.active {
  border-color: #007bff;
  transform: scale(1.1);
}

.thumbnail:hover {
  border-color: #007bff;
  transform: scale(1.1);
}

.gallery-nav {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #007bff;
}

.gallery-nav:hover {
  background: #e9ecef;
}

/* Product Info Styles */
.product-info {
  padding: 1rem;
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.price {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: #444;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-image-container {
    max-width: 100%;
  }
  
  .main-image-container img {
    height: 300px;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .product-info h2 {
    font-size: 1.75rem;
  }
}




/* Product Specifications Styles */
.product-specs {
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.specs-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 2rem;
}

.specs-title {
  color: #007bff;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.specs-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #007bff;
}

.specs-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Specs Table Styles */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.specs-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover {
  background-color: #f8f9fa;
}

/* Specs Description Styles */
.specs-description {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  height: fit-content;
}

.specs-description p {
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .specs-content {
    grid-template-columns: 1fr;
  }
  
  .specs-table {
    margin-bottom: 1.5rem;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 0.75rem;
  }
}

















