
/* Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 5px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.modal-product {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-product {
        flex-direction: row;
    }
}

.modal-product-image {
    flex: 1;
    padding: 20px;
}

.modal-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.modal-product-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-product-price {
    font-size: 24px;
    font-weight: 600;
    color: #12263a;
    margin-bottom: 10px;
}

.product-description {
    line-height: 1.6;
    color: #666;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option-group label {
    font-weight: 500;
    color: #333;
}

.option-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 12px;
    background-color: #12263a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #0e1e2f;
}

.book-consultation-btn {
    flex: 1;
    padding: 12px;
    background-color: white;
    color: #12263a;
    border: 1px solid #12263a;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.book-consultation-btn:hover {
    background-color: #f5f5f5;
}

/* Collection Grid Animations */
.product-card {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Button Transition */
.filter-btn {
    transition: all 0.3s ease;
}

/* Product Card Hover Effects */
.product-card:hover .product-image {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.product-image {
    transition: transform 0.5s ease;
}
