/* products-section.css */

/* Core Container */
.nh-products-section {
    padding: 80px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;
}

.nh-products-container {
    max-width: 1290px;
    margin: 0 auto;
}

/* Header & Title Area */
.nh-products-header {
    text-align: center;
    margin-bottom: 50px;
}

.nh-products-badge {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(237, 27, 36, 0.1);
    color: #ED1B24;
    border: 1px solid rgba(237, 27, 36, 0.3);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.nh-products-title {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.35 !important;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    word-wrap: break-word;
}

.nh-products-subtitle {
    font-size: 18px;
    color: #a0a0a0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Buttons */
.nh-products-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.nh-products-filter-btn {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #3a3a3a;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nh-products-filter-btn:hover,
.nh-products-filter-btn.active {
    background-color: #ED1B24;
    border-color: #ED1B24;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(237, 27, 36, 0.4);
}

/* Grid Layout */
.nh-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .nh-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .nh-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .nh-products-section {
        padding: 50px 15px;
    }
    
    .nh-products-header {
        margin-bottom: 30px;
    }
    
    .nh-products-title {
        font-size: 26px !important;
        line-height: 1.4 !important;
        letter-spacing: 1px !important;
        margin-bottom: 15px;
    }
    
    .nh-products-subtitle {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .nh-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nh-products-title {
        font-size: 23px !important;
        line-height: 1.4 !important;
    }
}

/* Product Card */
.nh-products-card {
    background-color: #242424;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nh-products-card:hover {
    transform: translateY(-10px);
    border-color: #ED1B24;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(237, 27, 36, 0.2);
}

/* Image Wrap & Shine Effect */
.nh-products-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background-color: #111;
}

.nh-products-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nh-products-card:hover .nh-products-img {
    transform: scale(1.1);
}

/* Shine Sweep Effect */
.nh-products-image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 2;
}

.nh-products-card:hover .nh-products-image-wrap::before {
    left: 150%;
}

/* Labels */
.nh-products-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ED1B24;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Card Content */
.nh-products-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nh-products-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.nh-products-card-text {
    font-size: 15px;
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Enquire Button */
.nh-products-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ED1B24;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    width: 100%;
}

.nh-products-btn svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.nh-products-btn:hover {
    background-color: #c9141e;
    box-shadow: 0 5px 15px rgba(237, 27, 36, 0.4);
    color: #ffffff;
}

.nh-products-btn:hover svg {
    transform: translateY(-2px);
}

/* Bottom CTA Strip */
.nh-products-cta-strip {
    margin-top: 60px;
    background: linear-gradient(135deg, #242424 0%, #1a1a1a 100%);
    border: 1px solid #333;
    border-top: 3px solid #ED1B24;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nh-products-cta-content h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 10px;
    margin-top: 0;
}

.nh-products-cta-content p {
    color: #a0a0a0;
    font-size: 16px;
    margin: 0;
}

.nh-products-cta-actions {
    display: flex;
    gap: 15px;
}

.nh-products-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nh-products-cta-btn.primary {
    background-color: #ED1B24;
    color: #ffffff;
}

.nh-products-cta-btn.primary:hover {
    background-color: #c9141e;
    box-shadow: 0 4px 15px rgba(237, 27, 36, 0.4);
    color: #ffffff;
}

.nh-products-cta-btn.secondary {
    background-color: #25D366;
    color: #ffffff;
}

.nh-products-cta-btn.secondary:hover {
    background-color: #1da851;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.nh-products-cta-btn svg {
    margin-right: 8px;
}

@media (max-width: 767px) {
    .nh-products-cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .nh-products-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .nh-products-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
.nh-products-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.nh-products-animate.nh-products-visible {
    opacity: 1;
    transform: translateY(0);
}

.nh-products-card.nh-products-hidden {
    display: none;
}
