/* Modern Specifications Modal Styles */
#specificationsModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(8px);
}

#specificationsModal .modal-content {
    background: #75717126;
    margin: 3% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.modal-header .close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.modal-header .close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

/* Modern Specifications List */
.specifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.spec-label {
    font-size: 1.2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* Product Description Section */
.product-description {
    /* margin-top: 30px; */
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.product-description h4 {
    font-size: 1.4rem;
    color: #dad0d0;
    margin-bottom: 15px;
}

.product-description p {
    color: #b2acace8;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Contact Section */
.specs-contact {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f6f9fc 0%, #f1f4f8 100%);
    border-radius: 15px;
    text-align: center;
}

.specs-contact h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.specs-contact p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn.phone {
    background: #28a745;
    color: white;
}

.contact-btn.email {
    background: #007bff;
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Category Icons */
.category-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #667eea;
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    #specificationsModal .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 20px;
    }

    .specifications-list {
        grid-template-columns: 1fr 1fr;
    }

    .spec-item {
        padding: 15px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}
