/* Thermonic Website - Products Page CSS Styles
   This stylesheet contains styles specific to the products page
*/

/* Products Header Section */
.products-header-section {
    padding: 120px 0 60px;
    background-color: #f1faee;
    text-align: center;
}

.products-header-content h2 {
    color: white!important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Products Filter */
.product-filter {
    margin-bottom: 40px;
}

.product-filter .nav-link {
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 30px;
    color: #1d3557;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-filter .nav-link:hover,
.product-filter .nav-link.active {
    background-color: #3c5f8e;
    color: #fff;
}

/* Category Title */
.category-title {
    color: #1d3557;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3c5f8e;
    display: inline-block;
    position: relative;
}

.category-divider {
    margin: 30px 0;
    border-color: #dee2e6;
}

/* Product Box */
.product-box {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-box:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
}

.product-content h4 {
    margin-bottom: 10px;
    color: #1d3557;
}

.product-details-btn {
    margin-top: 10px;
}

/* Product Modal */
#productDetailsModal .modal-content {
    border-radius: 5px;
    overflow: hidden;
}

#productDetailsModal .modal-header {
    background-color: #1d3557;
    color: #fff;
    border-bottom: none;
}

#productDetailsModal .modal-title {
    color: #fff;
}

#productDetailsModal .close {
    color: #fff;
    opacity: 1;
}

#modal-product-name {
    color: #1d3557;
    margin-bottom: 15px;
}

#modal-product-specifications {
    margin-top: 20px;
}

#modal-product-specifications ul {
    padding-left: 20px;
}

#modal-product-specifications li {
    margin-bottom: 5px;
}

/* Media Queries */
@media (max-width: 1199.98px) {
    .products-header-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .products-header-content h1 {
        font-size: 2.2rem;
    }
    
    .products-header-section {
        padding: 100px 0 50px;
    }
    
    .product-filter .nav-link {
        padding: 8px 15px;
        margin: 0 3px;
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .products-header-content h1 {
        font-size: 2rem;
    }
    
    .products-header-section {
        padding: 80px 0 40px;
    }
    
    .product-filter {
        flex-wrap: wrap;
    }
    
    .product-filter .nav-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .products-header-content h1 {
        font-size: 1.8rem;
    }
    
    .products-header-section {
        padding: 70px 0 30px;
    }
}

.custom-contact-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-header {
    padding: 0px!important;
    position: relative;
    height: 320px;
}

.card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-header .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    color: #fff;
    text-align: center;
    padding: 20px;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.brand-name span {
    color: #ff9800;
}

.phone {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
}

.support-text {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

.btn-contact {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #ff9800;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #e68900;
}

.card-body {
    padding: 15px;
    text-align: center;
}

.btn-download {
    display: inline-block;
    padding: 10px 18px;
    background: #2196f3;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    transition: background 0.3s;
}

.btn-download:hover {
    background: #1976d2;
}

.follow-title {
    font-weight: bold;
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin: 5px;
    font-size: 18px;
    color: #444;
    background: #f0f0f0;
    padding: 14px;
    border-radius: 100%;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    padding-top: 12px;
}

.social-icons a:hover {
    background: #2196f3;
    color: #fff;
}

.img-wrapper {
    width: 100%;
    text-align: center; /* center align */
}

.product-img {
    width: 100%;       /* hamesha full width */
    height: auto;      /* proportion maintain */
    object-fit: contain;
    animation: zoomFade 1.5s ease-in-out;
    transition: transform 0.4s ease-in-out;
}

.product-img:hover {
    transform: scale(1.05); /* hover pe halka zoom */
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sidebar card */
/* Tabs Container */
.product-tabs {
    padding: 15px 0;
    text-align: center;   /* tabs center align */
    box-shadow: none;     /* shadow nikadi jay */
    background: transparent; /* white bg hatai gay */
}

/* Tabs Title */
.product-tabs .tabs-list {
    display: flex;
    flex-wrap: wrap;          /* allow wrapping to next line */
    justify-content: center;  /* center the row */
    gap: 15px;
}

.product-tabs .tabs-list::-webkit-scrollbar {
    height: 6px;  /* slim scrollbar */
}
.product-tabs .tabs-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 50px;
}

/* Tab Items */
.product-tabs .tab-item {
    width: 30%;               /* fixed width so 3 per row (with small gap) */
    max-width: 250px;         /* optional: prevent extra wide tabs */
    min-width: 200px;         /* optional: keep minimum size consistent */
    box-sizing: border-box;
    text-align: center;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    word-wrap: break-word;    /* wraps long words */
    white-space: normal;      /* allows text to go to next line */
    overflow-wrap: break-word;/* ensures text breaks instead of expanding */
    transition: background 0.3s;
}

/* Hover Effect */
.product-tabs .tab-item:hover {
    background: #e9ecef;
    color: #000;
}

/* Active Tab */
.product-tabs .tab-item.active {
    background: #3c5f8e;
    color: #fff;
    font-weight: 600;
    border-color: #3c5f8e;
}

.accordion-button{
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.7;
}

.feature-extra-images .feature_row{
    overflow-y: auto;
    height: 310px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-extra-images .col-md-4{
    padding-top: 19px;
    padding-bottom: 10px;
}

