/* Hero Section Styles */
.page-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px; /* Added spacing below hero section */
}
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.5;
}
.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}
.page-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
}
.breadcrumb {
    background: none;
    margin: 20px 0 0;
    justify-content: center;
}
.breadcrumb-item, .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}
.breadcrumb-item.active {
    color: white;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}
/* Products Section */
.products-section {
    padding: 60px 0;
    position: relative; /* Added to ensure proper stacking */
    z-index: 1; /* Added to ensure it appears above other elements */
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}
.section-title p {
    color: #7f8c8d;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}
/* Filter Bar */
.filter-bar {
    background-color: white;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.filter-options {
    display: flex;
    gap: 15px;
}
.filter-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}
.view-options {
    display: flex;
    gap: 10px;
}
.view-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.view-btn:hover, .view-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}
/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2;
}
.product-carousel {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    transition: 300ms opacity ease-in-out;
    transition-delay: 200ms;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transition-delay: 0ms;
    pointer-events: auto;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #2c3e50;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    opacity: 0; /* Hidden by default */
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.5s ease;
}
.product-carousel:hover .carousel-control {
    opacity: 1;
    background-color: white;
}
.carousel-control.prev {
    left: 10px;
}
.carousel-control.next {
    right: 10px;
}
.product-info {
    padding: 25px;
}
.product-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #2c3e50;
}
.product-specs {
    margin-bottom: 20px;
}
.product-specs p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #7f8c8d;
}
.product-specs strong {
    color: #2c3e50;
}
.specifications {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.specifications h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}
.specifications p {
    font-size: 14px;
    line-height: 1.5;
    color: #7f8c8d;
}
.btn-contact {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}
.btn-contact:hover {
    background-color: #2980b9;
    color: white;
}
/* No Products Message */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.no-products i {
    font-size: 64px;
    color: #7f8c8d;
    margin-bottom: 20px;
}
.no-products h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}
.no-products p {
    color: #7f8c8d;
    margin-bottom: 25px;
}
/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}
.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}
.cta-description {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.9;
}
.btn-cta {
    background-color: white;
    color: #3498db;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #3498db;
}
/* Responsive */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}
