/* Home Page Specific Styles - Optimized */

/* General Styles */
.title-block h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 15px;
}

.title-block p {
    margin-top: -20px;
    font-weight: 400;
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Title Block */
@media (max-width: 768px) {
    .title-block h2 {
        font-size: 1.8rem;
    }
    
    .title-block p {
        font-size: 0.9rem;
    }
}

/* Product Card Styles */
.product-miniature.item-one {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-miniature .thumbnail-container {
    position: relative;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.product-miniature img.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-miniature .zoom-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-miniature .thumbnail-container:hover .zoom-icon {
    opacity: 1;
}

.product-miniature .thumbnail-container:hover img {
    transform: scale(1.05);
}

.product-miniature .product-description {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-miniature .product-title {
    margin-bottom: 10px;
    flex: 1;
}

.product-miniature .product-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.product-miniature .product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-miniature .category-badge {
    background: #6c757d;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.product-miniature .category-badge:hover {
    background: #5a6c7d;
}

/* Blog Card Styles */
.blog-item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-image-wrapper:hover img {
    transform: scale(1.05);
}

.blog-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.blog-image-wrapper:hover .blog-overlay {
    transform: translateY(0);
}

.blog-content {
    padding: 25px;
    flex: 1;
}

.blog-title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #1abc9c;
}

.blog-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-read-more {
    color: #1abc9c;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #16a085;
    gap: 8px;
}

.view-all-link {
    margin-top: 40px;
    text-align: center;
}

.view-all-button {
    background: #2c3e50;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.view-all-button:hover {
    background: #1abc9c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Category Tabs */
.nav-tabs li {
    margin: 0 10px;
}

.nav-tabs a {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.nav-tabs a.active {
    background: #2c3e50;
    color: #fff;
}

.nav-tabs a:hover:not(.active) {
    background: rgba(44, 62, 80, 0.1);
}

/* Whatsapp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.whatsapp-button i {
    font-size: 35px;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 30px;
    }
}

/* Sections Styling */
.section {
    margin-bottom: 60px;
}

#wrapper-site {
    margin-top: 100px;
}

.section.product-living-room, 
.container-fluid.bg-white {
    background: #fff;
    padding: 60px 0;
    margin: 0;
}

.section.best-sellers {
    margin-bottom: 0;
}

.container-fluid.bg-grey {
    background: #f8f9fa;
    padding: 80px 0;
}

/* No Products Message */
.no-products-message {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
