/* Products Page Specific Styles */

/* Products Hero Section */
.products-hero-section {
    position: relative;
    overflow: hidden;
}

.products-hero-image {
    position: relative;
    width: 100%;
    z-index: 1;
}

.products-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.products-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.products-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
}

.products-hero-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

/* Products Section */
.products-section {
    background-color: #ffffff;
    padding: 80px 0 0 0;
}

/* Category Tabs */
.products-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.products-tabs {
    background-color: rgba(222, 53, 69, 0.12);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    width: auto;
    min-width: min-content;
}

.products-tab {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    color: #292929;
    background-color: transparent;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.products-tab.active {
    background-color: #DE3545;
    color: #ffffff;
}

.products-tab:hover:not(.active) {
    background-color: rgba(222, 53, 69, 0.2);
}

/* Product Cards */
.product-card {
    background-color: #FAFBFE;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    color: #292929;
    margin-bottom: 12px;
}

.product-description {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    color: #292929;
    opacity: 0.8;
    margin-bottom: 0;
    flex-grow: 1;
}

/* CTA Section */
.products-cta-section {
    padding: 100px 0;
}

.products-cta-card {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../Assets/Handhsake.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 60px;
    position: relative;
}

.products-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.products-cta-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}

.products-cta-description {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #ffffff;
    opacity: 0.8;
    margin: 0;
    max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .products-hero-title {
        font-size: 42px;
    }

    .products-cta-title {
        font-size: 36px;
        line-height: 48px;
    }
}

@media (max-width: 991px) {
    .products-hero-section {
        height: 350px;
    }

    .products-hero-title {
        font-size: 36px;
    }

    .products-section {
        padding: 60px 0 0 0;
    }

    .products-cta-section {
        padding: 80px 0;
    }

    .products-cta-title {
        font-size: 32px;
        line-height: 42px;
        white-space: normal;
    }

    .product-description,
    .products-cta-description {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 767px) {
    .products-hero-section {
        height: auto;
    }

    .products-hero-image {
        position: relative;
        top: 0;
        height: auto;
    }

    .products-hero-image img {
        height: 400px;
        object-fit: cover;
    }

    .products-hero-title {
        font-size: 32px;
    }

    .products-section {
        padding: 40px 0 0 0;
    }

    .products-tabs-wrapper {
        margin-bottom: 40px;
        scrollbar-width: thin;
        scrollbar-color: rgba(222, 53, 69, 0.3) transparent;
        justify-content: flex-start;
    }

    .products-tabs-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .products-tabs-wrapper::-webkit-scrollbar-track {
        background: transparent;
    }

    .products-tabs-wrapper::-webkit-scrollbar-thumb {
        background-color: rgba(222, 53, 69, 0.3);
        border-radius: 3px;
    }

    .products-tabs {
        margin: 0 auto;
    }

    .products-tab {
        font-size: 20px;
        padding: 12px;
        flex-shrink: 0;
    }

    .product-card {
        padding: 16px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-description {
        font-size: 16px;
        line-height: 24px;
    }

    .products-cta-section {
        padding: 60px 0;
    }

    .products-cta-card {
        padding: 40px 20px;
    }

    .products-cta-content {
        gap: 30px;
    }

    .products-cta-title {
        font-size: 28px;
        line-height: 36px;
    }

    .products-cta-description {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 575px) {
    .products-hero-section {
        height: 250px;
    }

    .products-hero-title {
        font-size: 28px;
    }

    .product-title {
        font-size: 18px;
    }

    .product-description {
        font-size: 14px;
        line-height: 22px;
    }

    .products-cta-title {
        font-size: 24px;
        line-height: 32px;
    }

    .products-cta-description {
        font-size: 14px;
        line-height: 22px;
    }
}

/* Smooth transitions */
.product-card,
.products-tab {
    transition: all 0.3s ease;
}
